Modify

Ticket #808 (new defect)

Opened 6 months ago

Last modified 4 months ago

Nicotine+ 1.2.14 Perpetually "Building DataBase"

Reported by: culmor30@… Owned by: quinox
Priority: normal Milestone: Release 1.2.17
Component: nicotine Version: 1.2.14
Keywords: Building DataBase Cc:

Description

Nothing comes up as shared when I scan my own shares. I don't have a huge library, but something seems to be buggy in Nicotine+. I got this version from the Linux Mint Software center.

I ran the program in terminal, and it seems to be encountering some exception. Here's the terminal output (all of this happened after I clicked "rescan shares."):

cullin@cullin-Studio-XPS-1645 ~ $ nicotine Unhandled exception in thread started by Traceback (most recent call last):

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 55, in RescanShares?

files, streams, wordindex, fileindex, mtimes = self.rescandirs(msg.shared, self.config.sectionstransfers?sharedmtimes?, self.config.sectionstransfers?sharedfiles?, self.config.sectionstransfers?sharedfilesstreams?, msg.yieldfunction, self.np.frame.SharesProgress?, name=_("Shares"), rebuild=rebuild)

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 279, in rescandirs

newsharedfilesstreams = self.getFilesStreams(newmtimes, oldmtimes, sharedfilesstreams, newsharedfiles, yieldfunction)

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 593, in getFilesStreams

streams[directory] = self.getDirStream(newsharedfiles[directory])

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 614, in getDirStream

stream += self.getByteStream(file_and_meta)

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 628, in getByteStream

stream += message.packObject(0) + message.packObject(fileinfo[2][0]) + message.packObject(1) + message.packObject(fileinfo[3]) + message.packObject(2) + message.packObject(fileinfo[2][1])

File "/usr/lib/pymodules/python2.7/pynicotine/slskmessages.py", line 220, in packObject

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

struct.error: 'i' format requires -2147483648 <= number <= 2147483647

Attachments

Change History

comment:1 Changed 6 months ago by anonymous

Thanks, I received a similar stacktrace by PM on SLSK last week. I hope to have some time this weekend to fix it, stay tuned.

comment:2 Changed 5 months ago by anonymous

Same here with nicotine+ 1.2.16:

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

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 56, in RescanShares?

files, streams, wordindex, fileindex, mtimes = self.rescandirs(msg.shared, self.config.sectionstransfers?sharedmtimes?, self.config.sectionstransfers?sharedfiles?, self.config.sectionstransfers?sharedfilesstreams?, msg.yieldfunction, self.np.frame.SharesProgress?, name=_("Shares"), rebuild=rebuild)

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 283, in rescandirs

newsharedfilesstreams = self.getFilesStreams(newmtimes, oldmtimes, sharedfilesstreams, newsharedfiles, yieldfunction)

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 624, in getFilesStreams

streams[directory] = self.getDirStream(newsharedfiles[directory])

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 647, in getDirStream

stream += self.getByteStream(file_and_meta)

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 669, in getByteStream

message.packObject(2) +

File "/usr/lib/pymodules/python2.7/pynicotine/slskmessages.py", line 303, in packObject

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

struct.error: 'I' format requires 0 <= number <= 4294967295

comment:3 Changed 5 months ago by anonymous

same traceback for me as comment 2. i have shared files on an external drive and posted about this problem in 'nicotine-plus. org/ticket/748' in comment 5.

comment:4 Changed 4 months ago by anonymous

Same problem here:

Traceback (most recent call last):

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 56, in RescanShares?

files, streams, wordindex, fileindex, mtimes = self.rescandirs(msg.shared, self.config.sectionstransfers?sharedmtimes?, self.config.sectionstransfers?sharedfiles?, self.config.sectionstransfers?sharedfilesstreams?, msg.yieldfunction, self.np.frame.SharesProgress?, name=_("Shares"), rebuild=rebuild)

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 283, in rescandirs

newsharedfilesstreams = self.getFilesStreams(newmtimes, oldmtimes, sharedfilesstreams, newsharedfiles, yieldfunction)

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 624, in getFilesStreams

streams[directory] = self.getDirStream(newsharedfiles[directory])

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 647, in getDirStream

stream += self.getByteStream(file_and_meta)

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 669, in getByteStream

message.packObject(2) +

File "/usr/lib/pymodules/python2.7/pynicotine/slskmessages.py", line 303, in packObject

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

struct.error: 'I' format requires 0 <= number <= 4294967295 Unhandled exception in thread started by Traceback (most recent call last):

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 67, in RescanBuddyShares?

files, streams, wordindex, fileindex, mtimes = self.rescandirs(msg.shared, self.config.sectionstransfers?bsharedmtimes?, self.config.sectionstransfers?bsharedfiles?, self.config.sectionstransfers?bsharedfilesstreams?, msg.yieldfunction, self.np.frame.BuddySharesProgress?, name=_("Buddy Shares"), rebuild=rebuild)

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 283, in rescandirs

newsharedfilesstreams = self.getFilesStreams(newmtimes, oldmtimes, sharedfilesstreams, newsharedfiles, yieldfunction)

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 624, in getFilesStreams

streams[directory] = self.getDirStream(newsharedfiles[directory])

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 647, in getDirStream

stream += self.getByteStream(file_and_meta)

File "/usr/lib/pymodules/python2.7/pynicotine/shares.py", line 669, in getByteStream

message.packObject(2) +

File "/usr/lib/pymodules/python2.7/pynicotine/slskmessages.py", line 303, in packObject

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

struct.error: 'I' format requires 0 <= number <= 4294967295

comment:5 Changed 4 months ago by anonymous

Could you try SVN? I think I fixed this a few weeks ago

View

Add a comment

Modify Ticket

Action
as new
Author


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

 
Note: See TracTickets for help on using tickets.