You are not logged in.
I installed griffith from AUR around a year ago, it was working fine. Probably due to python update, it no longer works. In view of the number of applications depending on Python (among all, youtube-dl whose old versions no longer work), it is completely out of question to downgrade dependencies. Would there be any solution?
Here is what happens when I try to launch griffith
griffith
/usr/bin/griffith:27: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
Traceback (most recent call last):
File "/usr/bin/griffith", line 1482, in <module>
griffith = Griffith(home_dir, config)
File "/usr/bin/griffith", line 126, in __init__
filename = os.path.join(self.locations['home'], config.get('file', 'griffith.db', section='database'))
File "/usr/lib/python3.8/posixpath.py", line 90, in join
genericpath._check_arg_types('join', a, *p)
File "/usr/lib/python3.8/genericpath.py", line 152, in _check_arg_types
raise TypeError('%s() argument must be str or bytes, not %r' %
TypeError: join() argument must be str or bytes, not 'NoneTypeLast edited by kde35 (2019-12-22 16:55:39)
Offline
I removed .griffith, restored the backup. I lost the entries made after the last backup, somehow the database file got corrupted, so even with sqlite browser, I can't recover anything. So, the moral of the story is: don't trust database, take backups frequently. Or use mysql with binlog.
Offline