Custom Query (2447 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (121 - 123 of 2447)

Ticket Resolution Summary Owner Reporter
#618 WorksForMe Share Ratio only keeps track of current session andar eternalorb@gmail.com
Description

The share ratio appears to only keep track of whats been downloaded and uploaded during the current session if the torrent is not currently seeding. If the torrent is seeding, the share ratio behavior seems to work ok, but I have a 500 megabyte torrent that i shared 200 megabytes of (it isnt finished) that claims a share ratio of 3000

#653 WorksForMe Implementing authmanager to classic_mode startup... andar dasnyderx@yahoo.com
Description

After pulling down and building the latest version from svn of deluge, I found that starting the app in classic_mode (without any configuration data present) caused the UI to appear, but not be completely instantiated. I was able to trace the problem down to the connectionmanager class and, more specifically, the get_localhost_auth_uri() method at line 159. The problem appears to be linked to the fact that, if the config-area file, 'auth', hadn't been created, then the get_localhost_auth_uri() will continually loop (which is bad). Therefore, the attached diff seeks to remedy this situation. More specifically, it seeks to take care of the three cases I thought were probable:
1) The 'auth' files doesn't exist and the UI is started in 'classic_mode'.
2) The 'auth' file exists, the UI is started in 'classic_mode', but the 'auth' file doesn't contain the 'localclient' username.
3) The 'auth' file exists, the UI is started in 'classic_mode', and the 'localclient' username exists.

Since the third case is clean sailing, I won't touch on it.

As regards the first case, the modification of the common file method, get_localhost_auth_uri(), sees if the 'auth' file exists, creates it if it doesn't (through a call to the authmanager start() method), and continues on. I also modified the URI string assemblage to make sure that the user is connecting from '127.0.0.1' (just to be on the safe side).

For the second case, I added the check of the returned URI in the connectionmanager so that, if the 'localclient' authorization wasn't found (i.e., the 'auth' file exists, but the username, 'localclient' isn't in it), the UI wouldn't just be left hanging forever (as happened with me) and would notify the user forthwith. Perhaps an exception isn't the best way to handle it (now that I think about it, perhaps an error message and app shutdown would have been better), but (from my standpoint) an exception is always the best way to get me attention. Also, you may want to make the same check within the 'autostart_localhost' block in order to guard against the UI hanging due to a faulty/missing 'auth' file (I didn't do this because it's late, and I'm tired).

BTW, if you should decide to keep the URI check with user notification of the problem (which I think would be good thing), you might want to put something up on the FAQ about how to fix it. That way, if the user should get the error-message, "Could not locate localclient authorization" (or a message like it), they would know how to fix it. Just my .02.

As before, the diff has been made against the latest svn code.

#677 WorksForMe _XCBUnlockDisplay (xcb_get_request_sent) error while creating and adding a torrent andar jd@vauguet.fr
Description

Hi.

Sometimes, not everytime though, while creating a new torrent with the box "Add this torrent to the session", deluge will crash with no output in the deluge.log but the following error in the shell ("a échoué" means "failed"):

jd@plop:~$ deluge 1.1.0-RC1 […creating and adding the torrent…] python2.5: ../../src/xcb_lock.c :33 : _XCBUnlockDisplay: L'assertion « xcb_get_request_sent(dpy->xcb->connection) == dpy->request » a échoué. Abandon jd@plop:~$

Note: See TracQuery for help on using queries.