Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 226734 - Type error in commands
Summary: Type error in commands
Alias: None
Product: Fedora
Classification: Fedora
Component: pykickstart
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Chris Lumens
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2007-02-01 11:00 UTC by Tomo Vuckovic
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-02-01 14:51:01 UTC

Attachments (Terms of Use)

Description Tomo Vuckovic 2007-02-01 11:00:08 UTC
Description of problem:

pykickstart type error.

Version :
pykickstart 0.93

How reproducible:

Traceback (most recent call last):
  File "/usr/share/system-config-kickstart/", line 323, in
    previewDialog = savefile.saveFile (self.ksHandler.__str__(),
  File "/usr/lib/python2.4/site-packages/pykickstart/commands/", line
197, in __str__
    retval += obj.__str__()
  File "/usr/lib/python2.4/site-packages/pykickstart/commands/", line 945,
in __str__
    retval += part.__str__()
  File "/usr/lib/python2.4/site-packages/pykickstart/commands/", line 97,
in __str__
    retval = FC3Handler.PartData.__str__().strip()
TypeError: unbound method __str__() must be called with PartData instance as
first argument (got nothing instead)

Steps to  Reproduce: always

change line 97 in to :

retval = FC3Handler.PartData.__str__(self).strip()

Comment 1 Chris Lumens 2007-02-01 14:51:01 UTC
Thanks for the bug report.  I've fixed this one and several others that I found
when searching.  It will be in the next build of pykickstart.

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