Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

called Option::unwrap() on a None value #23922

Open
teddylimecommerce opened this issue Apr 23, 2024 · 2 comments
Open

called Option::unwrap() on a None value #23922

teddylimecommerce opened this issue Apr 23, 2024 · 2 comments
Labels
bug/0-unknown Bug is new, does not have information for reproduction or reproduction could not be confirmed. kind/bug A reported bug. team/client Issue for team Client. tech/engines/query engine Issue in the Query Engine tech/engines Issue for tech Engines.

Comments

@teddylimecommerce
Copy link

Hi Prisma Team! My Prisma Client just crashed. This is the report:

Versions

Name Version
Node v18.18.2
OS debian-openssl-3.0.x
Prisma Client 4.9.0
Query Engine ceb5c99003b99c9ee2c1d2e618e359c14aef2ea5
Database mysql

Logs

prisma:tryLoadEnv Environment variables loaded from /mnt/data/stagingapi/.env
prisma:tryLoadEnv Environment variables loaded from /mnt/data/stagingapi/.env
prisma:client dirname /mnt/data/stagingapi/node_modules/.prisma/client
prisma:client relativePath ../../../prisma
prisma:client cwd /mnt/data/stagingapi/prisma
prisma:client clientVersion 4.9.0
prisma:client clientEngineType library
prisma:client:libraryEngine internalSetup
prisma:get-platform Command "uname -m" successfully returned "x86_64
"
prisma:get-platform Trying platform-specific paths for "debian" (and "ubuntu")
prisma:get-platform Command "ls /usr/lib/x86_64-linux-gnu | grep libssl.so" successfully returned "libssl.so.3
"
prisma:get-platform Found libssl.so file using platform-specific paths: libssl.so.3

prisma:get-platform The parsed libssl version is: 3.0.x
prisma:get-platform Command "uname -m" successfully returned "x86_64
"
prisma:get-platform Trying platform-specific paths for "debian" (and "ubuntu")
prisma:get-platform Command "ls /usr/lib/x86_64-linux-gnu | grep libssl.so" successfully returned "libssl.so.3
"
prisma:get-platform Found libssl.so file using platform-specific paths: libssl.so.3

prisma:get-platform The parsed libssl version is: 3.0.x
prisma:get-platform Command "uname -m" successfully returned "x86_64
"
prisma:get-platform Trying platform-specific paths for "debian" (and "ubuntu")
prisma:get-platform Command "ls /usr/lib/x86_64-linux-gnu | grep libssl.so" successfully returned "libssl.so.3
"
prisma:get-platform Found libssl.so file using platform-specific paths: libssl.so.3

prisma:get-platform The parsed libssl version is: 3.0.x
prisma:client:libraryEngine:loader Searching for Query Engine Library in /mnt/data/stagingapi/node_modules/.prisma/client
prisma:client:libraryEngine:loader loadEngine using /mnt/data/stagingapi/node_modules/.prisma/client/libquery_engine-debian-openssl-3.0.x.so.node
prisma:client:libraryEngine library starting
prisma:client:libraryEngine library started
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true
prisma:client:libraryEngine sending request, this.libraryStarted: true

Client Snippet

// PLEASE FILL YOUR CODE SNIPPET HERE

Schema

// PLEASE ADD YOUR SCHEMA HERE IF POSSIBLE

Prisma Engine Query

{"X":{}}
@Weakky Weakky added kind/bug A reported bug. team/client Issue for team Client. bug/0-unknown Bug is new, does not have information for reproduction or reproduction could not be confirmed. tech/engines Issue for tech Engines. tech/engines/query engine Issue in the Query Engine labels Apr 24, 2024
@Weakky
Copy link
Member

Weakky commented Apr 24, 2024

Hey @teddylimecommerce,

Would you mind sharing any additional information so that we can reproduce your issue? Your datamodel and some Prisma Client query that reproduces this bug is capital for us to work on the issue.

Thank you! 🙏

@SevInf
Copy link
Contributor

SevInf commented May 3, 2024

Hey @teddylimecommerce ,

Did you get a chance to have a look at my collegues comment? It'd be helpful for us to move your issue forward.

Without further information, we'll have to close this issue. Thank you 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/0-unknown Bug is new, does not have information for reproduction or reproduction could not be confirmed. kind/bug A reported bug. team/client Issue for team Client. tech/engines/query engine Issue in the Query Engine tech/engines Issue for tech Engines.
Projects
None yet
Development

No branches or pull requests

3 participants