Sticky does not open anymore
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 273
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with sticky.py around do_activate and common.py in FileHandler.load_notes, where the traceback shows note data is decoded and parsed. Reproduce the launch failure with the affected notes and verify that Sticky opens successfully without the UnicodeDecodeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100