linuxmint / linuxmint/sticky

Sticky does not open anymore

Open
#114 4 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.