Bug 881909 - [abrt] lorax-18.20-1.fc18: imgutils.py:137:umount:UnboundLocalError: local variable 'rv' referenced before assignment
Summary: [abrt] lorax-18.20-1.fc18: imgutils.py:137:umount:UnboundLocalError: local va...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: lorax
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Gracik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:c54e2c3d9374d6481675848f4a6...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-29 18:41 UTC by Kamil Páral
Modified: 2013-07-04 13:05 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-29 18:50:41 UTC
Type: ---


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

Description Kamil Páral 2012-11-29 18:41:05 UTC
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 18:41:08 UTC
Created attachment 654486 [details]
File: backtrace

Comment 2 Kamil Páral 2012-11-29 18:41:10 UTC
Created attachment 654487 [details]
File: core_backtrace

Comment 3 Kamil Páral 2012-11-29 18:41:13 UTC
Created attachment 654488 [details]
File: environ

Comment 4 Kamil Páral 2012-11-29 18:41:14 UTC
Created attachment 654489 [details]
File: smolt_data

Comment 5 Brian Lane 2012-11-29 18:50:41 UTC
use a newer version of lorax. this was fixed in 18.21-1

Comment 6 Kamil Páral 2012-11-29 22:18:39 UTC
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.