New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on unknown async method #341

Closed
hsoft opened this Issue Jun 22, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@hsoft
Owner

hsoft commented Jun 22, 2013

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.

@hsoft hsoft closed this Jun 22, 2013

@hsoft

This comment has been minimized.

Owner

hsoft commented Jun 22, 2013

(from [2bc1d122184b]) [#341 state:fixed] Handle and log all exceptions during async currency rates fetching.
https://bitbucket.org/hsoft/moneyguru/changeset/2bc1d122184b/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment