Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1239158 - UnboundLocalError: local variable 'e' referenced before assignment
Summary: UnboundLocalError: local variable 'e' referenced before assignment
Keywords:
Status: CLOSED DUPLICATE of bug 1249304
Alias: None
Product: Fedora
Classification: Fedora
Component: python-blivet
Version: 23
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:3a4b9b7114b54d7906d015329fa...
: 1240464 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-03 19:33 UTC by bbradley1946@gmail.com
Modified: 2015-08-03 19:22 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-03 19:22:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (686.69 KB, text/plain)
2015-07-03 19:33 UTC, bbradley1946@gmail.com
no flags Details
File: anaconda.log (11.87 KB, text/plain)
2015-07-03 19:33 UTC, bbradley1946@gmail.com
no flags Details
File: environ (592 bytes, text/plain)
2015-07-03 19:33 UTC, bbradley1946@gmail.com
no flags Details
File: journalctl (421.10 KB, text/plain)
2015-07-03 19:33 UTC, bbradley1946@gmail.com
no flags Details
File: lsblk_output (5.16 KB, text/plain)
2015-07-03 19:33 UTC, bbradley1946@gmail.com
no flags Details
File: nmcli_dev_list (2.22 KB, text/plain)
2015-07-03 19:33 UTC, bbradley1946@gmail.com
no flags Details
File: os_info (528 bytes, text/plain)
2015-07-03 19:33 UTC, bbradley1946@gmail.com
no flags Details
File: program.log (37.10 KB, text/plain)
2015-07-03 19:33 UTC, bbradley1946@gmail.com
no flags Details
File: storage.log (219.32 KB, text/plain)
2015-07-03 19:33 UTC, bbradley1946@gmail.com
no flags Details
File: ifcfg.log (3.83 KB, text/plain)
2015-07-03 19:33 UTC, bbradley1946@gmail.com
no flags Details

Description bbradley1946@gmail.com 2015-07-03 19:33:38 UTC
Description of problem:
- Boot into a Koji rawhide live CD image  from 30Jun2015 which was installed to a flash drive. The live CD boots up OK.
- click on the option to install to hard drive
- Anaconda promptly crashes. The popup error window says "An unknown error has occurred". The 'More info..." output seems to indicate a problem in a python script.

Version-Release number of selected component:
anaconda-core-23.12-1.fc23.x86_64

The following was filed automatically by anaconda:
anaconda 23.12-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.4/site-packages/blivet/tasks/fsminsize.py", line 57, in _getResizeInfo
    error_msg = "failed to gather info from resize program: %s" % e
  File "/usr/lib/python3.4/site-packages/blivet/tasks/fsminsize.py", line 168, in doTask
    resize_info = self._getResizeInfo()
  File "/usr/lib/python3.4/site-packages/blivet/formats/fs.py", line 288, in updateSizeInfo
    result = self._minsize.doTask()
  File "/usr/lib/python3.4/site-packages/blivet/formats/fs.py", line 134, in __init__
    self.updateSizeInfo()
  File "/usr/lib/python3.4/site-packages/blivet/formats/__init__.py", line 81, in getFormat
    fmt = fmt_class(*args, **kwargs)
  File "/usr/lib/python3.4/site-packages/blivet/populator.py", line 1427, in handleUdevDeviceFormat
    device.format = formats.getFormat(format_designator, **kwargs)
  File "/usr/lib/python3.4/site-packages/blivet/populator.py", line 757, in addUdevDevice
    self.handleUdevDeviceFormat(info, device)
  File "/usr/lib/python3.4/site-packages/blivet/populator.py", line 1656, in _populate
    self.addUdevDevice(dev)
  File "/usr/lib/python3.4/site-packages/blivet/populator.py", line 1593, in populate
    self._populate()
  File "/usr/lib/python3.4/site-packages/blivet/devicetree.py", line 551, in populate
    self._populator.populate(cleanupOnly=cleanupOnly)
  File "/usr/lib/python3.4/site-packages/blivet/blivet.py", line 279, in reset
    self.devicetree.populate(cleanupOnly=cleanupOnly)
  File "/usr/lib/python3.4/site-packages/blivet/osinstall.py", line 1119, in storageInitialize
    storage.reset()
  File "/usr/lib64/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/lib64/python3.4/site-packages/pyanaconda/threads.py", line 244, in run
    threading.Thread.run(self, *args, **kwargs)
UnboundLocalError: local variable 'e' referenced before assignment

Additional info:
cmdline:        /usr/bin/python3  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   BOOT_IMAGE=/syslinux/vmlinuz0 root=live:LABEL=LIVE ro rd.live.image quiet rhgb
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         4.2.0-0.rc0.git2.1.fc23.x86_64
other involved packages: python3-blivet-1.7-1.fc23.noarch, python3-libs-3.4.3-5.fc23.x86_64
product:        Fedora
release:        Fedora release 23 (Rawhide)
type:           anaconda
version:        Rawhide

Comment 1 bbradley1946@gmail.com 2015-07-03 19:33:42 UTC
Created attachment 1045904 [details]
File: anaconda-tb

Comment 2 bbradley1946@gmail.com 2015-07-03 19:33:43 UTC
Created attachment 1045905 [details]
File: anaconda.log

Comment 3 bbradley1946@gmail.com 2015-07-03 19:33:44 UTC
Created attachment 1045906 [details]
File: environ

Comment 4 bbradley1946@gmail.com 2015-07-03 19:33:46 UTC
Created attachment 1045907 [details]
File: journalctl

Comment 5 bbradley1946@gmail.com 2015-07-03 19:33:47 UTC
Created attachment 1045908 [details]
File: lsblk_output

Comment 6 bbradley1946@gmail.com 2015-07-03 19:33:48 UTC
Created attachment 1045909 [details]
File: nmcli_dev_list

Comment 7 bbradley1946@gmail.com 2015-07-03 19:33:48 UTC
Created attachment 1045910 [details]
File: os_info

Comment 8 bbradley1946@gmail.com 2015-07-03 19:33:50 UTC
Created attachment 1045911 [details]
File: program.log

Comment 9 bbradley1946@gmail.com 2015-07-03 19:33:52 UTC
Created attachment 1045912 [details]
File: storage.log

Comment 10 bbradley1946@gmail.com 2015-07-03 19:33:53 UTC
Created attachment 1045913 [details]
File: ifcfg.log

Comment 11 Samantha N. Bueno 2015-07-07 13:07:15 UTC
*** Bug 1240464 has been marked as a duplicate of this bug. ***

Comment 12 Jan Kurik 2015-07-15 13:50:47 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 13 Vojtech Trefny 2015-08-03 19:22:00 UTC

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


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