This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
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.
[abrt] cura-12.12-2.fc18: resources.py:24:getPathForResource:AssertionError: ...
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: cura (Show other bugs)
18
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miro Hrončok
Fedora Extras Quality Assurance
abrt_hash:6376ce958748b0f2ed2fe4d671b...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-24 10:00 EDT by Miro Hrončok
Modified: 2013-06-24 10:01 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-06-24 10:01:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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

  None (edit)
Description Miro Hrončok 2013-06-24 10:00:27 EDT
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 10:00:32 EDT
Created attachment 764632 [details]
File: backtrace
Comment 2 Miro Hrončok 2013-06-24 10:00:35 EDT
Created attachment 764633 [details]
File: core_backtrace
Comment 3 Miro Hrončok 2013-06-24 10:00:39 EDT
Created attachment 764634 [details]
File: environ

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