Ticket #71 (closed task: fixed)

Opened 2 years ago

Last modified 2 years ago

RescanShares/RescanBuddyShares fails on my system

Reported by: anonymous Owned by: daelstorm
Priority: major Milestone:
Component: nicotine Version: 1.2.3
Keywords: rescan Cc:

Description

Nicotine+ works fine with my usual downloads directory, but when I try to add another directory it fails with the following error message:

Unhandled exception in thread started by Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/pynicotine/pynicotine.py", line 314, in RescanShares?

files, streams, wordindex, fileindex, mtimes = utils.rescandirs(msg.shared,self.config.sectionstransfers?sharedmtimes?,self.config.sectionstransfers?sharedfiles?,self.config.sectionstransfers?sharedfilesstreams?,msg.yieldfunction)

File "/usr/lib/python2.4/site-packages/pynicotine/utils.py", line 63, in rescandirs

newsharedfilesstreams = getFilesStreams(newmtimes, sharedmtimes, sharedfilesstreams, newsharedfiles,yieldfunction)

File "/usr/lib/python2.4/site-packages/pynicotine/utils.py", line 157, in getFilesStreams

streams[i] = getDirStream(sharedfiles[i])

File "/usr/lib/python2.4/site-packages/pynicotine/utils.py", line 167, in getDirStream

stream = stream + getByteStream(i)

File "/usr/lib/python2.4/site-packages/pynicotine/utils.py", line 173, in getByteStream

stream = chr(1) + self.packObject(fileinfo[0]) + self.packObject(fileinfo[1]) + self.packObject(0)

File "/usr/lib/python2.4/site-packages/pynicotine/slskmessages.py", line 165, in packObject

return struct.pack("<I",object)

OverflowError?: long int too large to convert

Attachments

Change History

Changed 2 years ago by daelstorm

  • status changed from new to assigned

It appears one of your files' filesize is causing the db to break. Do you have any large files in that directory? That'd be my first guess.

Changed 2 years ago by anonymous

I have the same problem. Why can't nicotine handle large files? the official Windows client never had this problem.

Changed 2 years ago by daelstorm

  • status changed from assigned to closed
  • resolution set to fixed

Fixed in r128

Add/Change #71 (RescanShares/RescanBuddyShares fails on my system)

Author



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