-
Notifications
You must be signed in to change notification settings - Fork 69
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
Fix exception tracebacks #85
Comments
I think I figured out the problem. It is this code: https://github.com/UFAL-DSG/alex/blob/master/alex/utils/mproc.py#L84-L111 Which runs the exception handler in a different thread, therefore looses the stack and traceback cannot print it. Filip says: Therefore, there is a need for a separate logging process. Ideally, equivalent to other processes such as VAD, ASR, SLU, ...." => Let's implement the logging process. |
Well, actually that would be the solution to messed-up logs, not exception tracebacks ;-). This means we must implement the logging process and move traceback handling to the other processes (the ready traceback must be passed to the logger, the logger won't be able to create it by itself). |
When we talk about processes in Alex, I think that there should be one more, for sending messages between Now it is implemented using pipes, the connections structure is roughly Best regards, Work tel. (CZ): +420221914402 http://ufal.mff.cuni.cz/filip-jurcicek On 28 October 2014 13:15, Lukas Zilka [email protected] wrote:
|
I don't know... wouldn't that create a bottleneck? |
When Alex crashes, there's usually no detailed information about the exception in the logs.
If an exception occurs in DM, it is caught here and passed on to the logs here. The code should print a traceback, but this tends to be
None
. Anyone knows why and/or how to solve this?The text was updated successfully, but these errors were encountered: