Bug 343283

Summary: Python-Bindings: Missing error messages
Product: [openSUSE] openSUSE 11.0 Reporter: Daniel Fiser <dfiser>
Component: YaST2Assignee: Jozef Uhliarik <juhliarik>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Daniel Fiser 2007-11-21 13:57:02 UTC
When python function is called from ycp code and this python function failed, it does not write to y2logs any suitable error message, there is only message like 'pReturn == 0' what is not much informative.
It would be nice to have in y2logs messages from python interpreter.
If it is not possible, the minimum is to put there function PyErr_Print (http://docs.python.org/api/exceptionHandling.html), which prints error message at least to stderr.
Comment 1 Jozef Uhliarik 2007-12-05 08:56:51 UTC
Monitoring system for handling errors from python was added into 2.16.2.
The errors from python are saved into yast log file.