Bug 960256

Summary: [abrt] cura-13.04-1.fc18: resources.py:24:getPathForResource:AssertionError: /usr/lib/python2.7/site-packages/Cura/resources/firmware/MarlinUltimaker-115200.hex is not a file.
Product: [Fedora] Fedora Reporter: filipe.manco
Component: curaAssignee: Miro Hrončok <mhroncok>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: lmacken, mhroncok
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:6daf14bad18420a25f76f87b40d2bdf2cc21de84
Fixed In Version: cura-13.04-2.fc17 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-19 02:31:53 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:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace none

Description filipe.manco 2013-05-06 19:34:00 UTC
Description of problem:
Running Cura for the first time. Pressed "Finish" on the calibration step of the first run wizard without running the calibration and the application crashed.

Version-Release number of selected component:
cura-13.04-1.fc18

Additional info:
cmdline:        /usr/bin/python /usr/bin/cura
dso_list:       wxPython-2.8.12.0-3.fc18.x86_64
executable:     /usr/bin/cura
kernel:         3.8.11-200.fc18.x86_64
uid:            1000
ureports_counter: 1

Truncated backtrace:
resources.py:24:getPathForResource:AssertionError: /usr/lib/python2.7/site-packages/Cura/resources/firmware/MarlinUltimaker-115200.hex is not a file.

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 14656, in <lambda>
    lambda event: event.callable(*event.args, **event.kw) )
  File "/usr/lib/python2.7/site-packages/Cura/gui/splashScreen.py", line 16, in DoCallback
    self.callback()
  File "/usr/lib/python2.7/site-packages/Cura/gui/app.py", line 69, in afterSplashCallback
    self.mainWindow = mainWindow.mainWindow()
  File "/usr/lib/python2.7/site-packages/Cura/gui/mainWindow.py", line 130, in __init__
    if firmwareInstall.getDefaultFirmware() is not None:
  File "/usr/lib/python2.7/site-packages/Cura/gui/firmwareInstall.py", line 25, in getDefaultFirmware
    return resources.getPathForFirmware("MarlinUltimaker-115200.hex")
  File "/usr/lib/python2.7/site-packages/Cura/util/resources.py", line 34, in getPathForFirmware
    return getPathForResource(resourceBasePath, 'firmware', name)
  File "/usr/lib/python2.7/site-packages/Cura/util/resources.py", line 24, in getPathForResource
    assert os.path.isfile(path), "{p} is not a file.".format(p=path)
AssertionError: /usr/lib/python2.7/site-packages/Cura/resources/firmware/MarlinUltimaker-115200.hex is not a file.

Local variables in innermost frame:
path: '/usr/lib/python2.7/site-packages/Cura/resources/firmware/MarlinUltimaker-115200.hex'
resource_name: 'MarlinUltimaker-115200.hex'
subdir: 'firmware'
dir: '/usr/lib/python2.7/site-packages/Cura/util/../resources'

Comment 1 filipe.manco 2013-05-06 19:34:02 UTC
Created attachment 744303 [details]
File: backtrace

Comment 2 filipe.manco 2013-05-06 19:34:04 UTC
Created attachment 744304 [details]
File: core_backtrace

Comment 3 Miro Hrončok 2013-05-07 13:47:19 UTC
Oh, I know exactly what happened there, wait for an update (working on it).

Comment 4 Fedora Update System 2013-05-07 14:01:02 UTC
cura-13.04-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/cura-13.04-2.fc19

Comment 5 Fedora Update System 2013-05-07 14:04:02 UTC
cura-13.04-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/cura-13.04-2.fc18

Comment 6 Fedora Update System 2013-05-07 14:11:46 UTC
cura-13.04-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/cura-13.04-2.fc17

Comment 7 Fedora Update System 2013-05-07 20:42:49 UTC
Package cura-13.04-2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cura-13.04-2.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-7563/cura-13.04-2.fc19
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2013-05-15 15:44:20 UTC
Package cura-13.04-2.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cura-13.04-2.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-7694/cura-13.04-2.fc17
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2013-05-19 02:31:53 UTC
cura-13.04-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2013-05-19 02:40:46 UTC
cura-13.04-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.