AstroPrint / OctoPrint-AstroPrint

Connect your OctoPrint device to the AstroPrint 3D Printing Cloud
31 stars 10 forks source link

error analyzing gcode #18

Closed CoDanny closed 6 years ago

CoDanny commented 6 years ago
2018-01-08 00:08:13,622 - octoprint.plugins.astroprint - ERROR - Bad gcode data returned: {"size":{"x": 0.000,"y":0.000,"z":0.000},"layer_count":0,"layer_height":0.00,"print_time":0.00,"total_filament":0.000,"layers":[{"time":nan,"upperPercent":1.000000000000000}]}
2018-01-08 00:08:13,630 - octoprint.plugins.astroprint - ERROR - Fail to analyze Gcode: /home/pi/.octoprint/uploads/Dr_Dre.gcode
Alfonsopl commented 6 years ago

This error happens when a invalid gcode like a wrong format or empty one is analyzed (it also happens in AstroBox). Not to much to do here