Bug 797311 - InvalidOperation: Invalid literal for Decimal: '9.90.1'
Summary: InvalidOperation: Invalid literal for Decimal: '9.90.1'
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 17
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-24 21:55 UTC by John Reiser
Modified: 2012-02-29 21:00 UTC (History)
3 users (show)

Fixed In Version: anaconda-17.12-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-29 21:00:26 UTC
Type: ---


Attachments (Terms of Use)
anaconda traceback and debug info (831.83 KB, text/plain)
2012-02-24 21:55 UTC, John Reiser
no flags Details
storage.log (396.56 KB, text/plain)
2012-02-24 21:55 UTC, John Reiser
no flags Details

Description John Reiser 2012-02-24 21:55:08 UTC
Created attachment 565679 [details]
anaconda traceback and debug info

Description of problem: Detecting Basic Storage devices crashes.


Version-Release number of selected component (if applicable):
anaconda-17.11

How reproducible: haven't tried

Steps to Reproduce:
1. boot Fedora 17 Alpha.RC4 x86_64 DVD for install, with updates=http://bugzilla.redhat.com/attachment.cgi?id=565351
2. Accept defaults (enter <SpaceBar>) all the way.
3.
  
Actual results:
anaconda 17.11 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.7/decimal.py", line 3844, in _raise_error
    raise error(explanation)
  File "/usr/lib64/python2.7/decimal.py", line 548, in __new__
    "Invalid literal for Decimal: %r" % value)
  File "/tmp/updates/pyanaconda/installclasses/fedora.py", line 121, in versionMatches
    oldVer = Decimal(oldver)
  File "/tmp/updates/pyanaconda/installclass.py", line 218, in productUpgradable
    "version"  : self.versionMatches(oldver),
  File "/tmp/updates/pyanaconda/storage/__init__.py", line 1626, in findExistingRootDevices
    (upgradable, tests) = anaconda.instClass.productUpgradable(arch, product, version)
  File "/tmp/updates/pyanaconda/upgrade.py", line 81, in findRootParts
    upgradeany=flags.cmdline.has_key("upgradeany"))
  File "/tmp/updates/pyanaconda/dispatch.py", line 383, in dispatch
    self.dir = self.steps[self.step].target(self.anaconda)
  File "/tmp/updates/pyanaconda/dispatch.py", line 247, in go_forward
    self.dispatch()
  File "/tmp/updates/pyanaconda/gui.py", line 1200, in nextClicked
    self.anaconda.dispatch.go_forward()
InvalidOperation: Invalid literal for Decimal: '9.90.1'


Expected results: success


Additional info:

Comment 1 John Reiser 2012-02-24 21:55:40 UTC
Created attachment 565680 [details]
storage.log

/tmp/storage.log

Comment 2 John Reiser 2012-02-27 04:56:48 UTC
Fedora 10 Alpha (32-bit) had:
-----/etc/fedora-release
Fedora release 9.90.1 (Rawhide)
-----

Comment 3 Brian Lane 2012-02-29 21:00:26 UTC
This will be fixed by commit 3af69ffe170e4cb984abc05f5a4ead1e9e6629a2 for bug 791317

also note that we have never supported a nvr style release version, only X and X.X


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