Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 62316

Summary: up2date does not load
Product: [Retired] Red Hat Public Beta Reporter: matthew <matthew>
Component: up2dateAssignee: Adrian Likins <alikins>
Status: CLOSED DUPLICATE QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: skipjack-beta1CC: gafton, garf, mihai.ibanescu, srevivo
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: athlon   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-04-01 06:32:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description matthew 2002-03-29 17:02:14 UTC
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.

Comment 1 matthew 2002-03-29 17:03:40 UTC
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.

Comment 2 Michael Schwendt 2002-03-31 15:16:57 UTC
Duplicate of bug #61749.

Comment 3 Nathan G. Grennan 2002-04-01 06:32:10 UTC
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.

Comment 4 Bill Nottingham 2002-04-01 20:58:30 UTC

*** This bug has been marked as a duplicate of 61749 ***