WTDawson9
WTDawson9
Explore posts from servers
PPrisma
Created by WTDawson9 on 7/30/2024 in #help-and-questions
Getting "internal error: entered unreachable code"
Hello, I currently have a PrismaDB database setup on my Raspberry Pi 4 running the standard Raspbian OS that it comes with, I have my weather station software running in Node.JS (TypeScript) and when it attempts to write to the database it recieves this:
thread 'tokio-runtime-worker' panicked at libs/user-facing-errors/src/quaint.rs:167:18:
internal error: entered unreachable code
[30-07-2024 01:35:49 PM] error:
Invalid `prisma.image.create()` invocation in
/home/william/Desktop/Database/index.ts:143:28

140 const day = _date.getDate();
141
142 try {
→ 143 await prisma.image.create(
internal error: entered unreachable code

This is a non-recoverable error which probably happens when the Prisma Query Engine has a panic.
thread 'tokio-runtime-worker' panicked at libs/user-facing-errors/src/quaint.rs:167:18:
internal error: entered unreachable code
[30-07-2024 01:35:49 PM] error:
Invalid `prisma.image.create()` invocation in
/home/william/Desktop/Database/index.ts:143:28

140 const day = _date.getDate();
141
142 try {
→ 143 await prisma.image.create(
internal error: entered unreachable code

This is a non-recoverable error which probably happens when the Prisma Query Engine has a panic.
And then that big link which takes you off to GitHub (Which by the way, doesn't fill in anything except the title). Luckily I have my data being stored somewhere else as well, but I was planning on moving fully over to the database soon. I have tried restarting my Node.JS instance, I can restart my Raspberry Pi if that would help at all as well. Not a big issue at the moment as like I said, it is being stored somewhere else as well. And I'm assuming ORM is the right tag because I looked it up and it seems to be the Node.JS library.
2 replies
CC#
Created by WTDawson9 on 5/27/2023 in #help
❔ Ookii.Dialogs.Wpf ProgressDialog BackgroundWorker Dispatcher.Invoke not working.
Using Ookii.Dialogs.Wpf's ProgressDialog Full code: (Will post in bits) it's not updating the UI and idk what im doing wrong.
42 replies