Bug 1306828

Summary: [abrt] cura: sceneView.py:296:_openPrintWindowForConnection:AttributeError: 'NoneType' object has no attribute 'getGCode'
Product: [Fedora] Fedora Reporter: John Duchek <johnduchek>
Component: curaAssignee: Miro HronĨok <mhroncok>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: mhroncok
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/6b437ec6880de420e0959fd7c86896eea69d4572
Whiteboard: abrt_hash:689aa91d1aa42dee46a8155ece02b4456aa50439;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 18:42:58 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: environ none

Description John Duchek 2016-02-11 20:05:57 UTC
Description of problem:
starting 3d print and cura crashed

Version-Release number of selected component:
cura-14.12.1-5.fc22

Additional info:
reporter:       libreport-2.6.4
cmdline:        /usr/bin/python /usr/bin/cura
executable:     /usr/bin/cura
kernel:         4.3.4-200.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
sceneView.py:296:_openPrintWindowForConnection:AttributeError: 'NoneType' object has no attribute 'getGCode'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/Cura/gui/mainWindow.py", line 83, in <lambda>
    self.Bind(wx.EVT_MENU, lambda e: self.scene.OnPrintButton(1), i)
  File "/usr/lib/python2.7/site-packages/Cura/gui/sceneView.py", line 268, in OnPrintButton
    self._openPrintWindowForConnection(connection)
  File "/usr/lib/python2.7/site-packages/Cura/gui/sceneView.py", line 296, in _openPrintWindowForConnection
    if not connection.loadGCodeData(self._engine.getResult().getGCode()):
AttributeError: 'NoneType' object has no attribute 'getGCode'

Local variables in innermost frame:
p: <Cura.util.pluginInfo.pluginInfo object at 0x7f25fa4dd590>
connection: <Cura.util.printerConnection.serialConnection.serialConnection object at 0x7f25fa503390>
self: <Cura.gui.sceneView.SceneView; proxy of <Swig Object of type 'wxGLCanvas *' at 0x28ea170> >
windowType: u'Pronterface UI'

Comment 1 John Duchek 2016-02-11 20:06:01 UTC
Created attachment 1123290 [details]
File: backtrace

Comment 2 John Duchek 2016-02-11 20:06:02 UTC
Created attachment 1123291 [details]
File: environ

Comment 3 Fedora End Of Life 2016-07-19 18:42:58 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.