You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Surely because of the use of signed 32-bit integers.
Use either unsigned 32-bit integers, or (better) 64-bit integers.
 Console output, when I try to continue a file of size 3GB, and I already have downloaded more than 2GB
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
File "nicotine-plus/pynicotine/slskproto.py", line 385, in run
conns, connsinprogress, server_socket = self.process_queue(queue, conns, connsinprogress, server_socket)
File "nicotine-plus/pynicotine/slskproto.py", line 1004, in process_queue
conns[msgObj.conn].obuf = conns[msgObj.conn].obuf + struct.pack("<i", msgObj.offset) + struct.pack("<i", 0)
error: 'i' format requires -2147483648 <= number <= 2147483647
After this error, all other downloads are frozen.
And, I have to
delete temporary downloaded file that make the exception (3GB, downloaded 2GB+)
reload from 0 that 3GB file, hoping it will be all downloaded once. If the download break after 2GB downloaded, it cannot continue because and will be frozen (as at step ), and all other downloads will be frozen too.
The text was updated successfully, but these errors were encountered: