Bug 960256 - [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.
Summary: [abrt] cura-13.04-1.fc18: resources.py:24:getPathForResource:AssertionError: ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cura
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6daf14bad18420a25f76f87b40d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-06 19:34 UTC by filipe.manco
Modified: 2013-05-19 02:40 UTC (History)
2 users (show)

Fixed In Version: cura-13.04-2.fc17
Clone Of:
Environment:
Last Closed: 2013-05-19 02:31:53 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.57 KB, text/plain)
2013-05-06 19:34 UTC, filipe.manco
no flags Details
File: core_backtrace (847 bytes, text/plain)
2013-05-06 19:34 UTC, filipe.manco
no flags Details

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.


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