Crash on unknown async method
Reported by Virgil Dupras | July 18th, 2012 @ 04:22 PM
I've been receiving these crashes lately:
Traceback (most recent call last):
File "threading.pyc", line 713, in _bootstrap
File "threading.pyc", line 753, in _bootstrap_inner
File "traceback.pyc", line 269, in format_exc
File "traceback.pyc", line 186, in format_exception
File "traceback.pyc", line 75, in format_tb
File "traceback.pyc", line 100, in extract_tb
File "linecache.pyc", line 15, in getline
File "linecache.pyc", line 41, in getlines
File "linecache.pyc", line 127, in updatecache
File "codecs.pyc", line 300, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf9 in position
4: invalid start byte
I think that they're related to currency fetching. I'm guessing that a unhandled error is mishandled by the thread or something like that. I should try to catch all exception in the async currency fetcher and log a warning for the unknown exception caught.
Comments and changes to this ticket
-
Virgil Dupras August 14th, 2012 @ 08:55 PM
- State changed from new to fixed
(from [2bc1d122184b]) [#341 state:fixed] Handle and log all exceptions during async currency rates fetching. https://bitbucket.org/hsoft/moneyguru/changeset/2bc1d122184b/
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป