Ticket #281 (closed task: fixed)

Opened 2 years ago

Last modified 23 months ago

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

Screenshot-Nicotine+ 1.2.10svn.png Download (135.5 KB) - added by syman.242@… 2 years ago.

Change History

Changed 2 years ago by syman.242@…

Changed 2 years ago by shapermechanist

I have forgot to wrote my nickname or email. shapermechanist/syman.242@… - nicotine's room in soulseek/email

Changed 23 months 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.

Add/Change #281 (nicotine+ does not index the downloaded files as downloaded)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.