Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
sqlite3 ~/.thunderbird/svyc3qyi.default-release /abook.sqlite .dump > address.sql
Error: unable to open database "/home/tom/.thunderbird/svyc3qyi.default-release": unable to open database file
also tried:
~$ sqlite3 ~/.thunderbird/svyc3qyi.default-release /abook.sqlite-wal .dump > address.sql
Error: unable to open database "/home/tom/.thunderbird/svyc3qyi.default-release": unable to open database file
I had to install sqlite3. After the above attempts I restarted the computer but still got the same results.
sqlite3 ~/.thunderbird/svyc3qyi.default-release /abook.sqlite .dump > address.sql
Error: unable to open database "/home/tom/.thunderbird/svyc3qyi.default-release": unable to open database file
also tried:
~$ sqlite3 ~/.thunderbird/svyc3qyi.default-release /abook.sqlite-wal .dump > address.sql
Error: unable to open database "/home/tom/.thunderbird/svyc3qyi.default-release": unable to open database file
I had to install sqlite3. After the above attempts I restarted the computer but still got the same results.
There is a blank space after svyc3qyi.default-release in the path to abook.sqlite above (i.e. /home/tom/.thunderbird/svyc3qyi.default-release /abook.sqlite).
I don't know if it should exist there, so check carefully if you use the correct path to abook.sqlite.
Also it could be that you don't have permissions to read that file.
What gives:
Code:
ls -l ~/.thunderbird/svyc3qyi.default-release/abook.sqlite
tom@tom-iMac:~$ ls -l ~/.thunderbird/svyc3qyi.default-release/abook.sqlite
-rw-r--r-- 1 tom tom 262144 Dec 23 12:20 /home/tom/.thunderbird/svyc3qyi.default-release/abook.sqlite
tom@tom-iMac:~$ sudo sqlite3 /home/tom/.thunderbird/svyc3qyi.default-release /abook.sqlite .dump > address.sql
Error: unable to open database "/home/tom/.thunderbird/svyc3qyi.default-release": unable to open database file
Check the file address.sql created in the directory from where you ran the sqlite3 command.
Apparently the blank space in the abook.sqlite path is the culprit.
Last edited by bathory; 12-24-2023 at 12:19 PM.
Reason: typo
without space:
tom@tom-iMac:~$ sqlite3 /home/tom/.thunderbird/svyc3qyi.default-release/abook.sqlite .dump > address.sql
Nothing returns
With space:
tom@tom-iMac:~$ sqlite3 /home/tom/.thunderbird/svyc3qyi.default-release/ abook.sqlite .dump > address.sql
Error: unable to open database "/home/tom/.thunderbird/svyc3qyi.default-release/": unable to open database file
Which space? / abook.sqlite or abook.sqlite .dump ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.