Can't get file list and other stuff from remote deluge

General support for problems installing or using Deluge
belegnar
New User
New User
Posts: 9
Joined: Sun Jul 17, 2011 7:46 pm

Re: Can't get file list and other stuff from remote deluge

Post by belegnar »

This code in client.py

Code: Select all

            dobj = zlib.decompressobj()
            try:
                request = rencode.loads(dobj.decompress(data))
            except Exception, e:
                #log.debug("Received possible invalid message (%r): %s", data, e)
raises UnicodeEncodeError

I can't provide full error message because, when uncommented, it puts about 3M of data to the terminal.
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Can't get file list and other stuff from remote deluge

Post by Cas »

That's not enough information, we need to see the actual error not an interpretation. Can you post the 20-30 lines that surround the UnicodeEncodeError.

Just to add, you can redirect console errors to file.
belegnar
New User
New User
Posts: 9
Joined: Sun Jul 17, 2011 7:46 pm

Re: Can't get file list and other stuff from remote deluge

Post by belegnar »

data consits of all torrents available, about 3Mb of data, about two hundreds of torrents. And i can't clarify wich of them brings error.
I just saw the error in pdb. Maybe it is possible to reorganize module logic in a way, when data processed by parts, a part for a torrent, for example.
Post Reply