Bug 1057354 - [abrt] pronterface: gcoder.py:66:split:IndexError: list index out of range
Summary: [abrt] pronterface: gcoder.py:66:split:IndexError: list index out of range
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: printrun
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:94e00fb8fb22f6ada507bcf80c9...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-23 21:47 UTC by vaibhav sunder
Modified: 2023-09-14 01:57 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-03-05 22:37:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.20 KB, text/plain)
2014-01-23 21:48 UTC, vaibhav sunder
no flags Details
File: environ (2.36 KB, text/plain)
2014-01-23 21:48 UTC, vaibhav sunder
no flags Details

Description vaibhav sunder 2014-01-23 21:47:57 UTC
Version-Release number of selected component:
pronterface-2013.10.19-7.fc20

Additional info:
reporter:       libreport-2.1.11
cmdline:        /usr/bin/python /usr/bin/pronterface /var/tmp/genymotion-2.0.3_x64.bin
dso_list:       printrun-common-2013.10.19-7.fc20.x86_64
executable:     /usr/bin/pronterface
kernel:         3.12.6-300.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
gcoder.py:66:split:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/bin/pronterface", line 35, in <module>
    app = PronterApp(False)
  File "/usr/lib64/python2.7/site-packages/printrun/pronterface.py", line 1940, in __init__
    self.mainwindow = PronterWindow(self)
  File "/usr/lib64/python2.7/site-packages/printrun/pronterface.py", line 336, in __init__
    self.do_load(self.filename)
  File "/usr/lib64/python2.7/site-packages/printrun/pronterface.py", line 1664, in do_load
    self.loadfile(None, l)
  File "/usr/lib64/python2.7/site-packages/printrun/pronterface.py", line 1701, in loadfile
    self.fgcode = gcoder.GCode(open(self.filename, "rU"))
  File "/usr/lib64/python2.7/site-packages/printrun/gcoder.py", line 182, in __init__
    self._preprocess_lines()
  File "/usr/lib64/python2.7/site-packages/printrun/gcoder.py", line 215, in _preprocess_lines
    split_raw = split(line)
  File "/usr/lib64/python2.7/site-packages/printrun/gcoder.py", line 66, in split
    command = split_raw[0] if split_raw[0][0] != "n" else split_raw[1]
IndexError: list index out of range

Local variables in innermost frame:
split_raw: []
line: <printrun.gcoder_line.GLine object at 0x1dab5d0>

Comment 1 vaibhav sunder 2014-01-23 21:48:02 UTC
Created attachment 854609 [details]
File: backtrace

Comment 2 vaibhav sunder 2014-01-23 21:48:05 UTC
Created attachment 854610 [details]
File: environ

Comment 3 Miro Hrončok 2014-01-24 10:14:07 UTC
Could you please attach the gcode that causes this?

Comment 4 Red Hat Bugzilla 2023-09-14 01:57:48 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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