Ticket #71 (closed task: fixed)
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
