Bug 656895 - rhncfg-client - 'module' object has no attribute 'startswith'
Summary: rhncfg-client - 'module' object has no attribute 'startswith'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.2
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Jan Pazdziora
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space13
TreeView+ depends on / blocked
 
Reported: 2010-11-24 13:53 UTC by Marcus Moeller
Modified: 2011-02-08 08:40 UTC (History)
5 users (show)

Fixed In Version: rhncfg-5.9.35-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-08 08:40:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Marcus Moeller 2010-11-24 13:53:58 UTC
Description of problem:

While running 'rhncfg-client $command', e.g. rhncfg-client list the following error message is generated:

Traceback (most recent call last):
  File "/usr/bin/rhncfg-client", line 34, in <module>
    sys.exit(Main().main() or 0)
  File "/usr/share/rhn/config_common/rhn_main.py", line 67, in main
    if utils.startswith(arg, server_name_opt):
AttributeError: 'module' object has no attribute 'startswith'

Comment 1 Jan Pazdziora 2010-11-26 13:31:38 UTC
Confirming with:

# rpm -qf /usr/share/rhn/config_common/rhn_main.py
rhncfg-5.9.33-1.el5

Comment 2 Jan Pazdziora 2010-11-26 13:34:12 UTC
Taking.

Comment 3 Jan Pazdziora 2010-11-26 13:36:29 UTC
Fixed in Spacewalk master, b997f9e780120fbeae92defbc427b7103ba5b141.

Comment 4 Jan Pazdziora 2010-11-26 15:51:36 UTC
Tagged as rhncfg-5.9.35-1.

Comment 5 Justin Sherrill 2010-12-07 16:24:50 UTC
Jan,  

Spacewalk users are asking to have this backported to 1.2, can we make this happen? :}

Thanks,

-Justin

Comment 6 Marcus Moeller 2011-02-01 16:03:41 UTC
pleeaasse :?

Comment 7 Tomas Lestach 2011-02-03 12:21:12 UTC
Moving ON_QA ...

Comment 8 Tomas Lestach 2011-02-08 08:40:54 UTC
This bug has been fixed in Spacewalk 1.3.


Note You need to log in before you can comment on or make changes to this bug.