Bug 475412

Summary: liveusb-creator crashes with error - Qtcore
Product: [Fedora] Fedora Reporter: Joshua Wulf <jwulf>
Component: liveusb-creatorAssignee: kushaldas@gmail.com <mail>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 10CC: lcarlon, lmacken, mail
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-07 23:54:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joshua Wulf 2008-12-09 04:48:20 UTC
Description of problem:

When trying to create a liveusb key liveusb-creator crashes with the following message:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/liveusb/gui.py", line 367, in begin
    proxies=self.live.get_proxies())
  File "/usr/lib/python2.5/site-packages/liveusb/creator.py", line 468, in get_proxies
    kioslaverc = QtCore.QDir.homePath() + '/.kde/share/config/kioslaverc'
NameError: global name 'QtCore' is not defined


Version-Release number of selected component (if applicable):
liveusb-creator-3.0-2.fc10.noarch
PyQt4-4.4.3-1.fc10.i386

How reproducible: 100%


Steps to Reproduce:
1. Start liveusb-creator from GUI or command line
2. Try to make a liveusb key for Fedora 10 (beta) via download

 
Actual results: All inputs on GUI go grey, error appears on console if started via commandline


Expected results: Create a live usb key


Additional info:

Comment 1 Joshua Wulf 2009-01-13 01:38:04 UTC
abaizid writes me:

Hello,

I found bug 475412 on https://bugzilla.redhat.com/.
I could not create a usable account.

Line 37 of /usr/lib/python2.5/site-packages/liveusb/creator.py, at the top,
I have added:
from PyQt4 import QtCore

And now I works.

I am not a Qt, a Python expert or even a Fedora user.

I just wanted to test liveusb-creator.

Sorry, bothering you if you have nothing to do with bug 475412.
-------------------------------------------

I don't have a usb stick here right now, but I'll see if I can get one and try this out.

Comment 2 Luke Macken 2009-02-09 17:07:45 UTC
Please try and reproduce this with the latest version of the liveusb-creator.

The latest version has this::

       try:
            from PyQt4 import QtCore
        except ImportError:
            self.log.warning("PyQt4 module not installed; skipping KDE "
                             "proxy detection")
            return
        kioslaverc = QtCore.QDir.homePath() + '/.kde/share/config/kioslaverc'

Which should mitigate that problem.

Comment 3 Luke Macken 2009-03-07 23:54:06 UTC
This issue should be resolved with the latest version of the liveusb-creator.  Please re-open this bug if that is not the case.  Thanks!