hedo
September 2, 2023, 8:16pm
1
Hello everyone. Today I downloaded a fresh image according to the instructions octopi 1.0.0 with octoprint 1.9.2, everything set up, my Prusa MK3s+ prints, so far everything is fine. But one thing doesn't work. If the extruder is heated up and I click the buttons for extrude or retract in the controls, no GCode is displayed in the terminal and the extruder does not move either. I give manually
G91
G1 E10 F50
G90
on, the extruder moves. Why don't the buttons send any GCode to the terminal? The other controls (x, y, z moves) works great. Did I do something wrong?
many thanks
Systeminfo Bundle
You can download this in OctoPrint's System Information dialog ... no bundle, no support! )
octoprint-systeminfo-20230902221241.zip (325.8 KB)
Additional information about your setup
OctoPrint version 1.9.2, OctoPi version 1.0.0, PRUSA i3 MK3S+, 3.13.0, browser opera, operating system windows 10/7
Have you tested this in safe mode?
Actually, you are impacted by this bug:
opened 10:31PM - 10 Jul 23 UTC
bug
done
### The problem
After I edited the Printer Profile in the UI, i can't use Ext⦠rude / Retract from the Controls. The system console output shows the following exception:
```
2023-07-10 21:41:17,508 - octoprint - ERROR - Exception on /api/printer/tool [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2529, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/usr/local/lib/python3.8/site-packages/octoprint/server/util/flask.py", line 1613, in decorated_view
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/octoprint/vendor/flask_principal.py", line 196, in _decorated
rv = f(*args, **kw)
File "/usr/local/lib/python3.8/site-packages/octoprint/server/api/printer.py", line 141, in printerToolCommand
printer.extrude(amount, speed=speed, tags=tags)
File "/usr/local/lib/python3.8/site-packages/octoprint/printer/standard.py", line 564, in extrude
["G91", "M83", "G1 E%s F%d" % (amount, extrusion_speed), "M82", "G90"],
TypeError: %d format: a number is required, not str
```
i checked the profile file ( ../printerProfliles/ ) and it shows:
```
root@2ac12d7a5fd3:/octoprint/octoprint/printerProfiles# cat test.profile
axes:
e:
inverted: false
speed: '4323'
x:
inverted: false
speed: 2340
y:
inverted: false
speed: 234324
z:
inverted: false
speed: 2343
```
So i think cause this singlequotes, octoprint will interpreted it as string instead of float.
After i removed the singlequotes, it is working as expected.
### Did the issue persist even in safe mode?
Yes, it did persist
### If you could not test in safe mode, please state why
_No response_
### Version of OctoPrint
1.9.1
### Operating system running OctoPrint
docker (octoprint/octoprint)
### Printer model & used firmware incl. version
Creality Ender5 - Marlin 2.1.2.1
### Browser and version of browser, operating system running browser
firefox 102.10.0esr (64-bit), Linux 2ac12d7a5fd3 6.1.0-9-amd64
### Checklist of files to include below
- [X] Systeminfo Bundle (always include!)
- [ ] Contents of the JavaScript browser console (always include in cases of issues with the user interface)
- [ ] Screenshots and/or videos showing the problem (always include in case of issues with the user interface)
- [ ] GCODE file with which to reproduce (always include in case of issues with GCODE analysis or printing behaviour)
### Additional information & file uploads
[octoprint-systeminfo-20230710222929.zip](https://github.com/OctoPrint/OctoPrint/files/12008996/octoprint-systeminfo-20230710222929.zip)
1 Like
hedo
September 2, 2023, 8:57pm
3
Thank you for the info. I've read a lot in the last few hours, but I hadn't found this yet.