Ticket #281 (closed task: fixed)
nicotine+ does not index the downloaded files as downloaded
| Reported by: | anonymous | Owned by: | daelstorm |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | nicotine | Version: | SVN |
| Keywords: | Cc: |
Description
When the files are downloaded nicotine+ does not index them as downloaded and they still appear as "transferring". However the files are downloaded correctly.
Here is the output (dunno if the errors have something to do with this bug):
Traceback (most recent call last):
File "/home/syman/nicotine+/pynicotine/gtkgui/frame.py", line 1059, in OnNetworkEvent?
self.np.events[i.class](i)
File "/home/syman/nicotine+/pynicotine/pynicotine.py", line 1262, in FileDownload?
self.transfers.FileDownload?(msg)
File "/home/syman/nicotine+/pynicotine/transfers.py", line 903, in FileDownload?
self.eventprocessor.logMessage(_("Download finished: %(file)s") % {'file':u"%s" % newname})
UnicodeDecodeError?: 'utf8' codec can't decode byte 0xae in position 66: unexpected code byte Traceback (most recent call last):
File "/home/syman/nicotine+/pynicotine/gtkgui/frame.py", line 1059, in OnNetworkEvent?
self.np.events[i.class](i)
File "/home/syman/nicotine+/pynicotine/pynicotine.py", line 1262, in FileDownload?
self.transfers.FileDownload?(msg)
File "/home/syman/nicotine+/pynicotine/transfers.py", line 903, in FileDownload?
self.eventprocessor.logMessage(_("Download finished: %(file)s") % {'file':u"%s" % newname})
UnicodeDecodeError?: 'utf8' codec can't decode byte 0xae in position 66: unexpected code byte Traceback (most recent call last):
File "/home/syman/nicotine+/pynicotine/gtkgui/frame.py", line 1059, in OnNetworkEvent?
self.np.events[i.class](i)
File "/home/syman/nicotine+/pynicotine/pynicotine.py", line 1262, in FileDownload?
self.transfers.FileDownload?(msg)
File "/home/syman/nicotine+/pynicotine/transfers.py", line 903, in FileDownload?
self.eventprocessor.logMessage(_("Download finished: %(file)s") % {'file':u"%s" % newname})
UnicodeDecodeError?: 'utf8' codec can't decode byte 0xae in position 66: unexpected code byte Traceback (most recent call last):
File "/home/syman/nicotine+/pynicotine/gtkgui/frame.py", line 1059, in OnNetworkEvent?
self.np.events[i.class](i)
File "/home/syman/nicotine+/pynicotine/pynicotine.py", line 1262, in FileDownload?
self.transfers.FileDownload?(msg)
File "/home/syman/nicotine+/pynicotine/transfers.py", line 903, in FileDownload?
self.eventprocessor.logMessage(_("Download finished: %(file)s") % {'file':u"%s" % newname})
UnicodeDecodeError?: 'utf8' codec can't decode byte 0xae in position 66: unexpected code byte Traceback (most recent call last):
File "/home/syman/nicotine+/pynicotine/gtkgui/frame.py", line 1059, in OnNetworkEvent?
self.np.events[i.class](i)
File "/home/syman/nicotine+/pynicotine/pynicotine.py", line 1262, in FileDownload?
self.transfers.FileDownload?(msg)
File "/home/syman/nicotine+/pynicotine/transfers.py", line 849, in FileDownload?
i.currentbytes = msg.file.tell()
ValueError?: I/O operation on closed file Traceback (most recent call last):
File "/home/syman/nicotine+/pynicotine/gtkgui/frame.py", line 1059, in OnNetworkEvent?
self.np.events[i.class](i)
File "/home/syman/nicotine+/pynicotine/pynicotine.py", line 1262, in FileDownload?
self.transfers.FileDownload?(msg)
File "/home/syman/nicotine+/pynicotine/transfers.py", line 903, in FileDownload?
self.eventprocessor.logMessage(_("Download finished: %(file)s") % {'file':u"%s" % newname})
UnicodeDecodeError?: 'utf8' codec can't decode byte 0xae in position 66: unexpected code byte Traceback (most recent call last):
File "/home/syman/nicotine+/pynicotine/gtkgui/frame.py", line 1059, in OnNetworkEvent?
self.np.events[i.class](i)
File "/home/syman/nicotine+/pynicotine/pynicotine.py", line 1262, in FileDownload?
self.transfers.FileDownload?(msg)
File "/home/syman/nicotine+/pynicotine/transfers.py", line 903, in FileDownload?
self.eventprocessor.logMessage(_("Download finished: %(file)s") % {'file':u"%s" % newname})
UnicodeDecodeError?: 'utf8' codec can't decode byte 0xae in position 66: unexpected code byte
Attachments
Change History
comment:1 Changed 3 years ago by shapermechanist
I have forgot to wrote my nickname or email. shapermechanist/syman.242@… - nicotine's room in soulseek/email
comment:2 Changed 3 years ago by quinox
- Status changed from new to closed
- Resolution set to fixed
Thanks for the clear bug report!
Fixed in SVN. The problem was caused by a textual problem: there were some bytes in the file name that weren't valid characters. This problem might pop up at different places (I can't sift through the code right now), please file another bug report if you encounter similar problems.

