Bug 475412 - liveusb-creator crashes with error - Qtcore
Summary: liveusb-creator crashes with error - Qtcore
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: liveusb-creator
Version: 10
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: kushaldas@gmail.com
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-09 04:48 UTC by Joshua Wulf
Modified: 2014-10-19 22:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-07 23:54:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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!


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