After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 345019 - can dogtail exit with non-zero status when a problel
can dogtail exit with non-zero status when a problel
Status: RESOLVED INCOMPLETE
Product: dogtail
Classification: Deprecated
Component: Framework
CVS HEAD
Other All
: Normal normal
: ---
Assigned To: Dogtail Maintainers
Dogtail Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-15 15:22 UTC by Andrew Cagney
Modified: 2006-09-06 14:54 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrew Cagney 2006-06-15 15:22:41 UTC
Please describe the problem:
As best I can tell, dogtail doesn't currently exit with a non-zero status when something goes wrong (for instance the accessibility stuff is disabled, et.al.).


Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Andrew Cagney 2006-06-15 15:26:19 UTC
Downstream frysk tracker:
http://sourceware.org/bugzilla/show_bug.cgi?id=2779
Comment 2 Zack Cerza 2006-06-23 20:47:40 UTC
At least some errors cause dogtail to return non-zero.

% python -c "from dogtail import tree; tree.root.application('sldkjflsdjf')"
<failure to find the nonexistent app>
% echo $?
1

What errors are you seeing that don't cause it to do so?
Comment 3 Dave Malcolm 2006-08-03 20:47:52 UTC
It ought to be raising an exception when something goes wrong; if uncaught this leads to the Python process exiting with a traceback in stderr and a non-zero exit code.
Comment 4 Zack Cerza 2006-09-06 14:54:46 UTC
I never was able to reproduce this. Works for me.