Deluge version 0.5
OS Linux 2.6.21.3
distro Debian etch
Python version 2.4.4
With hight rate of share ration (going over, more or less, 8.0) the counter became negative!!
[BUG] Share Ratio goes negative!
-
- Compulsive Poster
- Posts: 1230
- Joined: Thu May 24, 2007 11:27 pm
- Location: Chicago, IL, USA
- Contact:
Re: [BUG] Share Ratio goes negative!
heh, nice. at least it's an easy fix. thanks
Re: [BUG] Share Ratio goes negative!
I hope for u that all fixes will be simple like this! it's a very nice client... but i dont like python
Re: [BUG] Share Ratio goes negative!
this bug has been around for a long timebejelith wrote:Deluge version 0.5
OS Linux 2.6.21.3
distro Debian etch
Python version 2.4.4
With hight rate of share ration (going over, more or less, 8.0) the counter became negative!!
the problem is related to the upload passing the MAX_INT value and wrapping around
we need to fix it, if at all possible...
Former Deluge Developer
-
- Member
- Posts: 44
- Joined: Fri Jun 22, 2007 8:08 pm
Re: [BUG] Share Ratio goes negative!
I don't think anyone cares how many bytes are uploaded or downloaded, so maybe make it based on kilobytes instead. It's either that or use something bigger than an int.
-
- Compulsive Poster
- Posts: 1230
- Joined: Thu May 24, 2007 11:27 pm
- Location: Chicago, IL, USA
- Contact:
Re: [BUG] Share Ratio goes negative!
i think i just fixed this in svn rev 724. give it a shot and let me knoweternalsword wrote:I don't think anyone cares how many bytes are uploaded or downloaded, so maybe make it based on kilobytes instead. It's either that or use something bigger than an int.