Bug 881909 - [abrt] lorax-18.20-1.fc18: imgutils.py:137:umount:UnboundLocalError: local variable 'rv' referenced before assignment
[abrt] lorax-18.20-1.fc18: imgutils.py:137:umount:UnboundLocalError: local va...
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: lorax (Show other bugs)
17
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Martin Gracik
Fedora Extras Quality Assurance
abrt_hash:c54e2c3d9374d6481675848f4a6...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-29 13:41 EST by Kamil Páral
Modified: 2013-07-04 09:05 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-11-29 13:50:41 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
File: backtrace (1010 bytes, text/plain)
2012-11-29 13:41 EST, Kamil Páral
no flags Details
File: core_backtrace (588 bytes, text/plain)
2012-11-29 13:41 EST, Kamil Páral
no flags Details
File: environ (1.75 KB, text/plain)
2012-11-29 13:41 EST, Kamil Páral
no flags Details
File: smolt_data (2.98 KB, text/plain)
2012-11-29 13:41 EST, Kamil Páral
no flags Details

  None (edit)
Description Kamil Páral 2012-11-29 13:41:05 EST
Description of problem:
I executed
sudo livecd-creator -c ~/iso/ks/spin-kickstarts/custom/qa-test-day.ks --releasever 18 --cache /var/cache/live

Version-Release number of selected component:
lorax-18.20-1.fc18

Additional info:
cmdline:        /usr/bin/python /sbin/mkefiboot -a /var/tmp/imgcreate-CYuBUc/iso-z2060w/EFI/BOOT /var/tmp/imgcreate-CYuBUc/iso-z2060w/isolinux/macboot.img -l 'Livecd Qa' -n /usr/share/pixmaps/bootloader/fedora-media.vol -i /usr/share/pixmaps/bootloader/fedora.icns -p 'Livecd Qa'
executable:     /sbin/mkefiboot
kernel:         3.6.7-4.fc17.x86_64
uid:            0

Truncated backtrace:
imgutils.py:137:umount:UnboundLocalError: local variable 'rv' referenced before assignment

Traceback (most recent call last):
  File "/sbin/mkefiboot", line 153, in <module>
    opt.diskname)
  File "/sbin/mkefiboot", line 44, in mkmacboot
    mkhfsimg(None, outfile, label=label, graft=graft, size=size)
  File "/usr/lib/python2.7/site-packages/pylorax/imgutils.py", line 336, in mkhfsimg
    mkfsargs=["-v", label], graft=graft)
  File "/usr/lib/python2.7/site-packages/pylorax/imgutils.py", line 319, in mkfsimage
    do_grafts(graft, mnt, preserve)
  File "/usr/lib/python2.7/site-packages/pylorax/imgutils.py", line 234, in __exit__
    umount(self.mnt)
  File "/usr/lib/python2.7/site-packages/pylorax/imgutils.py", line 137, in umount
    mnt, rv, count, maxretry)
UnboundLocalError: local variable 'rv' referenced before assignment

Local variables in innermost frame:
count: 1
lazy: False
mnt: '/tmp/lorax.imgutils.VEo66M'
retrysleep: 1.0
umount: ['umount', '/tmp/lorax.imgutils.VEo66M']
maxretry: 3
Comment 1 Kamil Páral 2012-11-29 13:41:08 EST
Created attachment 654486 [details]
File: backtrace
Comment 2 Kamil Páral 2012-11-29 13:41:10 EST
Created attachment 654487 [details]
File: core_backtrace
Comment 3 Kamil Páral 2012-11-29 13:41:13 EST
Created attachment 654488 [details]
File: environ
Comment 4 Kamil Páral 2012-11-29 13:41:14 EST
Created attachment 654489 [details]
File: smolt_data
Comment 5 Brian Lane 2012-11-29 13:50:41 EST
use a newer version of lorax. this was fixed in 18.21-1
Comment 6 Kamil Páral 2012-11-29 17:18:39 EST
I was running that from an F17 box using livecd-creator, I'm not sure why it uses old lorax.

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