Welcome! Log In Create A New Profile

Advanced

octoprint slicing fails

Posted by Chuckb 
octoprint slicing fails
August 06, 2015 05:14AM
I have setup OctoPrint using the Octopi image and everything seems to be working except when i try to slice a .STL it fails
this is the end of the only log it seems to be producing, the last line tells me that there is an error but its unknown?

GUI ERROR MESSAGE:

Slicing failed
Could not slice raspberry2_case_top.stl to raspberry2_case_top.gco: Unknown error, please consult the log file



END OF THE LOG:

02:17:29,933 - octoprint.util.pip - INFO - Found pip at /home/pi/oprint/bin/pip, version is 1.1
2015-08-06 02:17:29,943 - octoprint.plugin.core - INFO - Initialized 5 plugin(s)
2015-08-06 02:17:29,945 - octoprint.plugin.core - INFO - 5 plugin(s) registered with the system:
| CuraEngine (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.4-py2.7.egg/octoprint/plugins/cura
| Discovery (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.4-py2.7.egg/octoprint/plugins/discovery
| Plugin Manager (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.4-py2.7.egg/octoprint/plugins/pluginmanager
| Software Update (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.4-py2.7.egg/octoprint/plugins/softwareupdate
| Virtual Printer (bundled) = /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.4-py2.7.egg/octoprint/plugins/virtual_printer
2015-08-06 02:17:29,947 - octoprint.filemanager - INFO - Adding backlog items from all storage types to analysis queue...
2015-08-06 02:17:30,036 - octoprint.filemanager - INFO - Added 1 items from storage type "local" to analysis queue
2015-08-06 02:17:30,432 - octoprint.plugins.pluginmanager - INFO - Loaded plugin repository data from disk, was still valid
2015-08-06 02:17:30,491 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on octopi for _http._tcp
2015-08-06 02:17:30,514 - octoprint.plugins.discovery - INFO - Registered OctoPrint instance on octopi for _octoprint._tcp
2015-08-06 02:17:30,534 - octoprint.server - INFO - Listening on [127.0.0.1]
2015-08-06 02:30:27,285 - octoprint.server.util.sockjs - INFO - New connection from client: 192.168.1.5
2015-08-06 07:49:09,346 - octoprint.plugins.cura - ERROR - Could not slice via Cura, got an unknown error
Traceback (most recent call last):
File "/home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.4-py2.7.egg/octoprint/plugins/cura/__init__.py", line 231, in do_slice
engine_settings = self._convert_to_engine(profile_path, printer_profile, posX, posY)
File "/home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.4-py2.7.egg/octoprint/plugins/cura/__init__.py", line 401, in _convert_to_engine
return profile.convert_to_engine()
File "/home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.4-py2.7.egg/octoprint/plugins/cura/profile.py", line 880, in convert_to_engine
"startCode": self.get_gcode("start_gcode"),
File "/home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.4-py2.7.egg/octoprint/plugins/cura/profile.py", line 766, in get_gcode
return unicode(prefix + re.sub("(.)\{([^\}]*)\}", self.replaceTagMatch, contents).rstrip() + '\n' + postfix).strip().encode('utf-8') + '\n'
File "/home/pi/oprint/lib/python2.7/re.py", line 151, in sub
return _compile(pattern, flags).sub(repl, string, count)
File "/home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.2.4-py2.7.egg/octoprint/plugins/cura/profile.py", line 708, in replaceTagMatch
if (f % 1) == 0:
TypeError: not all arguments converted during string formatting


can anyone shed any light on this for me
Re: octoprint slicing fails
August 06, 2015 05:38AM
Did you confirm the STL file is actually a solid?
A lot of slicers have problems with faulty STL files.
If in doubt upload it to the Netfabb Cloud service for repair.

Edited 1 time(s). Last edit at 08/06/2015 05:40AM by Downunder35m.
Sorry, only registered users may post in this forum.

Click here to login