No Analysis of Gcode from Cura 3.2.1


What is the problem?
Analysis is not performed of GCODE from Cura 3.2.1 (Direct from Cura and .gcode upload)

What did you already try to solve it?
Tried direct print from Cura as well as slice to file and upload to octoprint webpage. Also tried starting octoprint in safemode. Ive tried gcode from Sli3r and it analyzes fine right away, its only gcode from Cura that's not analyzing.

Additional information about your setup (OctoPrint version, OctoPi version, printer, firmware, octoprint.log, serial.log or output on terminal tab, ...)

Octoprint: 1.3.8
Octopi: .14
Printer: Monoprice Maker Select v2.1

2018-04-25 00:53:19,520 - octoprint.filemanager.analysis - DEBUG - Adding entry local:PI3_Eric.gcode to analysis queue with high priority
2018-04-25 00:53:19,521 - - DEBUG - Firing event: FileAdded (Payload: {'path': u'PI3_Eric.gcode', 'storage': 'local', 'name': u'PI3_Eric.gcode', 'type': ['machinecode', 'gcode']})
2018-04-25 00:53:19,530 - - DEBUG - Firing event: UpdatedFiles (Payload: {'type': 'printables'})
2018-04-25 00:53:19,551 - - DEBUG - Firing event: UpdatedFiles (Payload: {'type': 'gcode'})
2018-04-25 00:53:19,573 - - DEBUG - Firing event: Upload (Payload: {'path': u'PI3_Eric.gcode', 'name': u'PI3_Eric.gcode', 'file': u'PI3_Eric.gcode', 'target': u'local'})

Nothing in log related to the file after that and no details of the gcode appear in octoprint.


Please report this on the bug tracker. Fill out the ticket template, include all the logs and a file with which to reproduce this.


> What is the problem?

Analysis is not performed of GCODE from Cura 3.2.1 (Direct from Cura and
.gcode upload)

It works for me, but it does take a while to start the analysis. I haven't
quite worked out what kicks it off.


Yeah I'm not sure, I did a fresh install of Octopi .15 on another Pi and the same gcode gets analyzed right away. I tried running the analysis manually and that works ok, but its never reflected in octoprint...

pi@octopi:~/.octoprint $ /home/pi/oprint/bin/python2 -m octoprint analysis gcode --speed-x=6000 --speed-y=6000 --max-t=10 --throttle=0.0 --throttle-lines=100 /home/pi/.octoprint/uploads/PI3_Eric.gcode
depth: 38.382000000000005
height: 1.32
width: 186.382

  • 2192.5311199999996
  • 0.0
    maxX: 189.698
    maxY: 119.191
    maxZ: 1.56
    minX: 3.316
    minY: 80.809
    minZ: 0.24
    total_time: 52.67407884010511

Ill create a ticket and attach all the files.


Thank you, I have created #2613.