You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
plugin causes cura to crash when sending file to a printer with http basic authentication enabled.
To Reproduce
Steps to reproduce the behavior:
load a 3d model
slice
click 'print on printername' or 'upload to printername'
See error
Expected behavior
print starts on printer or file gets uploaded to printer
Version Information
Operating System: windows 11 pro 22H2
Cura Version: 5.4.0
Cura-DuetRRF Plugin Version and Installation: 1.2.9 installed via Marketplace
Duet RepRapFirmware Version: RepRapFirmware for STM32F4 based Boards 3.5beta2+_103 (2023-02-11)
Duet WiFi Server Version: 1.27-02S32-D
error traceback
Traceback (most recent call last):
File "C:\Users\thijs\AppData\Roaming\cura\5.4\plugins\DuetRRFPlugin\DuetRRFPlugin\DuetRRFOutputDevice.py", line 234, in _onFilenameAccepted
self._send('rr_connect',
File "C:\Users\thijs\AppData\Roaming\cura\5.4\plugins\DuetRRFPlugin\DuetRRFPlugin\DuetRRFOutputDevice.py", line 137, in _send
headers['Authorization'] = 'Basic ' + base64.b64encode(auth)
TypeError: can only concatenate str (not "bytes") to str
Cura Log
The text was updated successfully, but these errors were encountered:
Thijskunst
changed the title
http auth crash on cura 5.4
enabling http auth causes crash
Nov 20, 2023
In your local file C:\Users\thijs\AppData\Roaming\cura\5.4\plugins\DuetRRFPlugin\DuetRRFPlugin\DuetRRFOutputDevice.py n line 137, please change the line to:
sorry for my slow reply. I was in the proces of changing the kinematics, so i wasnt able to print anything.
i tested it and the plugin works now without any issue.
plugin causes cura to crash when sending file to a printer with http basic authentication enabled.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
print starts on printer or file gets uploaded to printer
Version Information
Duet WiFi Server Version: 1.27-02S32-D
error traceback
Traceback (most recent call last):
File "C:\Users\thijs\AppData\Roaming\cura\5.4\plugins\DuetRRFPlugin\DuetRRFPlugin\DuetRRFOutputDevice.py", line 234, in _onFilenameAccepted
self._send('rr_connect',
File "C:\Users\thijs\AppData\Roaming\cura\5.4\plugins\DuetRRFPlugin\DuetRRFPlugin\DuetRRFOutputDevice.py", line 137, in _send
headers['Authorization'] = 'Basic ' + base64.b64encode(auth)
TypeError: can only concatenate str (not "bytes") to str
Cura Log
The text was updated successfully, but these errors were encountered: