question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Introspection fails: "This function must not be called on compound database names." (report 1301)

See original GitHub issue

While introspecting with prisma2 (preview20). The error is pretty generic, I don’t know what part of the schema fails.

Schema parsing
thread 'main' panicked at 'This function must not be called on compound database names.', libs/datamodel/core/src/dml/traits.rs:14:13
stack backtrace:
   0: backtrace::backtrace::libunwind::trace
             at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/libunwind.rs:88
   1: backtrace::backtrace::trace_unsynchronized
             at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.40/src/backtrace/mod.rs:66
   2: std::sys_common::backtrace::_print_fmt
             at src/libstd/sys_common/backtrace.rs:77
   3: <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt
             at src/libstd/sys_common/backtrace.rs:61
   4: core::fmt::write
             at src/libcore/fmt/mod.rs:1028
   5: std::io::Write::write_fmt
             at src/libstd/io/mod.rs:1412
   6: std::sys_common::backtrace::_print
             at src/libstd/sys_common/backtrace.rs:65
   7: std::sys_common::backtrace::print
             at src/libstd/sys_common/backtrace.rs:50
   8: std::panicking::default_hook::{{closure}}

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
tontonrallycommented, Mar 11, 2020

@janpio sorry mate, I had no time

In order to inform, I didn’t manage to get things working with the alpha branch, I tried a week ago. But, with the preview023, I manage to do the introspection without errors + generate the client and connect to the db. 👌

Thanks

1reaction
janpiocommented, Jan 22, 2020

Thank you very much for this bug report, I can reproduce the output you posted with the data included in the error report - so we can now look into this.

It’s the first time I see an error message like this, so I will ask my colleagues what is going on here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pylint Documentation - Read the Docs
Pylint is a tool that checks for errors in Python code, tries to enforce a coding standard and looks for code smells. It...
Read more >
samtools-announce Mailing List for SAM tools - SourceForge
HTSlib will complain whenever it has to add one though, as such tags do not conform to recommended practice for the SAM, BAM...
Read more >
251.xml - SAP Community
https://answers.sap.com/questions/12891345/pa20pa30-header-not-displaying-data ... /questions/12897105/crystal-reports-legend-not-displaying-field-name.html ...
Read more >
World Drug Report 2000 - UNODC
The World Drug Report o ffers, as its name implies, a global overview of the dru g issue. It contains information from many...
Read more >
C++ Standard Library Closed Issues List - open-std
This document contains only library issues which have been closed by the Library Working Group as duplicates or not defects. That is, issues...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found