Bug 789114 - TypeError: getReleaseString() takes no arguments (1 given)
Summary: TypeError: getReleaseString() takes no arguments (1 given)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:51c929d88b5b52fa2a721825f11...
Depends On: 748119
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-09 20:42 UTC by Ryan Martin
Modified: 2012-02-09 21:08 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-09 21:08:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb-xGVOYb (446.80 KB, text/plain)
2012-02-09 20:42 UTC, Ryan Martin
no flags Details

Description Ryan Martin 2012-02-09 20:42:48 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: anaconda
kernel:         3.1.0-7.fc16.x86_64
product:        Fedora
reason:         TypeError: getReleaseString() takes no arguments (1 given)
time:           Thu Feb  9 15:41:53 2012
version:        16

anaconda-tb-xGVOYb: Text file, 457521 bytes

description:
:The following was filed automatically by anaconda:
:anaconda 16.25 exception report
:Traceback (most recent call first):
:  File "/tmp/updates/pyanaconda/storage/__init__.py", line 1524, in findExistingRootDevices
:    (arch, product, version) = getReleaseString(anaconda.rootPath)
:  File "/tmp/updates/pyanaconda/upgrade.py", line 81, in findRootParts
:    upgradeany=flags.cmdline.has_key("upgradeany"))
:  File "/tmp/updates/pyanaconda/dispatch.py", line 373, in dispatch
:    self.dir = self.steps[self.step].target(self.anaconda)
:  File "/tmp/updates/pyanaconda/gui.py", line 88, in return_false
:    func(*args, **kwargs)
:TypeError: getReleaseString() takes no arguments (1 given)

Comment 1 Ryan Martin 2012-02-09 20:42:51 UTC
Created attachment 560701 [details]
File: anaconda-tb-xGVOYb

Comment 2 Ryan Martin 2012-02-09 20:51:16 UTC
This bug was encountered trying to update F15 -> F16 today, on a system with / and /var both on separate LVM volumes. I booted into the preupgrade image with "updates=http://clumens.fedorapeople.org/748119.img" on the kernel line. Is it possible that the prototype of getReleaseString() has changed since this patch was created?

Comment 3 Chris Lumens 2012-02-09 21:08:22 UTC
I've updated the updates image.  Please don't file new bugs about any other problems seen with it as this code is correct in anaconda, and I'm just having to reconstruct the image by hand.


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