- Mar 7, 2019
- 1,439
- 1,249
those are paths on the github actions runner that built the binaries/home/runner/ and /opt/hostedtoolcache/ do not exist
looks like your database is corrupted, not sure if anything can be done to recover it, never had such a situation with sqlite$ ./F95Checker
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/cx_Freeze/initscripts/__startup__.py", line 138, in run
File "/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/cx_Freeze/initscripts/console.py", line 17, in run
File "/home/runner/work/F95Checker/F95Checker/main.py", line 95, in <module>
File "/home/runner/work/F95Checker/F95Checker/main.py", line 42, in main
File "/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/contextlib.py", line 137, in __enter__
File "/home/runner/work/F95Checker/F95Checker/modules/db.py", line 52, in setup
File "/home/runner/work/F95Checker/F95Checker/external/async_thread.py", line 37, in wait
File "/home/runner/work/F95Checker/F95Checker/modules/db.py", line 163, in connect
File "/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/aiosqlite/core.py", line 140, in _connect
File "/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/aiosqlite/core.py", line 115, in run
File "/opt/hostedtoolcache/Python/3.12.4/x64/lib/python3.12/site-packages/aiosqlite/core.py", line 392, in connector
sqlite3.OperationalError: unable to open database file
guessing something went wrong replacing the files. what filesystem is that mountpoint? NTFS? and with what parameters is it mounted? what permissions does that directory have?$ ./F95Checker
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = '/mnt/sda2/F95Checker-Linux/F95Checker'
isolated = 0
environment = 0
user site = 1
safe_path = 0
import site = 0
is in build tree = 0
stdlib dir = ''
sys._base_executable = '/mnt/sda2/F95Checker-Linux/F95Checker'
sys.base_prefix = ''
sys.base_exec_prefix = ''
sys.platlibdir = 'lib'
sys.executable = '/mnt/sda2/F95Checker-Linux/F95Checker'
sys.prefix = ''
sys.exec_prefix = ''
sys.path = [
'/mnt/sda2/F95Checker-Linux/lib/library.zip',
'/mnt/sda2/F95Checker-Linux/lib',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007da26ceb0740 (most recent call first):
<no Python frame>
im thinking its an NTFS or similar drive, which doesnt inherently have users and permissions, and no user was specified when mounting so some files are owned by root and some by your user account, and it failed to replace the files owned by root. if this is the case, you should run `id` in terminal, check your user id, and add `uid=1000,gid=1000` (replace 1000 with your user id) parameters to your /etc/fstab for sda2