Bug 977421 - [abrt] cura-12.12-2.fc18: resources.py:24:getPathForResource:AssertionError: /usr/lib/python2.7/site-packages/Cura/resources/firmware/ultimaker_115200.hex is not a file.
Summary: [abrt] cura-12.12-2.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:6376ce958748b0f2ed2fe4d671b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-24 14:00 UTC by Miro Hrončok
Modified: 2013-06-24 14:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-24 14:01:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.54 KB, text/plain)
2013-06-24 14:00 UTC, Miro Hrončok
no flags Details
File: core_backtrace (847 bytes, text/plain)
2013-06-24 14:00 UTC, Miro Hrončok
no flags Details
File: environ (3.17 KB, text/plain)
2013-06-24 14:00 UTC, Miro Hrončok
no flags Details

Description Miro Hrončok 2013-06-24 14:00:27 UTC
Description of problem:
I'm trying new Cura, segfault right after start (or after wizard, when no ~/.cura dir is present)

Version-Release number of selected component:
cura-12.12-2.fc18

Additional info:
reporter:       libreport-2.1.4
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.2-206.fc18.x86_64
uid:            1000

Truncated backtrace:
resources.py:24:getPathForResource:AssertionError: /usr/lib/python2.7/site-packages/Cura/resources/firmware/ultimaker_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 62, in afterSplashCallback
    self.mainWindow = mainWindow.mainWindow()
  File "/usr/lib/python2.7/site-packages/Cura/gui/mainWindow.py", line 96, in __init__
    if firmwareInstall.getDefaultFirmware() is not None:
  File "/usr/lib/python2.7/site-packages/Cura/gui/firmwareInstall.py", line 20, in getDefaultFirmware
    return resources.getPathForFirmware("ultimaker_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/ultimaker_115200.hex is not a file.

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

Comment 1 Miro Hrončok 2013-06-24 14:00:32 UTC
Created attachment 764632 [details]
File: backtrace

Comment 2 Miro Hrončok 2013-06-24 14:00:35 UTC
Created attachment 764633 [details]
File: core_backtrace

Comment 3 Miro Hrončok 2013-06-24 14:00:39 UTC
Created attachment 764634 [details]
File: environ


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