porrey / Virtual-ZPL-Printer

An ethernet based virtual Zebra Label Printer that can be used to test applications that produce bar code labels.
GNU Lesser General Public License v3.0
193 stars 40 forks source link

SQLite Error 10:'disk I/O error' #61

Open IvanYu1 opened 4 months ago

IvanYu1 commented 4 months ago

Hi,

When I'm trying to open the APP, it always pops up an error dialog, saying "SQLite Error 10:'disk I/O error'".

image

Do you have any idea about this issue? After a lot of digging into this issue, I found that the error isn't very descriptive about what the specific issue is.

Please advise how can i determine the issue and resolve that.

OS: Win10

Best Regards.

kylesnyder-stratus commented 3 months ago

Is there a work around for this bug?

porrey commented 3 months ago

I would have to see the logs. Try moving the sql lite file so the app will attempt to recreate it when starting.

kylesnyder-stratus commented 3 months ago

Thanks for the reply.

Are you able to tell me which sql lite file or just all of them? If I search and delete all sqllite files it fails to open.

Where are the logs located and I can look there.

Thanks again for the help.

From: Daniel Porrey @.> Date: Friday, June 21, 2024 at 3:54 PM To: porrey/Virtual-ZPL-Printer @.> Cc: Kyle Snyder @.>, Comment @.> Subject: Re: [porrey/Virtual-ZPL-Printer] SQLite Error 10:'disk I/O error' (Issue #61)

I would have to see the logs. Try moving the sql lite file so the app will attempt to recreate it when starting.

— Reply to this email directly, view it on GitHubhttps://url.avanan.click/v2/___https:/github.com/porrey/Virtual-ZPL-Printer/issues/61%23issuecomment-2183441402___.YXAzOmdvZ3RwOmE6bzo0N2U2MzU2MDljZmI5OTAyODQ5YTgzNTVmNGMyM2RhOTo2OmYxMWM6MzIzMzgxOTJiNDBjYTlmYTcyZjkxMjVkMzE0YmY5N2ViM2FkNmI4YTE4MTk2ZmNjYzllZGM4MjY3OWRkMmUzZjpoOlQ, or unsubscribehttps://url.avanan.click/v2/___https:/github.com/notifications/unsubscribe-auth/BJLXNO23XSRE46ZYEEDST6DZISHBNAVCNFSM6AAAAABIHCANJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBTGQ2DCNBQGI___.YXAzOmdvZ3RwOmE6bzo0N2U2MzU2MDljZmI5OTAyODQ5YTgzNTVmNGMyM2RhOTo2OjViMGQ6YTAxYWIxYWFlZWQzZWMzODUyZGY3NGQ0YzkxNWU5ZWQxNmEwYTk3YWEzOThmNWM3ZWFiMGJhNTk5MDdiY2NiNzpoOlQ. You are receiving this because you commented.Message ID: @.***>

porrey commented 2 months ago

There should only be one SQLite file, so delete (or move) them all.

porrey commented 3 weeks ago

Has this issue been resolved?

dunkziy commented 2 weeks ago

We are having the same issue. (After I was able to get it to work for another user profile)

We were seeing these: image

image

It worked for my account profile.

I copied all the files from my user profile folder 'Virtual ZPL Printer' over to his to see if this helped.

It certainly changed but then we ended up with the same error as the original poster.

The logs are not getting written when he tries to use the program, but logs appear for me when I do.

Happy to help you figure this one out. Let me know what you'd like to do and I'll give it a try.

porrey commented 2 weeks ago

Log fils are written to %USERPROFILE%/Documents/Virtual ZPL Printer/Logs/ by default. You can change this path in appsettings.json.