sqlite temporary storage path should point to PyBitmessage config directory #1229

Open
opened 2018-05-02 10:04:35 +02:00 by PeterSurda · 2 comments
PeterSurda commented 2018-05-02 10:04:35 +02:00 (Migrated from github.com)

Mentioned in bitmessage chan. Needs to be checked if reproducible. Could be sqlite is createing a temp file in a different directory during VACUUM:

I got the following error while trying to start PyBM


ERROR: The msgpack package is not available.It is highly recommended for messages coding.
ERROR: If your package manager does not have this package, try running "pip install msgpack-python".
Loading config files from same directory as program.
Using default logger configuration
2018-05-02 08:53:07,236 - ERROR - /home/me/.namecoin/namecoin.conf unreadable or missing, Namecoin support deactivated
2018-05-02 08:53:13,627 - CRITICAL - (While VACUUM) Alert: Your disk or data storage volume is full. sqlThread will now exit.


I really had very little free space in / partition
but actually I was running BM in portable mode in the /home partition which had 6 GiB free space.. so it should work..
I have just freed some space in / so I can start PyBM and send this message

Thanks
NourEddineX

Mentioned in bitmessage chan. Needs to be checked if reproducible. Could be sqlite is createing a temp file in a different directory during VACUUM: I got the following error while trying to start PyBM _____________________________ ERROR: The msgpack package is not available.It is highly recommended for messages coding. ERROR: If your package manager does not have this package, try running "pip install msgpack-python". Loading config files from same directory as program. Using default logger configuration 2018-05-02 08:53:07,236 - ERROR - /home/me/.namecoin/namecoin.conf unreadable or missing, Namecoin support deactivated 2018-05-02 08:53:13,627 - CRITICAL - (While VACUUM) Alert: Your disk or data storage volume is full. sqlThread will now exit. ______________________________ I really had very little free space in / partition but actually I was running BM in portable mode in the /home partition which had 6 GiB free space.. so it should work.. I have just freed some space in / so I can start PyBM and send this message Thanks NourEddineX
g1itch commented 2018-05-02 12:23:32 +02:00 (Migrated from github.com)

sqlite uses /tmp for vacuum. I had the same problem on openwrt. Another way is to export SQLITE_TMPDIR (not worked for me) or use PRAGMA:
https://www.sqlite.org/tempfiles.html

sqlite uses `/tmp` for vacuum. I had the same problem on openwrt. Another way is to export `SQLITE_TMPDIR` (not worked for me) or use `PRAGMA`: https://www.sqlite.org/tempfiles.html
navjotcis commented 2020-09-29 17:47:26 +02:00 (Migrated from github.com)

I have tried to reproduce the same issue but I was not able to get any issue even on my system I have 7gb of space is free and I have also tried to find the /tmp directory in my Linux system but I am not able to find out so can anyone let me know the exact case when you are facing the issue.

I have tried to reproduce the same issue but I was not able to get any issue even on my system I have 7gb of space is free and I have also tried to find the` /tmp` directory in my Linux system but I am not able to find out so can anyone let me know the exact case when you are facing the issue.
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Bitmessage/PyBitmessage-2025-02-21#1229
No description provided.