MyGNUHealth does not start
MyGNUHealth application does not start.
- Device: pine64-pinephone
- OS: postmarketOS edge
- Environment: plasma-mobile
- Application: mygnuhealth-0_git20210415-r0
Logs:
h:w$mygnuhealth
Initializing MyGNUHealth version 0.7a12
Directory exists... skipping
Found myGNUHealth configuration file.. skipping
Verifying MyGNUHealth Database.....
DB file not found.
Traceback (most recent call last):
File "/usr/bin/mygnuhealth", line 32, in <module>
main()
File "/usr/lib/python3.9/site-packages/mygnuhealth/mygh.py", line 50, in main
from mygnuhealth.profile_settings import ProfileSettings
File "/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "/usr/lib/python3.9/site-packages/mygnuhealth/profile_settings.py", line 13, in <module>
from mygnuhealth.core import get_personal_key, get_user_profile, \
File "/usr/lib/python3.9/site-packages/shiboken2/files.dir/shibokensupport/__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "/usr/lib/python3.9/site-packages/mygnuhealth/core.py", line 41, in <module>
vardb = TinyDB(varfile, access_mode='r')
File "/usr/lib/python3.9/site-packages/tinydb/database.py", line 159, in __init__
self._storage = storage(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/tinydb/storages.py", line 101, in __init__
self._handle = codecs.open(path, 'r+', encoding=encoding)
File "/usr/lib/python3.9/codecs.py", line 905, in open
file = builtins.open(filename, mode, buffering)
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.9/site-packages/mygnuhealth/data/variants.db'
h:w$