Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

progress bar stuck at 100% #454

Closed
hboetes opened this issue Aug 2, 2020 · 1 comment · Fixed by #455
Closed

progress bar stuck at 100% #454

hboetes opened this issue Aug 2, 2020 · 1 comment · Fixed by #455
Labels

Comments

@hboetes
Copy link
Member

hboetes commented Aug 2, 2020

During a rescan of my collection I noticed the progress bar got stuck at 100%, where it would usually disappear, and I found this trace message in the console:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/shelve.py", line 111, in __getitem__
    value = self.cache[key]
KeyError: 'Klassiek\\Jean Sibelius\\Two Serenades for Violin and Orchestra, Op.69'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/pynicotine/gtkgui/frame.py", line 2039, in _RescanFinished
    self.np.shares.sendNumSharedFoldersFiles()
  File "/usr/local/lib/python3.7/site-packages/pynicotine/shares.py", line 105, in sendNumSharedFoldersFiles
    sharedfiles = sum([len(x) for x in list(conf["transfers"][shared_db].values())])
  File "/usr/local/lib/python3.7/_collections_abc.py", line 762, in __iter__
    yield self._mapping[key]
  File "/usr/local/lib/python3.7/shelve.py", line 113, in __getitem__
    f = BytesIO(self.dict[key.encode(self.keyencoding)])
  File "/usr/local/lib/python3.7/shelve.py", line 70, in closed
    raise ValueError('invalid operation on closed shelf')
ValueError: invalid operation on closed shelf

This problem is repeatable. I can't say I see anything odd in that directory.

@hboetes hboetes added the bug label Aug 2, 2020
@mathiascode
Copy link
Member

Thanks, I can reproduce the issue. Doesn't happen consistently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants