Open floxo115 opened 1 year ago
I can't seem to start it as well. For both sticky versions 1.17 and 1.18
Although my error is slightly different than the authors'
I'm using Linux Mint 21.2
The icon shows on the task bar only for an instance and immediately disappears.
Error Message:
<Traceback error, pasted below this one>
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_lib_sticky_sticky.py.1000.crash'
Original exception was:
Traceback (most recent call last):
File "/usr/lib/sticky/sticky.py", line 678, in do_activate
self.file_handler = FileHandler(self.settings, self.dummy_window)
File "/usr/lib/sticky/common.py", line 44, in __init__
self.load_notes()
File "/usr/lib/sticky/common.py", line 52, in load_notes
info = json.loads(file.read())
File "/usr/lib/python3.10/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
It works if I run it as root.
The error message doesn't give away there being a permission issue.
.
.
.
The issue has now magically fixed itself??
I remember downloading the source code, and playing around with it. But I never compiled it.
I only manually deleted the source files from /usr/lib/sticky
. These remained even after I uninstalled sticky.
After reinstalling it I was able to launch sticky manually.
I am having the exact same issue. I have tried un-installing and re-installing to no avail.
It only opens when I run sudo sticky
...
Original exception was: Traceback (most recent call last): File "/usr/lib/sticky/sticky.py", line 678, in do_activate self.file_handler = FileHandler(self.settings, self.dummy_window) File "/usr/lib/sticky/common.py", line 44, in init self.load_notes() File "/usr/lib/sticky/common.py", line 52, in load_notes info = json.loads(file.read()) File "/usr/lib/python3.10/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcc in position 1: invalid continuation byte