display_error_and_exit function incorrectly guesses XML format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
euca2ools |
Triaged
|
Low
|
Mitch Garnaat |
Bug Description
euca2ools's display_
In my case, the variable ex near the very bottom of euca-describe-
``repr(ex)'' yields ``SAXParseExcep
``'%s' % ex'' yields ``<unknown>:1:0: no element found''
I propose changing the check for XML-ness on __init__.py lines 1071 and 1072 to something that checks the beginning and end of error messages so we are more likely to get useful output instead of backtraces when things go wrong. Perhaps even something along the lines of ``if ex.__str_
Changed in eucalyptus: | |
assignee: | nobody → Mitch Garnaat (mitch-garnaat) |
Changed in euca2ools: | |
status: | New → Triaged |
importance: | Undecided → Low |
This is a euca2ools issue.