Safe unlock ValueError: lxml parsing exception at non ASCII symbols
I've used KeePass and KeePassXC in the past. I'd love to switch over to Password Safe, but unfortunately it doesn't seem to be unlocking my file. After I type in my password, it just shows a loading circle forever. I then tried running it from the console, and I noticed that this error appears immediately when I submit my password:
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/usr/lib/python3.7/threading.py", line 865, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3.7/site-packages/passwordsafe/unlock_database.py", line 254, in password_unlock_process
self.database_manager = DatabaseManager(self.database_filepath, self.password_only)
File "/usr/lib/python3.7/site-packages/passwordsafe/database_manager.py", line 21, in __init__
self.db = PyKeePass(database_path, password, keyfile)
File "/usr/lib/python3.7/site-packages/pykeepass/pykeepass.py", line 25, in __init__
self.kdb = self.read(filename, password, keyfile)
File "/usr/lib/python3.7/site-packages/pykeepass/pykeepass.py", line 38, in read
filename, **credentials
File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/usr/lib/python3.7/site-packages/libkeepass/__init__.py", line 42, in open
kdb = cls(stream, **credentials)
File "/usr/lib/python3.7/site-packages/libkeepass/kdb4.py", line 420, in __init__
KDB4File.__init__(self, stream, **credentials)
File "/usr/lib/python3.7/site-packages/libkeepass/kdb4.py", line 65, in __init__
KDBFile.__init__(self, stream, **credentials)
File "/usr/lib/python3.7/site-packages/libkeepass/common.py", line 149, in __init__
self.read_from(stream)
File "/usr/lib/python3.7/site-packages/libkeepass/kdb4.py", line 426, in read_from
KDBXmlExtension.__init__(self, unprotect)
File "/usr/lib/python3.7/site-packages/libkeepass/kdb4.py", line 313, in __init__
self.unprotect()
File "/usr/lib/python3.7/site-packages/libkeepass/kdb4.py", line 330, in unprotect
elem._setText(unprotected_text)
File "src/lxml/objectify.pyx", line 610, in lxml.objectify.ObjectifiedDataElement._setText
File "src/lxml/public-api.pxi", line 84, in lxml.etree.setNodeText
File "src/lxml/apihelpers.pxi", line 711, in lxml.etree._setNodeText
File "src/lxml/apihelpers.pxi", line 699, in lxml.etree._createTextNode
File "src/lxml/apihelpers.pxi", line 1439, in lxml.etree._utf8
ValueError: All strings must be XML compatible: Unicode or ASCII, no NULL bytes or control characters
Edited by Falk Alexander Seidl