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

Error: [libs/sql-schema-describer/src/sqlite.rs:452:76] get name #6740

Closed
tomhoule opened this issue Apr 23, 2021 · 2 comments
Closed

Error: [libs/sql-schema-describer/src/sqlite.rs:452:76] get name #6740

tomhoule opened this issue Apr 23, 2021 · 2 comments
Assignees
Labels
bug/1-unconfirmed Bug should have enough information for reproduction, but confirmation has not happened yet. kind/bug A reported bug. team/schema Issue for team Schema. topic: error reporting Issues created via Prisma's CLI Crash Reporting topic: introspection
Milestone

Comments

@tomhoule
Copy link
Contributor

tomhoule commented Apr 23, 2021

Command: prisma introspect
Version: 2.20.1
Binary Version: 60ba6551f29b17d7d6ce479e5733c70d9c00860e
Report: https://prisma-errors.netlify.app/report/13207
OS: arm64 darwin 20.2.0

JS Stacktrace:

Error: [libs/sql-schema-describer/src/sqlite.rs:452:76] get name
    at ChildProcess.<anonymous> (/<...>/node_modules/prisma/build/index.js:39909:28)
    at ChildProcess.emit (node:events:378:20)
    at ChildProcess.EventEmitter.emit (node:domain:470:12)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)

Rust Stacktrace:

   0: backtrace::backtrace::trace
   1: backtrace::capture::Backtrace::new
   2: user_facing_errors::Error::new_in_panic_hook
   3: user_facing_errors::panic_hook::set_panic_hook::{{closure}}
   4: std::panicking::rust_panic_with_hook
   5: std::panicking::begin_panic_handler::{{closure}}
   6: std::sys_common::backtrace::__rust_end_short_backtrace
   7: _rust_begin_unwind
   8: core::panicking::panic_fmt
   9: core::option::expect_failed
  10: sql_schema_describer::sqlite::SqlSchemaDescriber::get_table::{{closure}}::{{closure}}
  11: <tracing::instrument::Instrumented<T> as core::future::future::Future>::poll
  12: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  13: <tracing::instrument::Instrumented<T> as core::future::future::Future>::poll
  14: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  15: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  16: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  17: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  18: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
  19: <futures_util::future::future::Then<Fut1,Fut2,F> as core::future::future::Future>::poll
  20: <futures_util::future::either::Either<A,B> as core::future::future::Future>::poll
  21: introspection_engine::main::{{closure}}
  22: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll
  23: introspection_engine::main
  24: std::sys_common::backtrace::__rust_begin_short_backtrace
  25: std::rt::lang_start::{{closure}}
  26: std::rt::lang_start_internal
  27: std::rt::lang_start

@tomhoule tomhoule added bug/1-unconfirmed Bug should have enough information for reproduction, but confirmation has not happened yet. kind/bug A reported bug. process/candidate team/schema Issue for team Schema. labels Apr 23, 2021
@tomhoule
Copy link
Contributor Author

This might already be fixed, because @do4gr fixed an issue about indexes on expressions (rowid), there is no name for a covered column, and we used not to handle that, but now we do.

@janpio janpio added topic: error reporting Issues created via Prisma's CLI Crash Reporting topic: introspection labels Apr 23, 2021
@tomhoule tomhoule added this to the 2.23.0 milestone May 5, 2021
@pimeys pimeys self-assigned this May 11, 2021
@pimeys
Copy link
Contributor

pimeys commented May 11, 2021

Fixed in prisma/prisma-engines@55c200a

@pimeys pimeys closed this as completed May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/1-unconfirmed Bug should have enough information for reproduction, but confirmation has not happened yet. kind/bug A reported bug. team/schema Issue for team Schema. topic: error reporting Issues created via Prisma's CLI Crash Reporting topic: introspection
Projects
None yet
Development

No branches or pull requests

3 participants