View Single Post
Old 02-15-2015, 07:09 AM   #3726
cryzed
Evangelist
cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.cryzed ought to be getting tired of karma fortunes by now.
 
cryzed's Avatar
 
Posts: 408
Karma: 1050547
Join Date: Mar 2011
Device: Kindle Oasis 2
Thanks for the hotkey tip, I suppose that is what I will be doing. Regarding the traceback: I didn't have the error myself, but I am almost entirely sure it happens in line 218 in fanficdownloader.geturls, when calling get_urls_from_text and then finally in line 125 where you use unicode(). I remember seeing "UnicodeDecodeError 0x4e is not a valid continuation byte" or some such (I gave support to someone via TeamViewer) -- clear signs that the encoding didn't match (UTF-8). According to the docs get_payload returns:

Quote:
[...] If some other encoding is used, or Content-Transfer-Encoding header is missing, or if the payload has bogus base64 data, the payload is returned as-is (undecoded).
So that might be what's happening. The e-mail that caused the error for my friend was an official (german) email by Google IIRC. But yeah, let's wait for more complete tracebacks (and possibly entire e-mails) for better debugging.
cryzed is offline