Description of problem: not documented + traceback, user cannot recognize what's wrong with cmd /usr/bin/rhn-applet-tui --url http://something Version-Release number of selected component (if applicable): # rpm -q rhnlib up2date rhn-applet rhnlib-2.1.4-4.el4 up2date-4.8.1-26.el4 rhn-applet-2.1.28-3.el4 How reproducible: always Steps to Reproduce: 1. # /usr/bin/rhn-applet-tui --url http://rhn.webqa.redhat.com Caught exception: unable to remove: Traceback (most recent call last): File "/usr/bin/rhn-applet-tui", line 103, in ? main(original_arg_list) File "/usr/bin/rhn-applet-tui", line 63, in main model = rhnAppletModelTUI(None, url, uuid) File "/usr/share/rhn/rhn_applet/rhn_applet_model.py", line 465, in __init__ source.refresh(1) File "/usr/share/rhn/rhn_applet/rhn_applet_source.py", line 35, in refresh self._do_refresh() File "/usr/share/rhn/rhn_applet/rhn_applet_rpc.py", line 213, in _do_refresh status = server.applet.poll_status() File "/usr/lib/python2.3/site-packages/rhn/rpclib.py", line 599, in __call__ return self._send(self._name, args) File "/usr/lib/python2.3/site-packages/rhn/rpclib.py", line 324, in _request request, verbose=self._verbose) File "/usr/lib/python2.3/site-packages/rhn/transports.py", line 189, in request return self._process_response(fd, connection) File "/usr/lib/python2.3/site-packages/rhn/transports.py", line 217, in _process_response return self.parse_response(fd) File "/usr/lib/python2.3/site-packages/rhn/transports.py", line 241, in parse_response return u.close() File "/usr/lib64/python2.3/xmlrpclib.py", line 740, in close raise ResponseError() xmlrpclib.ResponseError: <xmlrpclib.ResponseError instance at 0x2a9a73dfc8> Actual results: traceback Expected results: option "--url" is better documented and it has to be without traceback Additional info:
With latest rhn-applet-tui, the error message is much more descriptive: # /usr/bin/rhn-applet-tui --url http://rhn.webqa.redhat.com Traceback (most recent call last): File "/usr/bin/rhn-applet-tui", line 103, in ? main(original_arg_list) File "/usr/bin/rhn-applet-tui", line 63, in main model = rhnAppletModelTUI(None, url, uuid) File "/usr/share/rhn/rhn_applet/rhn_applet_model.py", line 464, in __init__ source.refresh(1) File "/usr/share/rhn/rhn_applet/rhn_applet_source.py", line 35, in refresh self._do_refresh() File "/usr/share/rhn/rhn_applet/rhn_applet_rpc.py", line 245, in _do_refresh raise rhnAppletException(p) rhn_utils.rhnAppletException: Error: <ProtocolError for rhn.webqa.redhat.com /RPC2: 404 Not Found>