VMaxx / RepetierIntegration

Plugin for Cura to allow printing and monitoring
GNU Affero General Public License v3.0
40 stars 12 forks source link

Cura crashes when selecting a connection #57

Open G4Cab opened 2 years ago

G4Cab commented 2 years ago

When i try to connect to my repetier, i'll get always this error.

Using Cura 5.0 release and Repetierintegration from today ( 64a68f0 )

Errormessage:

Traceback (most recent call last): File "C:\Users\G4Cab\AppData\Roaming\cura\5.0\plugins\RepetierIntegration\DiscoverRepetierAction.py", line 573, in _onRequestFinished stream_url = json_data["webcams"][0]["dynamicUrl"].replace("127.0.0.1",re.findall( r'[0-9]+(?:.[0-9]+){3}', reply.url().toString())[0]) IndexError: list index out of range

image

image

VMaxx commented 2 years ago

look for this line in your cura.log and post it. DiscoverRepetierAction: webcams:

G4Cab commented 2 years ago
2022-06-12 18:38:54,031 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [569]: DiscoverRepetierAction: webcams: 1
2022-06-12 18:38:54,032 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [572]: DiscoverRepetierAction: Checking streamurl
2022-06-12 18:38:54,047 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [66]: An uncaught error has occurred!
2022-06-12 18:38:54,048 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]: Traceback (most recent call last):
2022-06-12 18:38:54,049 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]:   File "C:\Users\G4Cab\AppData\Roaming\cura\5.0\plugins\RepetierIntegration\DiscoverRepetierAction.py", line 573, in _onRequestFinished
2022-06-12 18:38:54,049 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]:     stream_url = json_data["webcams"][0]["dynamicUrl"].replace("127.0.0.1",re.findall( r'[0-9]+(?:\.[0-9]+){3}', reply.url().toString())[0])
2022-06-12 18:38:54,050 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]: IndexError: list index out of range
2022-06-12 18:38:54,503 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getPrinterList [262]: getPrinterList:base_url:http://Deadpool450-repetier:3344/
2022-06-12 18:38:54,506 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getPrinterList [264]: getPrinterList:http://deadpool450-repetier:3344/printer/info
2022-06-12 18:38:54,527 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [495]: http://deadpool450-repetier:3344/printer/info
2022-06-12 18:38:54,530 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [500]: http://deadpool450-repetier:3344/printer/info
2022-06-12 18:38:54,532 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [501]: {'apikey': 'blablablablablablablablablablablablablablabla', 'name': 'Repetier-Server Pro', 'printers': [{'active': False, 'name': 'EasyThreeD Nano', 'online': 0, 'slug': 'EasyThreeD_Nano'}, {'active': True, 'name': 'Deadpool450', 'online': 1, 'slug': 'Deadpool450'}], 'servername': 'Deadpool450', 'serveruuid': 'blablablablablablablablablablablablablablabla', 'version': '1.3.0'}
2022-06-12 18:38:54,534 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [507]: DiscoverRepetierAction: printers: 2
2022-06-12 18:38:54,536 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [511]: Slug: EasyThreeD_Nano
2022-06-12 18:38:54,538 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [511]: Slug: Deadpool450
2022-06-12 18:38:54,540 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [515]: DiscoverRepetierAction: apikey: blablablablablablablablablablablablablablabla
VMaxx commented 2 years ago

what do you have for dynamicurl. You can find it in the repetier setup here dynamicurl :

G4Cab commented 2 years ago

Dynamic http://192.168.101.1:8090/deadpool.mjpeg

Static http://192.168.101.1:8090/deadpool.jpg

Camerastream is provided from an ffmpegserver

VMaxx commented 2 years ago

OK I updated the DiscoverRepetierAction.py file. Please redownload it and try it again then send the log again. I suspect there is something missing in this part "reply.url().toString())[0]" so I am having it log what is in that value before it tries to use it later. I can then try to make a fix once I see what you're getting.

G4Cab commented 2 years ago

OK, replaced DiscoverRepetierAction.py and that's the log output:

2022-06-19 16:48:21,607 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [569]: DiscoverRepetierAction: webcams: 1
2022-06-19 16:48:21,608 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [572]: DiscoverRepetierAction: Checking streamurl
2022-06-19 16:48:21,609 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [573]: DiscoverRepetierAction: reply_url: PyQt6.QtCore.QUrl('http://sapphirepro-repetier:3344//printer/api/SapphirePro?a=getPrinterConfig&apikey=blablablablablablablablablablablablablablabla')
2022-06-19 16:48:21,623 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [66]: An uncaught error has occurred!
2022-06-19 16:48:21,623 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]: Traceback (most recent call last):
2022-06-19 16:48:21,624 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]:   File "C:\Users\G4Cab\AppData\Roaming\cura\5.0\plugins\RepetierIntegration\DiscoverRepetierAction.py", line 574, in _onRequestFinished
2022-06-19 16:48:21,624 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]:     stream_url = json_data["webcams"][0]["dynamicUrl"].replace("127.0.0.1",re.findall( r'[0-9]+(?:\.[0-9]+){3}', reply.url().toString())[0])
2022-06-19 16:48:21,625 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]: IndexError: list index out of range
2022-06-19 16:48:22,066 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getPrinterList [262]: getPrinterList:base_url:http://Deadpool450-repetier:3344/
2022-06-19 16:48:22,067 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getPrinterList [264]: getPrinterList:http://deadpool450-repetier:3344/printer/info
2022-06-19 16:48:22,085 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [495]: http://deadpool450-repetier:3344/printer/info
2022-06-19 16:48:22,087 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [500]: http://deadpool450-repetier:3344/printer/info
2022-06-19 16:48:22,087 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [501]: {'apikey': 'blablablablablablablablablablablablablablabla', 'name': 'Repetier-Server Pro', 'printers': [{'active': False, 'name': 'EasyThreeD Nano', 'online': 0, 'slug': 'EasyThreeD_Nano'}, {'active': False, 'name': 'Deadpool450', 'online': 0, 'slug': 'Deadpool450'}], 'servername': 'Deadpool450', 'serveruuid': '9a3879ae-6a6f-4696-b42c-5231a21b1d2f', 'version': '1.3.0'}
2022-06-19 16:48:22,088 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [507]: DiscoverRepetierAction: printers: 2
2022-06-19 16:48:22,088 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [511]: Slug: EasyThreeD_Nano
2022-06-19 16:48:22,090 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [511]: Slug: Deadpool450
2022-06-19 16:48:22,090 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [515]: DiscoverRepetierAction: apikey: blablablablablablablablablablablablablablabla
2022-06-19 16:48:22,582 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [495]: http://sapphirepro-repetier:3344//printer/api/SapphirePro?a=listModelGroups&apikey=blablablablablablablablablablablablablablabla
2022-06-19 16:48:22,583 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [528]: http://sapphirepro-repetier:3344//printer/api/SapphirePro?a=listModelGroups&apikey=blablablablablablablablablablablablablablabla
2022-06-19 16:48:22,584 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [529]: {'groupNames': ['#'], 'ok': True}
2022-06-19 16:48:22,585 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [534]: DiscoverRepetierAction: groupNames: 1
2022-06-19 16:48:22,586 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [538]: groupName: #
VMaxx commented 2 years ago

I uploaded another change to try.

G4Cab commented 2 years ago

And here we crash again:

2022-06-25 18:49:54,465 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [569]: DiscoverRepetierAction: webcams: 1
2022-06-25 18:49:54,466 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [572]: DiscoverRepetierAction: Checking streamurl
2022-06-25 18:49:54,466 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [573]: DiscoverRepetierAction: reply_url: PyQt6.QtCore.QUrl('http://sapphirepro-repetier:3344//printer/api/SapphirePro?a=getPrinterConfig&apikey=blablablablablablablablablablablablablablabla')
2022-06-25 18:49:54,503 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [66]: An uncaught error has occurred!
2022-06-25 18:49:54,504 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]: Traceback (most recent call last):
2022-06-25 18:49:54,504 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]:   File "C:\Users\G4Cab\AppData\Roaming\cura\5.0\plugins\RepetierIntegration\DiscoverRepetierAction.py", line 577, in _onRequestFinished
2022-06-25 18:49:54,505 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]:     Logger.log("d", "DiscoverRepetierAction: stream_url: %s",stream_url)
2022-06-25 18:49:54,506 - CRITICAL - [MainThread] cura.CrashHandler.__init__ [69]: UnboundLocalError: local variable 'stream_url' referenced before assignment
2022-06-25 18:49:54,914 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getPrinterList [262]: getPrinterList:base_url:http://Deadpool450-repetier:3344/
2022-06-25 18:49:54,915 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getPrinterList [264]: getPrinterList:http://deadpool450-repetier:3344/printer/info
2022-06-25 18:49:54,947 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [495]: http://deadpool450-repetier:3344/printer/info
2022-06-25 18:49:54,948 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [500]: http://deadpool450-repetier:3344/printer/info
2022-06-25 18:49:54,948 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [501]: {'apikey': 'blablablablablablablablablablablablablablabla', 'name': 'Repetier-Server Pro', 'printers': [{'active': False, 'name': 'EasyThreeD Nano', 'online': 0, 'slug': 'EasyThreeD_Nano'}, {'active': True, 'name': 'Deadpool450', 'online': 0, 'slug': 'Deadpool450'}], 'servername': 'Deadpool450', 'serveruuid': 'blablablablablablablablablablablablablablabla', 'version': '1.3.0'}
2022-06-25 18:49:54,949 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [507]: DiscoverRepetierAction: printers: 2
2022-06-25 18:49:54,949 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [511]: Slug: EasyThreeD_Nano
2022-06-25 18:49:54,950 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [511]: Slug: Deadpool450
2022-06-25 18:49:54,950 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [515]: DiscoverRepetierAction: apikey: blablablablablablablablablablablablablablabla
2022-06-25 18:49:55,429 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [495]: http://sapphirepro-repetier:3344//printer/api/SapphirePro?a=listModelGroups&apikey=blablablablablablablablablablablablablablabla
2022-06-25 18:49:55,432 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [528]: http://sapphirepro-repetier:3344//printer/api/SapphirePro?a=listModelGroups&apikey=blablablablablablablablablablablablablablabla
2022-06-25 18:49:55,435 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [529]: {'groupNames': ['#'], 'ok': True}
2022-06-25 18:49:55,437 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [534]: DiscoverRepetierAction: groupNames: 1
2022-06-25 18:49:55,440 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [538]: groupName: #
VMaxx commented 2 years ago

Ok I put another update.

G4Cab commented 2 years ago

OK, now it don't crashes cura anymore. But i can't connect, same trouble like anytimes, get printers -> select printer -> OK -> insert Api-Key -> Repetier printer name hasn't been selected, please edit .....

If you want, i can give you teamviewer access

Here's the log:

2022-06-26 20:47:56,905 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getPrinterList [262]: getPrinterList:base_url:http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/
2022-06-26 20:47:56,906 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getPrinterList [264]: getPrinterList:http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/printer/info
2022-06-26 20:47:57,013 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [495]: http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/printer/info
2022-06-26 20:47:57,015 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [500]: http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/printer/info
2022-06-26 20:47:57,016 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [501]: {'apikey': 'blablablablablablablablablablablablablablabla', 'name': 'Repetier-Server Pro', 'printers': [{'active': False, 'name': 'EasyThreeD Nano', 'online': 0, 'slug': 'EasyThreeD_Nano'}, {'active': True, 'name': 'Deadpool450', 'online': 0, 'slug': 'Deadpool450'}], 'servername': 'Deadpool450', 'serveruuid': 'blablablablablablablablablablablablablablabla', 'version': '1.3.0'}
2022-06-26 20:47:57,017 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [507]: DiscoverRepetierAction: printers: 2
2022-06-26 20:47:57,017 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [511]: Slug: EasyThreeD_Nano
2022-06-26 20:47:57,018 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [511]: Slug: Deadpool450
2022-06-26 20:47:57,019 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [515]: DiscoverRepetierAction: apikey: blablablablablablablablablablablablablablabla
2022-06-26 20:47:59,205 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getPrinterList [262]: getPrinterList:base_url:http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/
2022-06-26 20:47:59,208 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getPrinterList [264]: getPrinterList:http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/printer/info
2022-06-26 20:47:59,230 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [495]: http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/printer/info
2022-06-26 20:47:59,234 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [500]: http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/printer/info
2022-06-26 20:47:59,237 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [501]: {'apikey': 'blablablablablablablablablablablablablablabla', 'name': 'Repetier-Server Pro', 'printers': [{'active': False, 'name': 'EasyThreeD Nano', 'online': 0, 'slug': 'EasyThreeD_Nano'}, {'active': True, 'name': 'Deadpool450', 'online': 0, 'slug': 'Deadpool450'}], 'servername': 'Deadpool450', 'serveruuid': 'blablablablablablablablablablablablablablabla', 'version': '1.3.0'}
2022-06-26 20:47:59,240 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [507]: DiscoverRepetierAction: printers: 2
2022-06-26 20:47:59,244 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [511]: Slug: EasyThreeD_Nano
2022-06-26 20:47:59,247 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [511]: Slug: Deadpool450
2022-06-26 20:47:59,250 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [515]: DiscoverRepetierAction: apikey: blablablablablablablablablablablablablablabla
2022-06-26 20:48:03,395 - WARNING - [MainThread] cura.Settings.ContainerManager.getContainerMetaDataEntry [62]: Could not get metadata of container Deadpool450 because it was not found.
2022-06-26 20:48:03,396 - WARNING - [MainThread] cura.Settings.ContainerManager.getContainerMetaDataEntry [62]: Could not get metadata of container Deadpool450 because it was not found.
2022-06-26 20:48:05,533 - DEBUG - [MainThread] cura.AutoSave._onTimeout [64]: Autosaving preferences, instances and profiles took 0.04510903358459473 seconds
2022-06-26 20:48:51,395 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getPrinterList [262]: getPrinterList:base_url:http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/
2022-06-26 20:48:51,396 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getPrinterList [264]: getPrinterList:http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/printer/info
2022-06-26 20:48:51,409 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [495]: http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/printer/info
2022-06-26 20:48:51,410 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [500]: http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/printer/info
2022-06-26 20:48:51,411 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [501]: {'apikey': 'blablablablablablablablablablablablablablabla', 'name': 'Repetier-Server Pro', 'printers': [{'active': False, 'name': 'EasyThreeD Nano', 'online': 0, 'slug': 'EasyThreeD_Nano'}, {'active': True, 'name': 'Deadpool450', 'online': 1, 'slug': 'Deadpool450'}], 'servername': 'Deadpool450', 'serveruuid': 'blablablablablablablablablablablablablablabla', 'version': '1.3.0'}
2022-06-26 20:48:51,411 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [507]: DiscoverRepetierAction: printers: 2
2022-06-26 20:48:51,412 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [511]: Slug: EasyThreeD_Nano
2022-06-26 20:48:51,413 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [511]: Slug: Deadpool450
2022-06-26 20:48:51,414 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [515]: DiscoverRepetierAction: apikey: blablablablablablablablablablablablablablabla
2022-06-26 20:48:54,129 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.testApiKey [299]: Trying to access Repetier instance at http://SapphirePro-Repetier:3344/ with the provided API key.
2022-06-26 20:48:54,130 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.testApiKey [300]: Using SapphirePro as work_id
2022-06-26 20:48:54,132 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.testApiKey [301]: Using blablablablablablablablablablablablablablabla as api_key
2022-06-26 20:48:54,134 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getModelGroups [274]: getModelGroups:http://sapphirepro-repetier:3344//printer/api/SapphirePro?a=listModelGroups&apikey=blablablablablablablablablablablablablablabla
2022-06-26 20:48:54,143 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice.__init__ [107]: Repetier_ID: Deadpool450
2022-06-26 20:48:54,144 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice.__init__ [134]: NAME IS: Deadpool450
2022-06-26 20:48:54,146 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice.__init__ [135]: ADDRESS IS: deadpool450-repetier.golf-4-cab.dynv6.net
2022-06-26 20:48:54,163 - WARNING - [MainThread] cura.Settings.ContainerManager.getContainerMetaDataEntry [62]: Could not get metadata of container Deadpool450 because it was not found.
2022-06-26 20:48:54,167 - WARNING - [MainThread] cura.Settings.ContainerManager.getContainerMetaDataEntry [62]: Could not get metadata of container Deadpool450 because it was not found.
2022-06-26 20:48:54,193 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [495]: http://sapphirepro-repetier:3344//printer/api/SapphirePro?a=listModelGroups&apikey=blablablablablablablablablablablablablablabla
2022-06-26 20:48:54,194 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [528]: http://sapphirepro-repetier:3344//printer/api/SapphirePro?a=listModelGroups&apikey=blablablablablablablablablablablablablablabla
2022-06-26 20:48:54,196 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [529]: {'groupNames': ['#'], 'ok': True}
2022-06-26 20:48:54,200 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [534]: DiscoverRepetierAction: groupNames: 1
2022-06-26 20:48:54,202 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [538]: groupName: #
2022-06-26 20:48:54,203 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [495]: http://sapphirepro-repetier:3344//printer/api/SapphirePro?a=getPrinterConfig&apikey=blablablablablablablablablablablablablablabla
2022-06-26 20:48:54,204 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [546]: API key accepted by Repetier.
2022-06-26 20:48:54,207 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [551]: http://sapphirepro-repetier:3344//printer/api/SapphirePro?a=getPrinterConfig&apikey=blablablablablablablablablablablablablablabla
2022-06-26 20:48:54,208 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [552]: {'buttonCommands': [{'command': '', 'name': 'Auto Bed Leveling'}, {'command': '', 'name': 'Home'}, {'command': '', 'name': 'Home X'}, {'command': '', 'name': 'Home Y'}, {'command': '', 'name': 'Home Z'}, {'command': '', 'name': 'Light Off'}, {'command': '', 'name': 'Light On'}, {'command': '', 'name': 'Motors Off'}, {'command': '', 'name': 'Power Off'}, {'command': '', 'name': 'Power On'}], 'connection': {'connectionMethod': 0, 'continueAfterFastReconnect': True, 'ip': {'address': '', 'port': 23}, 'lcdTimeMode': 4, 'password': '', 'pipe': {'file': ''}, 'powerOffIdleMinutes': 0, 'powerOffMaxTemperature': 50, 'resetScript': '', 'serial': {'baudrate': 256000, 'communicationTimeout': 3.0, 'connectionDelay': 0, 'device': '/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0', 'dtr': 0, 'emergencySolution': 0, 'inputBufferSize': 63, 'interceptor': True, 'malyanHack': False, 'maxParallelCommands': 0, 'pingPong': False, 'rts': 0, 'usbreset': 0, 'visibleWithoutRunning': False}}, 'extruders': [{'acceleration': 250.0, 'alias': 'links', 'changeFastDistance': 20.0, 'changeSlowDistance': 20.0, 'cooldownPerSecond': 0.5, 'eJerk': 2.0, 'extrudeSpeed': 2.0, 'filamentDiameter': 1.75, 'heatupPerSecond': 2.0, 'lastTemp': 240, 'maxSpeed': 20.000004, 'maxTemp': 260, 'num': 0, 'offset': 0.0, 'offsetX': 0.0, 'offsetY': 0.0, 'retractSpeed': 20.000004, 'supportTemperature': True, 'tempMaster': 0, 'temperatures': [{'name': 'StandBy 100', 'temp': 100.0}, {'name': 'PLA 215', 'temp': 215.0}, {'name': 'PET 230', 'temp': 230.0}, {'name': 'ABS 255', 'temp': 255.0}], 'toolDiameter': 0.4, 'toolType': 0}, {'acceleration': 250.0, 'alias': 'rechts', 'changeFastDistance': 20.0, 'changeSlowDistance': 20.0, 'cooldownPerSecond': 0.5, 'eJerk': 2.0, 'extrudeSpeed': 2.0, 'filamentDiameter': 1.75, 'heatupPerSecond': 2.0, 'lastTemp': 240, 'maxSpeed': 20.000004, 'maxTemp': 260, 'num': 1, 'offset': 0.0, 'offsetX': 0.0, 'offsetY': 0.0, 'retractSpeed': 20.000004, 'supportTemperature': True, 'tempMaster': 0, 'temperatures': [{'name': 'StandBy 100', 'temp': 100.0}, {'name': 'PLA 215', 'temp': 215.0}, {'name': 'PET 230', 'temp': 230.0}, {'name': 'ABS 255', 'temp': 255.0}], 'toolDiameter': 0.4, 'toolType': 0}], 'gcodeReplacements': [], 'general': {'active': True, 'defaultVolumetric': False, 'doorHandling': 1, 'eepromType': 'marlin', 'firmwareName': 'Marlin', 'heatedBed': True, 'logHistory': True, 'manufacturer': 'TwoTrees', 'model': 'SapphirePro', 'name': 'SapphirePro', 'numFans': 1, 'pauseHandling': 0, 'pauseSeconds': 120, 'printerHomepage': 'http://192.168.1.33/', 'printerManual': '', 'printerVariant': 'cartesian', 'sdcard': False, 'slug': 'SapphirePro', 'softwareLight': False, 'softwarePower': False, 'tempUpdateEvery': 1, 'useModelFromSlug': '', 'useOwnModelRepository': True}, 'heatedBeds': [{'alias': '', 'cooldownPerSecond': 0.1, 'heatupPerSecond': 0.1, 'lastTemp': 100, 'maxTemp': 110, 'offset': 0, 'temperatures': [{'name': 'PLA 55', 'temp': 55.0}, {'name': 'PETG 75', 'temp': 75.0}, {'name': 'ASA 110', 'temp': 110.0}]}], 'heatedChambers': [], 'movement': {'G10Distance': 3.0, 'G10LongDistance': 50.0, 'G10Speed': 50.0, 'G10ZLift': 0.0, 'G11ExtraDistance': 0.0, 'G11ExtraLongDistance': 0.0, 'G11Speed': 50.0, 'allEndstops': True, 'autolevel': False, 'defaultAcceleration': 10000.0, 'defaultRetractAcceleration': 4000.0, 'defaultTravelAcceleration': 10000.0, 'invertX': False, 'invertY': False, 'invertZ': False, 'maxXYSpeed': 5000.0, 'maxZSpeed': 1200.0, 'movebuffer': 16, 'timeMultiplier': 1.0, 'xEndstop': True, 'xHome': 0.0, 'xMax': 222.0, 'xMin': 0.0, 'xyJerk': 41.7, 'xyPrintAcceleration': 2200.0, 'xySpeed': 100.0, 'xyTravelAcceleration': 2200.0, 'yEndstop': True, 'yHome': 0.0, 'yMax': 218.0, 'yMin': 0.0, 'zEndstop': True, 'zHome': 0.0, 'zJerk': 1.0, 'zMax': 235.0, 'zMin': 0.0, 'zPrintAcceleration': 90.0, 'zSpeed': 2.0, 'zTravelAcceleration': 90.0}, 'properties': {}, 'quickCommands': [{'command': 'M401\n', 'icon': '', 'name': 'BLTouch deploy probe', 'visibleWhenPrinting': True}, {'command': 'M402\n', 'icon': '', 'name': 'BLTouch stow probe', 'visibleWhenPrinting': True}, {'command': 'M280 P0 S160\nM401\nM402\nM401\nM402\nM401\nM402\nM401\nM402\nM280 P0 S160\n', 'icon': '', 'name': 'BLTouch self test', 'visibleWhenPrinting': True}], 'recover': {'delayBeforeReconnect': 30, 'enabled': False, 'extraZOnFirmwareDetect': 0.0, 'firmwarePowerlossSignal': '', 'maxTimeForAutocontinue': 300, 'procedure': 'G28 X0 Y0 R0', 'reactivateBedOnConnect': True, 'replayExtruderSwitches': False, 'runOnConnect': 'G28 X0 Y0 R0'}, 'responseEvents': [], 'shape': {'basicShape': {'angle': 45.0, 'color': '#111111', 'radius': 100, 'shape': 'rectangle', 'x': 0, 'xMax': 222.0, 'xMin': 0.0, 'y': 0, 'yMax': 218.0, 'yMin': 0.0}, 'gridColor': '#cccccc', 'gridSpacing': 10.0, 'marker': []}, 'webcams': [{'dynamicUrl': 'http://192.168.101.1:8090/sapphire.mjpeg', 'forceSnapshotPosition': False, 'method': 3, 'orientation': 0, 'pos': 0, 'reloadInterval': 3.0, 'snapshotDelay': 800, 'snapshotStabilizeTime': 50, 'snapshotX': 111.0, 'snapshotY': 218.0, 'staticUrl': 'http://192.168.101.1:8090/sapphire.jpg', 'timelapseBitrate': 1000, 'timelapseFramerate': 30, 'timelapseHeight': 0.1, 'timelapseInterval': 20.0, 'timelapseLayer': 1, 'timelapseMethod': 1, 'timelapseSelected': 0}], 'wizardCommands': [], 'wizardTemplates': [{'author': 'Repetier', 'command': '@set global.icon \'<svg version="1.1" viewBox="-10 0 813 1000">   <path fill="currentColor" d="M742.9 692.005c1.37012 14.1963 1.37012 28.4482 0 42.6445l35.7354 20.627c10.5771 6.10645 15.7061 18.5645 12.543 30.3613c-12.7988 47.7275 -37.9775 90.3896 -71.8867 124.336c-8.61914 8.62793 -21.9668 10.376 -32.5273 4.27734l-35.6689 -20.6016c-11.5234 8.24609 -23.8926 15.4121 -36.9199 21.3428v41.2451c0 12.2148 -8.21875 22.9014 -20.0244 26.041c-46.9229 12.4805 -96.6982 12.4639 -143.563 0c-11.5166 -3.06445 -20.0205 -13.5664 -20.0225 -26.042v-41.2441c-13.0273 -5.93066 -25.3975 -13.0967 -36.9189 -21.3447l-35.6689 20.6016c-10.5605 6.10059 -23.9092 4.35059 -32.5273 -4.27539c-33.9092 -33.9482 -59.0898 -76.6084 -71.8867 -124.338c-3.16309 -11.7959 1.96582 -24.2529 12.5439 -30.3594l35.7334 -20.6289c-0.68457 -7.08984 -1.03516 -13.8301 -1.03516 -21.0977c0 -7.26855 0.350586 -14.4561 1.03516 -21.5449l-35.7334 -20.6289c-10.5781 -6.10547 -15.707 -18.5645 -12.5439 -30.3604c12.7969 -47.7295 37.9775 -90.3896 71.8867 -124.336c8.61816 -8.62793 21.9668 -10.3779 32.5273 -4.27734l35.6689 20.6016c11.5234 -8.24805 23.8916 -15.4141 36.9189 -21.3447v-41.2441c0 -12.2158 8.2207 -22.9023 20.0254 -26.042c46.9219 -12.4795 96.6992 -12.4639 143.563 0.000976562c11.5166 3.06348 20.0205 13.5674 20.0215 26.041v41.2461c13.0283 5.92969 25.3965 13.0967 36.9199 21.3438l35.6689 -20.6025c10.5605 -6.09863 23.9082 -4.35059 32.5273 4.27734c33.9092 33.9473 59.0879 76.6074 71.8867 124.337c3.16309 11.7969 -1.96582 24.2539 -12.543 30.3594zM683.784 762.725c8.56641 -46.3682 8.56445 -52.4473 0 -98.7959l49.1738 -28.3779c-8.9209 -24.0918 -21.8477 -46.2881 -37.9844 -65.6816l-49.1865 28.4023c-35.8789 -30.7344 -41.1436 -33.7559 -85.4756 -49.4111v-56.7822c-12.4014 -2.11719 -24.7314 -3.21875 -37.7324 -3.21875c-13.0029 0 -25.7471 1.10156 -38.1484 3.21875v56.7812c-44.3359 15.6562 -49.583 18.665 -85.4766 49.4102l-49.1846 -28.4023c-16.3164 19.6162 -29.1768 41.8594 -37.9854 65.6816l49.1738 28.3799c-8.56641 46.3682 -8.5625 52.4502 0 98.7959l-49.1738 28.3799c8.9209 24.0928 21.8457 46.2881 37.9854 65.6807l49.1846 -28.4023c35.8799 30.7344 41.1445 33.7559 85.4766 49.4092v56.7832c12.4014 2.11621 24.7324 3.21973 37.7324 3.21973c13.001 0 25.7471 -1.10352 38.1484 -3.21973v-56.7832c44.3379 -15.6562 49.583 -18.6631 85.4756 -49.4092l49.1865 28.4023c16.1367 -19.3926 29.0635 -41.5879 37.9844 -65.6807zM522.371 605.596c59.4043 0 107.731 48.3271 107.731 107.731s-48.3271 107.731 -107.731 107.731s-107.731 -48.3271 -107.731 -107.731s48.3271 -107.731 107.731 -107.731zM522.371 767.193c29.7031 0 53.8662 -24.1631 53.8662 -53.8662c0 -29.7012 -24.1631 -53.8662 -53.8662 -53.8662s-53.8662 24.165 -53.8662 53.8662c0 29.7031 24.1631 53.8662 53.8662 53.8662zM0 0h500v231h-154v88l-96 105l-96 -105v-88h-154v-231z" ! < svg></path></svg>\'\n\n@func showEStepsFinalDialog\n  @dialogStart "Would you like to calibrate again?" "E-Steps Wizard"\n    @dialogIcon {{global.icon}}\n    @dialogBlockingJob \n    @dialogButton "No" \n    @dialogButton "Yes" \'@eval "@call showEStepsSetupDialog"\' \n  @dialogShow\n@endfunc\n\n@func setNewEsteps\n  M92 E{{global.eStepsNew}}\n  M500\n  @info "Settings Saved"\n  @call showEStepsFinalDialog \n@endfunc\n\n@func showEStepsNewValuesDialog\n  @dialogStart "<p>Old E-Steps: {{global.eSteps}} <br> New E-Steps: {{global.eStepsNew}} <br><br> Should those new values be adopted? </p>" "E-Steps Wizard"\n    @dialogIcon {{global.icon}}\n    @dialogBlockingJob \n    @dialogButton "No" \n    @dialogButton "Yes" "@call setNewEsteps" \n  @dialogShow\n@endfunc\n\n@func calcualteESteps eActualDistance\n  @set global.eStepsNew {{(global.eSteps * global.eDistance) / local.eActualDistance}}\n  @call showEStepsNewValuesDialog\n@endfunc\n\n@func showEStepsCalibDialog\n  @dialogStart "Please enter the actual movement of the filament you measured" "E-Steps Wizard"\n    @dialogBlockingJob\n    @dialogIcon {{global.icon}}\n    @dialogInputDouble "Actual Extruding Distance" eActualDistance default({{global.eDistance}})\n    @dialogButton "Cancel" \n    @dialogButton "Calculate" "@call calcualteESteps {{form.eActualDistance}}" \n  @dialogShow\n@endfunc\n\n@func showEStepsSetupDialog\n  @dialogStart "This is a Wizard for calibrating the Extruder steps per mm. Please make sure your extruder is heated up properly! " "E-Steps Wizard"\n    @dialogBlockingJob\n    @dialogIcon {{global.icon}}\n    @dialogInputInt "Extruding Distance" global.eDistance default(10)\n    @dialogInputInt "Current Steps per mm" global.eSteps default(90) \n    @dialogButton "Cancel" \n    @dialogButton "Start" " M92 E0 \\n G1 E{{global.eDistance}} F60 \\n @call showEStepsCalibDialog" \n  @dialogShow\n@endfunc\n\n@call showEStepsSetupDialog\n', 'description': 'A wizard to calibrate the steps/mm for your extruder', 'icon': '<svg version="1.1" viewBox="-10 0 813 1000">\n   <path fill="currentColor" d="M742.9 692.005c1.37012 14.1963 1.37012 28.4482 0 42.6445l35.7354 20.627c10.5771 6.10645 15.7061 18.5645 12.543 30.3613c-12.7988 47.7275 -37.9775 90.3896 -71.8867 124.336c-8.61914 8.62793 -21.9668 10.376 -32.5273 4.27734l-35.6689 -20.6016\nc-11.5234 8.24609 -23.8926 15.4121 -36.9199 21.3428v41.2451c0 12.2148 -8.21875 22.9014 -20.0244 26.041c-46.9229 12.4805 -96.6982 12.4639 -143.563 0c-11.5166 -3.06445 -20.0205 -13.5664 -20.0225 -26.042v-41.2441\nc-13.0273 -5.93066 -25.3975 -13.0967 -36.9189 -21.3447l-35.6689 20.6016c-10.5605 6.10059 -23.9092 4.35059 -32.5273 -4.27539c-33.9092 -33.9482 -59.0898 -76.6084 -71.8867 -124.338c-3.16309 -11.7959 1.96582 -24.2529 12.5439 -30.3594l35.7334 -20.6289\nc-0.68457 -7.08984 -1.03516 -13.8301 -1.03516 -21.0977c0 -7.26855 0.350586 -14.4561 1.03516 -21.5449l-35.7334 -20.6289c-10.5781 -6.10547 -15.707 -18.5645 -12.5439 -30.3604c12.7969 -47.7295 37.9775 -90.3896 71.8867 -124.336\nc8.61816 -8.62793 21.9668 -10.3779 32.5273 -4.27734l35.6689 20.6016c11.5234 -8.24805 23.8916 -15.4141 36.9189 -21.3447v-41.2441c0 -12.2158 8.2207 -22.9023 20.0254 -26.042c46.9219 -12.4795 96.6992 -12.4639 143.563 0.000976562\nc11.5166 3.06348 20.0205 13.5674 20.0215 26.041v41.2461c13.0283 5.92969 25.3965 13.0967 36.9199 21.3438l35.6689 -20.6025c10.5605 -6.09863 23.9082 -4.35059 32.5273 4.27734c33.9092 33.9473 59.0879 76.6074 71.8867 124.337\nc3.16309 11.7969 -1.96582 24.2539 -12.543 30.3594zM683.784 762.725c8.56641 -46.3682 8.56445 -52.4473 0 -98.7959l49.1738 -28.3779c-8.9209 -24.0918 -21.8477 -46.2881 -37.9844 -65.6816l-49.1865 28.4023c-35.8789 -30.7344 -41.1436 -33.7559 -85.4756 -49.4111\nv-56.7822c-12.4014 -2.11719 -24.7314 -3.21875 -37.7324 -3.21875c-13.0029 0 -25.7471 1.10156 -38.1484 3.21875v56.7812c-44.3359 15.6562 -49.583 18.665 -85.4766 49.4102l-49.1846 -28.4023c-16.3164 19.6162 -29.1768 41.8594 -37.9854 65.6816l49.1738 28.3799\nc-8.56641 46.3682 -8.5625 52.4502 0 98.7959l-49.1738 28.3799c8.9209 24.0928 21.8457 46.2881 37.9854 65.6807l49.1846 -28.4023c35.8799 30.7344 41.1445 33.7559 85.4766 49.4092v56.7832c12.4014 2.11621 24.7324 3.21973 37.7324 3.21973\nc13.001 0 25.7471 -1.10352 38.1484 -3.21973v-56.7832c44.3379 -15.6562 49.583 -18.6631 85.4756 -49.4092l49.1865 28.4023c16.1367 -19.3926 29.0635 -41.5879 37.9844 -65.6807zM522.371 605.596c59.4043 0 107.731 48.3271 107.731 107.731\ns-48.3271 107.731 -107.731 107.731s-107.731 -48.3271 -107.731 -107.731s48.3271 -107.731 107.731 -107.731zM522.371 767.193c29.7031 0 53.8662 -24.1631 53.8662 -53.8662c0 -29.7012 -24.1631 -53.8662 -53.8662 -53.8662s-53.8662 24.165 -53.8662 53.8662\nc0 29.7031 24.1631 53.8662 53.8662 53.8662zM0 0h500v231h-154v88l-96 105l-96 -105v-88h-154v-231z" ! < svg></path></svg>', 'name': 'Extruder Calibration', 'source': 1, 'uuid': 'blablablablablablablablablablablablablablabla', 'version': 1, 'visibleWhenPrinting': False}, {'author': 'Repetier', 'command': '@func MBLDriveTo x y\n    G1 Z{{fixed(min(perm.manBedLevZhop + perm.manBedLevZoffset, config.move_z_max),3)}} F{{fixed(config.speed_z_per_minute,0)}}\n    G1 X{{fixed(local.x,2)}} Y{{fixed(local.y,2)}} F{{fixed(config.speed_xy_per_minute,0)}}\n    G1 Z{{fixed(local.manBedLevZoffset,3)}}  F{{fixed(config.speed_z_per_minute,0)}}\n    @call MBLCartesian\n@endfunc\n\n@func MBLDriveToDelta angle dist\n    G1 Z{{fixed(min(perm.manBedLevZhop + perm.manBedLevZoffset, config.move_z_max),3)}} F{{fixed(config.speed_z_per_minute,0)}}\n    G1 X{{fixed(local.dist*cos(to_rad(local.angle)),2)}} Y{{fixed(local.dist*sin(to_rad(local.angle)),2)}} F{{fixed(config.speed_xy_per_minute,0)}}\n    G1 Z{{fixed(local.manBedLevZoffset,3)}}  F{{fixed(config.speed_z_per_minute,0)}}\n    @call MBLDelta\n@endfunc\n\n@func MBLStart\n    G28\n    @if {{config.bed_shape == "circle"}}\n        @call MBLDelta\n    @else\n        @call MBLCartesian\n    @endif\n@endfunc\n\n@func MBLCartesian\n    @set local.middleX {{(config.bed_x_min + config.bed_x_max) / 2}}\n    @set local.middleY {{(config.bed_y_min + config.bed_y_max) / 2}}\n    @dialogStart "Offset x and y are the distances of the points to the bed border. If you measure with a piece of paper, you should level for z height 0. If you have a block of known height that you push between bed and nozzle, enter the object height instead. With z hop printer raises head when traveling between the points." "Manual Bed Leveling"\n        @dialogIcon \'<svg version="1.1" viewBox="-10 0 1011 1000">   <path fill="currentColor" d="M494.27 425.45c41.6104 33.8623 68.2715 54.5059 88.3301 102.375c24.0908 57.4873 18.9805 92.1377 18.25 155.138l-116.069 -0.788086c0.729492 -44.0996 8.93066 -57.5654 -6.57031 -96.8623c-14.5996 -37.0127 -32.8496 -49.6123 -60.5898 -77.9629zM2.91016 800.85l713.939 -787.5l81.7607 85.0508l-534.36 581.175h726.05v121.274h-987.39z"></path></svg>\'\n        @dialogInputDouble "Offset X [mm]" perm.manBedLevXoffset default({{get("perm","manBedLevXoffset","20")}}) min(0) max({{local.middleX}})\n        @dialogInputDouble "Offset Y [mm]" perm.manBedLevYoffset default({{get("perm","manBedLevYoffset","20")}}) min(0) max({{local.middleY}})\n        @dialogInputDouble "Measure Z at [mm]" perm.manBedLevZoffset default({{get("perm","manBedLevZoffset","0")}}) min(0) max({{config.move_z_max}})\n        @dialogInputDouble "Z Hop [mm]" perm.manBedLevZhop default({{get("perm","manBedLevZhop","5")}}) min(0) max({{config.move_z_max}})\n        @dialogButton "Top-Left" "@call MBLDriveTo {{config.bed_x_min + perm.manBedLevXoffset}} {{config.bed_y_max - perm.manBedLevYoffset}}"\n        @dialogButton "Top-Right" "@call MBLDriveTo {{config.bed_x_max - perm.manBedLevXoffset}} {{config.bed_y_max - perm.manBedLevYoffset}}"\n        @dialogButton "Center" "@call MBLDriveTo {{(config.bed_x_min + config.bed_x_max) / 2}} {{(config.bed_y_min + config.bed_y_max) / 2}}"\n        @dialogButton "Bottom-Left" "@call MBLDriveTo {{config.bed_x_min + perm.manBedLevXoffset}} {{config.bed_y_min + perm.manBedLevYoffset}}"\n        @dialogButton "Bottom-Right" "@call MBLDriveTo {{config.bed_x_max - perm.manBedLevXoffset}} {{config.bed_y_min + perm.manBedLevYoffset}}"\n        @dialogButton "Finished"\n    @dialogShow\n@endfunc\n\n@func MBLDelta\n    @dialogStart "Offset is the distance of the points to the bed border. If you measure with a piece of paper, you should level for z height 0. If you have a block of known height that you push between bed and nozzle, enter the object height instead. With z hop printer raises head when traveling between the points." "Manual Bed Leveling"\n        @dialogIcon \'<svg version="1.1" viewBox="-10 0 1011 1000">   <path fill="currentColor" d="M494.27 425.45c41.6104 33.8623 68.2715 54.5059 88.3301 102.375c24.0908 57.4873 18.9805 92.1377 18.25 155.138l-116.069 -0.788086c0.729492 -44.0996 8.93066 -57.5654 -6.57031 -96.8623c-14.5996 -37.0127 -32.8496 -49.6123 -60.5898 -77.9629zM2.91016 800.85l713.939 -787.5l81.7607 85.0508l-534.36 581.175h726.05v121.274h-987.39z"></path></svg>\'\n        @dialogInputDouble "Offset [mm]" perm.manBedLevXoffset default({{get("perm","manBedLevOffset","20")}}) min(0) max({{config.bed_radius / 2}})\n        @dialogInputDouble "Measure Z at [mm]" perm.manBedLevZoffset default({{get("perm","manBedLevZoffset","0")}}) min(0) max({{config.move_z_max}})\n        @dialogInputDouble "Z Hop [mm]" perm.manBedLevZhop default({{get("perm","manBedLevZhop","5")}}) min(0) max({{config.move_z_max}})\n        @dialogButton "Tower A" "@call MBLDriveToDelta 210 {{config.bed_radius - perm.manBedLevOffset}}"\n        @dialogButton "Tower B" "@call MBLDriveToDelta 330 {{config.bed_radius - perm.manBedLevOffset}}"\n        @dialogButton "Tower C" "@call MBLDriveToDelta 90 {{config.bed_radius - perm.manBedLevOffset}}"\n        @dialogButton "Center" "@call MBLDriveToDelta 0 0"\n        @dialogButton "Finished"\n    @dialogShow\n@endfunc\n\n@if {{job.running}}\n    @error "Manual bed leveling during print not possible!"\n@else\n    @dialogStart "This wizard is meant for manual bed leveling. It will offer buttons to quickly move to the edges and center. At first it will home, so please make sure bed is free of obstacles." "Manual Bed Leveling"\n    @dialogIcon \'<svg version="1.1" viewBox="-10 0 1011 1000">   <path fill="currentColor" d="M494.27 425.45c41.6104 33.8623 68.2715 54.5059 88.3301 102.375c24.0908 57.4873 18.9805 92.1377 18.25 155.138l-116.069 -0.788086c0.729492 -44.0996 8.93066 -57.5654 -6.57031 -96.8623c-14.5996 -37.0127 -32.8496 -49.6123 -60.5898 -77.9629zM2.91016 800.85l713.939 -787.5l81.7607 85.0508l-534.36 581.175h726.05v121.274h-987.39z"></path></svg>\'\n    @dialogButton "Bed cleared - Start" "@call MBLStart"\n    @dialogButton "Cancel"\n    @dialogShow\n@endif\n', 'description': 'A wizard that helps you leveling your bed by driving to specific locations', 'icon': '<svg version="1.1" viewBox="-10 0 1011 1000">\n   <path fill="currentColor" d="M494.27 425.45c41.6104 33.8623 68.2715 54.5059 88.3301 102.375c24.0908 57.4873 18.9805 92.1377 18.25 155.138l-116.069 -0.788086c0.729492 -44.0996 8.93066 -57.5654 -6.57031 -96.8623c-14.5996 -37.0127 -32.8496 -49.6123 -60.5898 -77.9629zM2.91016 800.85\nl713.939 -787.5l81.7607 85.0508l-534.36 581.175h726.05v121.274h-987.39z"></path>\n</svg>', 'name': 'Manual Bed Leveling', 'source': 1, 'uuid': 'blablablablablablablablablablablablablablabla', 'version': 0, 'visibleWhenPrinting': False}, {'author': 'Repetier', 'command': '@func addEvents\n  @callOnEvent layerChanged TempTowerLayerChangedEvent\n  @callOnEvent jobFinished UnsubscribeTempTowerLayerChangedEvent\n  @callOnEvent jobKilled UnsubscribeTempTowerLayerChangedEvent\n@endfunc\n\n@func printResults\n  @echo ##########################\n  @echo First Segment Offset: {{global.zOffset}}\n  @echo Segment Size: {{global.segmentSize}}\n  @echo ----\n  @echo Calculated Segments: {{round(global.segmentCount)}}\n  @echo Calculated Temperature Steps: {{round(global.tempSteps)}}°C/Segment\n  @echo ##########################\n@endfunc\n\n@func waitForInfo\n  @if {{job.of_layer==0}}\n    @setTimer 0\n    @waitForTimer 500\n    @call waitForInfo\n  @endif\n@endfunc\n\n@func calculateTempStepsAndStartPrint\n  @printModelByID {{global.printID}}\n  @if {{global.error == 0}}\n    @call waitForInfo\n    @set global.reverseDirection {{ifelse(global.TempTowerTempEnd <= global.TempTowerTempStart, 1, 0)}}\n    @set local.tempDelta {{ifelse(global.reverseDirection == 1, global.tempStart - global.tempEnd, global.tempEnd - global.tempStart)}}\n    @set global.segmentCount {{round(job.z_max - global.zOffset) / global.segmentSize}}\n    @set global.tempSteps {{round(local.tempDelta / round(global.segmentCount - 1))}}\n    @call printResults\n    @set global.nextSegment {{global.zOffset}}\n    @call addEvents\n  @else\n    @error "Error starting print: {{global.error}}. You probably did not set the G-Code ID to a print id. Open the g-code with summary to see the id."\n  @endif\n@endfunc\n\n@func showTempTowerConfigDialog\n  @dialogStart "This is a wizard for generating the right temperatures for a temp tower test" "Temperature Tower Wizard"\n    @dialogBlockingJob\n    @dialogIcon \'<svg version="1.1" viewBox="-10 0 376 1000"> <path fill="currentColor" d="M171 734h109v77h-109v-77zM171 552h109v77h-109v-77zM171 370h109v77h-109v-77zM171 188h109v77h-109v-77zM80 83v834h199v-834h-199zM0 0h356v1000h-356v-1000z"></path> </svg>\'\n    @dialogInputInt "Start Temperature" global.tempStart default(220) min({{perm.ext_minTemp}}) max({{perm.ext_maxTemp}}) \n    @dialogInputInt "End Temperature" global.tempEnd default(180) min({{perm.ext_minTemp}}) max({{perm.ext_maxTemp}})\n    @dialogInputDouble "Segment Size in mm" global.segmentSize min(1) default(6.8)\n    @dialogInputDouble "First Segment Offset in mm" global.zOffset default(0.8) min(0)\n    @dialogInputCheckbox "Retract before heating" global.retractionEnabled default(1)\n    @dialogInputDouble "Retraction length in mm" global.retraction default(3) min(0)\n    @dialogInputCheckbox "Move hotend away when heating" global.homePosEnabled default(1)\n    @dialogInputDouble "X position when heating" global.moveXPos default(0) min({{config.move_x_min}}) max({{config.move_x_max}})\n    @dialogInputDouble "Y position when heating" global.moveYPos default(0) min({{config.move_y_min}}) max({{config.move_y_max}})\n    @dialogInputInt "Temp Tower G-Code ID" global.printID default(0) min(0)\n    @dialogButton "Cancel" \n    @dialogButton "Help" "@call showTempTowerHelpDialog"\n    @dialogButton "Start print" "@call calculateTempStepsAndStartPrint" \n  @dialogShow\n@endfunc\n\n@func showTempTowerHelpDialog\n  @dialogStart "<div>This Temperature Tower Wizard transforms an existing, sliced g-code into a temperature test for your printer.</div><div>It will increase or decrease the temperature every segment by calculated steps.</div><div>To use this wizard, please enter the gradient data and G-Code ID.</div><div>You can find the G-Code ID by opening a g-codes summary.</div><div>Please make sure that the segment size and your first segment offset is set precisely!</div>" "Temperature Tower Wizard help"\n    @dialogIcon \'<svg version="1.1" viewBox="-10 0 376 1000"> <path fill="currentColor" d="M171 734h109v77h-109v-77zM171 552h109v77h-109v-77zM171 370h109v77h-109v-77zM171 188h109v77h-109v-77zM80 83v834h199v-834h-199zM0 0h356v1000h-356v-1000z"></path> </svg>\'\n    @dialogBlockingJob\n    @dialogButton "OK" "@call showTempTowerConfigDialog" \n  @dialogShow\n@endfunc\n\n@func TempTowerLayerChangedEvent event \n  @if {{(state.pos_z >= global.nextSegment)}}\n    @if {{get("global","retractionEnabled", 1) == 1}} \n      G1 E-{{global.retraction}}\n    @endif\n    @if {{get("global","homePosEnabled", 1) == 1}}\n      @set local.lastXPos {{state.pos_x}}\n      @set local.lastYPos {{state.pos_x}}\n      G1 X{{global.moveXPos}} Y{{global.moveYPos}} F{{config.speed_max_xy_per_minute}}\n    @endif\n    @set local.newTemp {{ifelse({global.reverseDirection == 1, ext_0.temp - global.tempSteps, ext_0.temp + global.tempSteps)}}\n    @set local.newTemp {{ifelse(global.zOffset == global.nextSegment, global.tempStart, local.newTemp)}}\n  \tM109 S{{local.newTemp}}\n    @if {{get("global","homePosEnabled",1) == 1}}\n      G1 X{{local.lastXPos}} Y{{local.lastYPos}} F{{config.speed_max_xy_per_minute}}\n    @endif\n    @if {{get("global","retractionEnabled",1) == 1}} \n      G1 E-{{global.retraction}}\n    @endif\n    @set global.nextSegment {{global.nextSegment + global.segmentSize}}\n  @endif\n@endfunc\n\n@func UnsubscribeTempTowerLayerChangedEvent event\n  @echo "Removing Temp Tower Generator Event bindings..."\n  @removeCallOnEvent layerChanged TempTowerLayerChangedEvent\n  @removeCallOnEvent jobFinished UnsubscribeTempTowerLayerChangedEvent\n  @removeCallOnEvent jobKilled UnsubscribeTempTowerLayerChangedEvent\n  @echo OK\n@endfunc\n\n@func initTempTowerWizard\n  @set global.layerInterval 10\n  @set global.tempSteps 0 \n  @set perm.ext_minTemp 180\n  @set perm.ext_maxTemp 260\n  @call showTempTowerConfigDialog\n@endfunc\n\n@call initTempTowerWizard\n', 'description': 'A wizard to generate a temperature tower from your existing pre-sliced g-code', 'icon': '<svg version="1.1" viewBox="-10 0 376 1000">\n   <path fill="currentColor" d="M171 734h109v77h-109v-77zM171 552h109v77h-109v-77zM171 370h109v77h-109v-77zM171 188h109v77h-109v-77zM80 83v834h199v-834h-199zM0 0h356v1000h-356v-1000z"></path>\n</svg>', 'name': 'Temperature Tower Generator', 'source': 1, 'uuid': 'blablablablablablablablablablablablablablabla', 'version': 2, 'visibleWhenPrinting': False}]}
2022-06-26 20:48:54,209 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [569]: DiscoverRepetierAction: webcams: 1
2022-06-26 20:48:54,210 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [572]: DiscoverRepetierAction: Checking streamurl
2022-06-26 20:48:54,210 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [573]: DiscoverRepetierAction: reply_url: PyQt6.QtCore.QUrl('http://sapphirepro-repetier:3344//printer/api/SapphirePro?a=getPrinterConfig&apikey=blablablablablablablablablablablablablablabla')
2022-06-26 20:48:54,215 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [578]: DiscoverRepetierAction: stream_url: 
2022-06-26 20:48:54,665 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getPrinterList [262]: getPrinterList:base_url:http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/
2022-06-26 20:48:54,665 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getPrinterList [264]: getPrinterList:http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/printer/info
2022-06-26 20:48:54,695 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [495]: http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/printer/info
2022-06-26 20:48:54,698 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [500]: http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/printer/info
2022-06-26 20:48:54,701 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [501]: {'apikey': 'blablablablablablablablablablablablablablabla', 'name': 'Repetier-Server Pro', 'printers': [{'active': False, 'name': 'EasyThreeD Nano', 'online': 0, 'slug': 'EasyThreeD_Nano'}, {'active': True, 'name': 'Deadpool450', 'online': 1, 'slug': 'Deadpool450'}], 'servername': 'Deadpool450', 'serveruuid': 'blablablablablablablablablablablablablablabla', 'version': '1.3.0'}
2022-06-26 20:48:54,703 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [507]: DiscoverRepetierAction: printers: 2
2022-06-26 20:48:54,706 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [511]: Slug: EasyThreeD_Nano
2022-06-26 20:48:54,710 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [511]: Slug: Deadpool450
2022-06-26 20:48:54,713 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [515]: DiscoverRepetierAction: apikey: blablablablablablablablablablablablablablabla
2022-06-26 20:48:55,883 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getPrinterList [262]: getPrinterList:base_url:http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/
2022-06-26 20:48:55,886 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getPrinterList [264]: getPrinterList:http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/printer/info
2022-06-26 20:48:55,911 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [495]: http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/printer/info
2022-06-26 20:48:55,917 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [500]: http://deadpool450-repetier.golf-4-cab.dynv6.net:3344/printer/info
2022-06-26 20:48:55,920 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [501]: {'apikey': 'blablablablablablablablablablablablablablabla', 'name': 'Repetier-Server Pro', 'printers': [{'active': False, 'name': 'EasyThreeD Nano', 'online': 0, 'slug': 'EasyThreeD_Nano'}, {'active': True, 'name': 'Deadpool450', 'online': 1, 'slug': 'Deadpool450'}], 'servername': 'Deadpool450', 'serveruuid': 'blablablablablablablablablablablablablablabla', 'version': '1.3.0'}
2022-06-26 20:48:55,923 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [507]: DiscoverRepetierAction: printers: 2
2022-06-26 20:48:55,926 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [511]: Slug: EasyThreeD_Nano
2022-06-26 20:48:55,930 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [511]: Slug: Deadpool450
2022-06-26 20:48:55,933 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [515]: DiscoverRepetierAction: apikey: blablablablablablablablablablablablablablabla
VMaxx commented 2 years ago

what version of repetier ar eyou using?

G4Cab commented 2 years ago

what version of repetier ar eyou using?

Repetier-Server Pro 1.3.0