From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020625 Description of problem: rhn_register will terminate on error "ImportError: No module named cgiwrap". Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: run rhn_register Actual Results: [root@machine root]# rhn_register Traceback (most recent call last): File "/usr/sbin/rhn_register", line 14, in ? import rhnreg File "/usr/share/rhn/register/rhnreg.py", line 8, in ? import xmlrpclib, cgiwrap ImportError: No module named cgiwrap [root@machine root]# Expected Results: Registration form and all the rest. Additional info:
Which limbo is this with? I thought rhn_register was sucked into up2date now
Limbo I: (Red Hat Linux release 7.3.92 (Limbo) Kernel 2.4.18-5.58 on an i686). up2date will give the same error: [root@machine root]# up2date Traceback (most recent call last): File "/usr/sbin/up2date", line 15, in ? from up2date_client import up2date File "/usr/share/rhn/up2date_client/up2date.py", line 20, in ? import cgiwrap ImportError: No module named cgiwrap [root@machine root]#
The up2date etc. packages could still be from 7.3 due to limbo1 failing to upgrade many packages (bug 68255). My suggestion would be to upgrade to limbo2, or install more recent up2date packages, eg. from ftp://people.redhat.com/misa/fixes/ though the latter may not work if other key packages haven't been upgraded. Note the later versions of up2date incorporate the functionality of rhn_register.
Unfortunately these files do not resolve the issue as package pyOpenSSL-0.5pre-1.i386.rpm is still needed and it will require libstdc++-3.2-0.1.i386.rpm which will break dependency for libstdc++.so.4 and so on. Is it possible to make update with rpm over ftp not locally as usual?
I managed to update these files by 'rpm -e rhn-applet-1.0.6-11' but now I get: [root@machine root]# up2date Traceback (most recent call last): File "/usr/sbin/up2date", line 45, in ? from up2date_client import clap ImportError: cannot import name clap [root@machine root]#
My guess is python-clap didn't get updated. I think you are going to find it easier to upgrade to limbo2 from the isos.
Yes, update of python-clap fixed the issue.
looks to be closed