Description of problem: rhn_register fails in both X and CLI modes. Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. Run rhn_register --nox or just rhn_register 2. 3. Actual results: rhn_register --nox generates these messages: An error has occurred: exceptions.Exception See /var/log/up2date for more information In /var/log/up2date is this: [Wed Sep 13 19:20:07 2006] up2date File "/usr/sbin/rhn_register", line 75, in ? cli.run() File "/usr/share/rhn/up2date_client/rhncli.py", line 65, in run sys.exit(self.main() or 0) File "/usr/sbin/rhn_register", line 64, in main tui.main() File "/usr/share/rhn/up2date_client/tui.py", line 1108, in main tui.run() File "/usr/share/rhn/up2date_client/tui.py", line 1052, in run win = self.windows[index](self.screen, self) File "/usr/share/rhn/up2date_client/tui.py", line 49, in __init__ tb = snack.Textbox(size[0]-10, size[1]-14, rhnreg.welcomeText(), 1) File "/usr/share/rhn/up2date_client/rhnreg.py", line 179, in welcomeText return rpcServer.doCall(s.registration.welcome_message) File "/usr/share/rhn/up2date_client/rpcServer.py", line 235, in doCall ret = apply(method, args, kwargs) File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__ return self.__send(self.__name, args) File "/usr/share/rhn/up2date_client/rpcServer.py", line 45, in _request1 ret = self._request(methodname, params) File "/usr/lib/python2.4/site-packages/rhn/rpclib.py", line 407, in _request raise Exception("Error requesting with the server:: error code:: %s" % save_response) rhn_register generates this error: python: cairo-xlib-surface.c:487: _swap_ximage_to_native: Assertion `NOT_REACHED' failed. Aborted Expected results: I should be able to register. Additional info: I'm behind an http proxy that requires authentication. I did update /etc/sysconfig/rhn/up2date with the following before trying to run rhn_register: enableProxy=1 proxyPassword=MyPassword enableProxyAuth=1 proxyUser=MyUserid httpProxy=proxy.eds.com:80 Mark Post
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering. This request is not yet committed for inclusion in release.
The next release of rhn_register will display an error message in a dialog, rather than giving a stack trace. This will also show the actual error that occured while trying to talk to the server.