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 1320326

Summary: Error 'NoneType' object has no attribute 'device'
Product: [Fedora] Fedora Reporter: Chris Murphy <bugzilla>
Component: liveusb-creatorAssignee: Luke Macken <lmacken>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: bcl, kparal, lmacken, mbriza, pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: liveusb-creator-3.93.3-1.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-26 16:34:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1310542    

Description Chris Murphy 2016-03-22 20:38:55 UTC
Description of problem:

I get this message upon clicking "Write to disk"


Version-Release number of selected component (if applicable):
3.91.0-1.fc23


How reproducible:
Always if stick is not present at the time the program is launched. Never if the stick is present at the time the program is launched.

Steps to Reproduce:
1. Launch program
2. Click Custom OS
3. Choose an ISO
4. Click Create Live USB
5. Insert USB stick
6. Click Write to disk

Actual results:

'NoneType' object has no attribute 'device' in the GUI and in Terminal there's a traceback.

$ sudo /usr/bin/liveusb-creator
file:///usr/lib64/qt5/qml/QtQuick/Controls/ComboBox.qml:514:5: QML Menu: Binding loop detected for property ""
[creator:340] Overwriting device with live image
[gui:255] 'NoneType' object has no attribute 'device'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/liveusb/gui.py", line 251, in run
    self.ddImage(now)
  File "/usr/lib/python2.7/site-packages/liveusb/gui.py", line 262, in ddImage
    self.live.dd_image()
  File "/usr/lib/python2.7/site-packages/liveusb/creator.py", line 341, in dd_image
    drive = self.drive.device
AttributeError: 'NoneType' object has no attribute 'device'
qrc:/components/DownloadDialog.qml:82: ReferenceError: cross is not defined
qrc:/components/DownloadDialog.qml:81: ReferenceError: cross is not defined



Expected results:

Not this.

Additional info:

Comment 1 Fedora Update System 2016-04-11 16:20:12 UTC
liveusb-creator-3.92.1-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff4136b90c

Comment 2 Fedora Update System 2016-04-12 10:52:42 UTC
liveusb-creator-3.92.1-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff4136b90c

Comment 3 Fedora Update System 2016-04-21 16:12:18 UTC
liveusb-creator-3.93.1-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff4136b90c

Comment 4 Fedora Update System 2016-04-21 21:59:09 UTC
liveusb-creator-3.93.1-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff4136b90c

Comment 5 Kamil Páral 2016-04-22 08:31:57 UTC
This is fixed with liveusb-creator-3.93.1-1.fc24

Comment 6 Fedora Update System 2016-04-22 17:06:34 UTC
liveusb-creator-3.93.2-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff4136b90c

Comment 7 Fedora Update System 2016-04-24 01:25:10 UTC
liveusb-creator-3.93.2-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff4136b90c

Comment 8 Fedora Update System 2016-04-26 08:13:22 UTC
liveusb-creator-3.93.3-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff4136b90c

Comment 9 Fedora Update System 2016-04-26 16:23:27 UTC
liveusb-creator-3.93.3-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ff4136b90c

Comment 10 Fedora Update System 2016-04-26 16:32:58 UTC
liveusb-creator-3.93.3-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.