From Bugzilla Helper: User-Agent: Mozilla/5.0 (compatible; Konqueror/2.99 (3.0 rc3); Linux) Description of problem: up2date crashes immediatly after execution. the error it gives is ImportError: cannot import name clap. The python-clap package is installed, and both clap.py and clap.pyc are sitting in /usr/lib/python1.5/site-packages Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Open terminal 2. type up2date 3. watch it crash Actual Results: crashes with the following: [root@localhost site-packages]# up2date Traceback (innermost last): File "/usr/sbin/up2date", line 16, in ? from up2date_client import clap ImportError: cannot import name clap [root@localhost site-packages]# Expected Results: up2date should load, either the gui or the text version. Additional info: didn't install any of the development packages from install, and it's running in vmware, but everything else works including rhn_register. I've listed it as a security issue since one cannot patch their system without up2date.
I don't know if you can look at it, but all the package information is listed in the system profile through rhn. The account name is ctlno.com and the machine name is vm73beta.
Duplicate of bug #61749.
This is fixed by doing one of three things. Manually changing like 16 from up2date_client import clap to import clap Then run up2date to get the new version that fixes this problem. Or Run cp -a /usr/lib/python1.5/site-packages/clap.py* /usr/share/rhn/up2date_client Then run up2date to get the new version. Or Just manually download the newer up2date rpms from a rawhide directory on a redhat mirror, then install them.
*** This bug has been marked as a duplicate of 61749 ***