-
-
Notifications
You must be signed in to change notification settings - Fork 41
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
SQL Error: database is locked #161
Comments
I believe you are running into a bug in WSL (most probably microsoft/WSL#4689). The code as you posted it works fine, I tested it on Linux natively. I am currently unable to test on Windows, as I only have Windows on a VM that refuses to install WSL (hence the late reply, though I'm trying to fix that). If running the exact same binary with the same input and arguments on Windows directly (without WSL) works, the problem is WSL. If you get the same error in this case, please let me know. Having said that, why are you running this in WSL anyway, I see no Linux specific commands anywhere? Couldn't you just write a Windows batch script to do the same task? Thanks! |
I've had to give up trying to get WSL working on VM, so I can't reproduce your exact problem. I am going to close this issue, as I'm pretty much 100% sure this is not my bug. If you have any reason to believe this problem is indeed in my program and not in Windows (subsystem for Linux) feel free to reopen this. Thanks! |
Hey @bepaald, Sorry I took a minute to respond. I was able to get this to work with WSL. I was just missing an updated version of lsqlite3... A silly mistake on my side. Thank you so much for your assistance though. I have some general questions about how I can compile data a bit more efficiently though:
This will dump out a lot of data into a file. Which by the looks of it is a lot of media/attachements/avatars. What I am trying to do is correspond these items with what I am seeing on the database.sqlite file. Like, How can I correlate "recipient" with their proper avatar? As well as, attachments to proper messages? I have seen that this is possible with the |
Can't say I fully understand, the Windows binary (which according to your script you are using), is a static build, it contains all the required sqlite functions. It can and does run without having sqlite3 installed at all. So i don't know how updating it affects this program at all. But, you got it working, so that's fine.
For avatars: They have a number called "RECIPIENT", this number is visible inside the For attachments: These have two numbers, named "ROWID" and "ATTACHMENTID", again visible in the |
Hello,
I am trying to integrate your
signalbackup-tools.exe
with my current project.I have encountered some issues when using the
-o
argument when running the command in WSL and having it save to a file in my repo.--exporthtml
,--exporttext
both work fine running through WSLI am receiving the following error when using
-o
:This is what my code looks like:
I am running:
WSL Version: Ubuntu-20.04
Nodejs: 18.11.0
The text was updated successfully, but these errors were encountered: