vmaxx / repetierintegration Goto Github PK
View Code? Open in Web Editor NEWPlugin for Cura to allow printing and monitoring
License: GNU Affero General Public License v3.0
Plugin for Cura to allow printing and monitoring
License: GNU Affero General Public License v3.0
Hi,
I'm using latest version of repetier-server FREE and this plugin along with Cura 4.8 - but the connection is not stable. On the monitor tab in Cura I have a stable picture from the webcam but the connection status on bottom-right corner is alternating between "printing ... " and "lost connection with the printer" every few seconds. What can I do?
The configuration looks like this:
repetier-server:
one printer called "TronxyX1" with webcam enabled (in Free version it will display no picture on the WebUI but the stream is still available under :8080/?action=stream
on cura side:
Name of Printer, Name of Instance all set to the same, i.e. "TronxyX1"
Hello! Have you plans for make this amazing plugin compatible with cura 4.1? Right now it just do nothing
hello together,
i have installed the repetier plugin and after i insert the api key, cura will complete crash.
`2018-09-17 19:54:45,922 - CRITICAL - [MainThread] cura.CrashHandler.init [65]: An uncaught error has occurred!
2018-09-17 19:54:45,924 - CRITICAL - [MainThread] cura.CrashHandler.init [68]: Traceback (most recent call last):
2018-09-17 19:54:45,926 - CRITICAL - [MainThread] cura.CrashHandler.init [68]: File "C:\Program Files\Ultimaker Cura 3.4\plugins\RepetierPlugin\DiscoverRepetierAction.py", line 329, in _onRequestFinished
2018-09-17 19:54:45,928 - CRITICAL - [MainThread] cura.CrashHandler.init [68]: if "webcams" in json_data and "dynamicUrl" in json_data["webcams"][0]:
2018-09-17 19:54:45,930 - CRITICAL - [MainThread] cura.CrashHandler.init [68]: IndexError: list index out of range`
After this information from log file, i changed the list in
DiscoverRepetierAction.py
and in RepetierOutputDevice.py
in the dictionary json_data
.
From:
if "webcams" in json_data and "dynamicUrl" in json_data["webcams"][0]:
to
if "webcams" in json_data and "dynamicUrl" in json_data["webcams"]:
After this change on the plugin files... it works fine.
When I enter the API Key a completely empty windows pops up and nothing is happening. The other window where I entered the KEy just says "checking API key". I'm using Cura 3.1
The file NetworkReplyTimeout
is not part of the repository causing errors while loading the plugin.
Removing this import fixes the problem.
I have read through issue #19 but it didnt resolve my issue here.
I can upload files and control the printer from Cura using the plugin, so I know my settings are correct.
Also, contrary to the instructions, the instance name that needs to be typed into the plugin is not necessarily the display name of the printer in the web UI, but the name from the URL. If you have changed the display name of the printer since adding, the display name will not work. (picture 3 demonstrates the difference. Display Name "test1" but url shows the original name "test" which must be used in the plugin config)
However, the camera option remains disabled. I even have changed it to MJPEG as suggested in the other issue.
I've installed the 4.1 branch plugin in the /Library/Application Support/cura/4.1/plugins folder, as "RepetierIntegration".
I cannot get Cura to recognize it in the printer dialog at all. I've read the docs several times, and I must be missing something here.
When I start Cura, it is creating the pycache folder on first run, but that is all I'm seeing as far as Cura using the plugin.
Hello,
again the Problem that Cura crashes when i try to connect the Plugin. Have the 3.4 branch tried with Cura 3.4.
018-04-03 21:28:59,031 - DEBUG - [MainThread] AutoSave.AutoSave._onTimeout [71]: Autosaving preferences, instances and profiles
2018-04-03 21:29:01,582 - DEBUG - [MainThread] RepetierPlugin-master.DiscoverRepetierAction.apiKey [153]: APIKEY read None
2018-04-03 21:29:01,613 - CRITICAL - [MainThread] cura.CrashHandler.init [66]: An uncaught error has occurred!
2018-04-03 21:29:01,613 - CRITICAL - [MainThread] cura.CrashHandler.init [69]: Traceback (most recent call last):
2018-04-03 21:29:01,613 - CRITICAL - [MainThread] cura.CrashHandler.init [69]: File "C:\Program Files\Ultimaker Cura 3.3\plugins\RepetierPlugin-master\DiscoverRepetierAction.py", line 68, in startDiscovery
2018-04-03 21:29:01,613 - CRITICAL - [MainThread] cura.CrashHandler.init [69]: self._network_plugin.addInstanceSignal.connect(self._onInstanceDiscovery)
2018-04-03 21:29:01,613 - CRITICAL - [MainThread] cura.CrashHandler.init [69]: AttributeError: 'NoneType' object has no attribute 'addInstanceSignal'
Hi all,
with cura v 4.6.1 the connection won't work. Any suggestions?
Kind regards
Michael
I have read all about updating the plugin and making the names match and I have tried several different names but nothing is working for me.
Repetier server is running fine and i can control my 3d printer from all my devices but when i try to connect in cura no matter what settings I use it crashes.
2018-09-23 19:16:58,130 - DEBUG - [MainThread] RepetierPlugin.DiscoverRepetierAction.apiKey [190]: APIKEY read None
2018-09-23 19:17:04,050 - DEBUG - [MainThread] RepetierPlugin.DiscoverRepetierAction.testApiKey [152]: Trying to access Repetier instance at http://192.168.1.14:3344/ with the provided API key.
2018-09-23 19:17:04,050 - DEBUG - [MainThread] RepetierPlugin.DiscoverRepetierAction.testApiKey [153]: Using Prusa i3 as work_id
2018-09-23 19:17:04,051 - DEBUG - [MainThread] RepetierPlugin.DiscoverRepetierAction.testApiKey [154]: Using ba57b059-a6db-496e-b302-395eebd7439b as api_key
2018-09-23 19:17:05,198 - DEBUG - [MainThread] cura.AutoSave._onTimeout [49]: Autosaving preferences, instances and profiles
2018-09-23 19:17:05,250 - DEBUG - [MainThread] RepetierPlugin.DiscoverRepetierAction._onRequestFinished [308]: API key accepted by Repetier.
2018-09-23 19:17:05,250 - DEBUG - [MainThread] RepetierPlugin.DiscoverRepetierAction._onRequestFinished [313]: http://192.168.1.14:3344/printer/api/Prusa i3?a=getPrinterConfig&apikey=ba57b059-a6db-496e-b302-395eebd7439b
2018-09-23 19:17:05,251 - DEBUG - [MainThread] RepetierPlugin.DiscoverRepetierAction._onRequestFinished [314]: {'error': 'Unknown printer'}
2018-09-23 19:17:12,010 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [301]: file:///C:/Program Files/Ultimaker Cura 3.4/resources/qml/Preferences/MachinesPage.qml:162: TypeError: Cannot read property 'connectionText' of null
2018-09-23 19:17:12,021 - DEBUG - [MainThread] RepetierPlugin.RepetierOutputDevice.connect [326]: Connection with instance ljuasdrehvbgloiawueb with url http://192.168.1.14:3344/ started
2018-09-23 19:17:12,047 - DEBUG - [MainThread] RepetierPlugin.RepetierOutputDevice.connect [326]: Connection with instance ljuasdrehvbgloiawueb with url http://192.168.1.14:3344/ started
2018-09-23 19:17:12,113 - INFO - [MainThread] UM.OutputDevice.OutputDeviceManager.addOutputDevice [103]: Output Device ljuasdrehvbgloiawueb already added
2018-09-23 19:17:12,115 - INFO - [MainThread] UM.OutputDevice.OutputDeviceManager.addOutputDevice [103]: Output Device ljuasdrehvbgloiawueb already added
2018-09-23 19:17:12,115 - WARNING - [MainThread] RepetierPlugin.RepetierOutputDevice._onRequestFinished [622]: Received invalid JSON from Repetier instance.
2018-09-23 19:17:12,118 - CRITICAL - [MainThread] cura.CrashHandler.init [65]: An uncaught error has occurred!
2018-09-23 19:17:12,120 - CRITICAL - [MainThread] cura.CrashHandler.init [68]: Traceback (most recent call last):
2018-09-23 19:17:12,121 - CRITICAL - [MainThread] cura.CrashHandler.init [68]: File "C:\Users\Ben\AppData\Roaming\cura\3.4\plugins\RepetierPlugin\RepetierOutputDevice.py", line 574, in _onRequestFinished
2018-09-23 19:17:12,122 - CRITICAL - [MainThread] cura.CrashHandler.init [68]: if "numExtruder" in json_data[self._key]:
2018-09-23 19:17:12,123 - CRITICAL - [MainThread] cura.CrashHandler.init [68]: KeyError: 'ljuasdrehvbgloiawueb'
2018-09-23 19:17:12,124 - CRITICAL - [MainThread] cura.CrashHandler.init [68]:
2018-09-23 19:17:12,125 - CRITICAL - [MainThread] cura.CrashHandler.init [68]: During handling of the above exception, another exception occurred:
2018-09-23 19:17:12,126 - CRITICAL - [MainThread] cura.CrashHandler.init [68]: Traceback (most recent call last):
2018-09-23 19:17:12,127 - CRITICAL - [MainThread] cura.CrashHandler.init [68]: File "C:\Users\Ben\AppData\Roaming\cura\3.4\plugins\RepetierPlugin\RepetierOutputDevice.py", line 624, in _onRequestFinished
2018-09-23 19:17:12,129 - CRITICAL - [MainThread] cura.CrashHandler.init [68]: printer.activePrintJob.updateState("offline")
2018-09-23 19:17:12,130 - CRITICAL - [MainThread] cura.CrashHandler.init [68]: AttributeError: 'NoneType' object has no attribute 'updateState'
2018-09-23 19:17:12,131 - CRITICAL - [MainThread] cura.CrashHandler.init [65]: An uncaught error has occurred!
2018-09-23 19:17:12,133 - CRITICAL - [MainThread] cura.CrashHandler.init [68]: Traceback (most recent call last):
2018-09-23 19:17:12,134 - CRITICAL - [MainThread] cura.CrashHandler.init [68]: File "C:\Users\Ben\AppData\Roaming\cura\3.4\plugins\RepetierPlugin\RepetierOutputDevice.py", line 673, in _onRequestFinished
2018-09-23 19:17:12,136 - CRITICAL - [MainThread] cura.CrashHandler.init [68]: if "job" in json_data[0]:
2018-09-23 19:17:12,137 - CRITICAL - [MainThread] cura.CrashHandler.init [68]: KeyError: 0
As per instructions, placed the RepetierIntegration
folder inside the plugins folder /Users/thomas/Library/Application Support/cura/4.5/plugins
but I see not Connect button in Manage Printers.
Most likely because of the version mismatch.
Also don’t find a branch labelled 4.5, so I suspect nothing is there yet. How long until 4.5 is supported?
Hello
I m trying to connect my Repetier server to Cura 4.8. I have taken a look at the repository and notice that the latest version there is 4.7... I have used the master branch and copied to the plugin folder
Following a restart of Cura, if I select the printer I wish to connect I see the "Connect Repetier" button. I complete the required input:
Rpetier Server Name
Correct IP address
Add my Repetier server ID and password
When selecting the "Get Printers" button, I can see the printer I wish to attach, and press OK
From here I select the created server link and enter the API key from my server, and this gives me the following error:
"Repetier printer name hasn't been selected, please edit and click get printers and choose the correct name from the drop down list"
I cannot go any further. Selecting the "Open in browser" button does take me to the printer though my web browser, but the "Connect" option is greyed out
Thanks for your support
There is an infinite loop where i am stuck at.
Tested on 4.3 and 4.4 same result...
steps to reproduce:
click manage printers ->
Cant connect to the printer. it says you have ot pick the printer.. which i do..
when i do pick it from the dropdown the API key vanishes...
And you can start over..
Windows 10 pro. latest rapetier server.
update:
Missed to give the same name as the printer.... wops.
i have the plugin installed but it will not upload to the server
here the error
2018-04-06 14:38:21,530 - ERROR - [(13472)-MainThread] UM.Logger.logException [82]: Exception: Unable to write to file AM8_3DBenchy: 'Scene' object has no attribute 'gcode_list'
2018-04-06 14:38:21,532 - ERROR - [(13472)-MainThread] UM.Logger.logException [86]: Traceback (most recent call last):
2018-04-06 14:38:21,533 - ERROR - [(13472)-MainThread] UM.Logger.logException [86]: File "X:\3.2\build\inst\lib\python3.5\site-packages\UM\Qt\Bindings\OutputDeviceManagerProxy.py", line 120, in _writeToDevice
2018-04-06 14:38:21,534 - ERROR - [(13472)-MainThread] UM.Logger.logException [86]: File "C:\Users\jensr\AppData\Roaming\cura\3.2\plugins\RepetierPlugin\RepetierOutputDevice.py", line 333, in requestWrite
2018-04-06 14:38:21,535 - ERROR - [(13472)-MainThread] UM.Logger.logException [86]: self._gcode = getattr(Application.getInstance().getController().getScene(), "gcode_list")
2018-04-06 14:38:21,536 - ERROR - [(13472)-MainThread] UM.Logger.logException [86]: AttributeError: 'Scene' object has no attribute 'gcode_list'
Hi i tryed it as you discribe but it did not work.
i always get the error:
Repetier Printer name hasn´t been selected.
but i selected it. any help?
kind regards
matthias
I'm trying to get the plugin to work under Cura 4.2.1, but no cake.
After pasting the API key in the "Connect Repetier" window, this message is displayed under the input field:
Repetier printer name hasn't been selected, please edit and click printers and choose the correct name from the drop down list.
I followed the instructions, clicked the Edit button, then clicked the "Get Printers" button in the Edit dialog. The list is populated correctly with the printer names configured in my Repetier-Server instance. However after selecting the printer and pressing OK, the API key field still gives me the same error message. Opening the Edit dialog again reveals that the Printer dropdown is again empty, so it didn't save my selected printer.
I am using Cura 3.4.1 and Repetier server version 0.90.0 .
My repetier host connects and works with the server just fine. I installed the Cura plugin and it allows me to configure the key IP address and port but when I try to connect it just crashes and closes cura.
The cura.log was too big to attach so I attached a file (cura2.log) which is ithe bottom portion of the log that should show the problem.
Thanks
I'm confused on the configuration of the plugin. I understand that the instance name in the plugin must match the name of the printer in Cura. I call my printer Yellowjacket, and have it named that way in both Cura and on the Repetier-Server.
Hostname and port are self explanatory. The host is also named yellowjacket.
What 'Path' is it asking for? I have no idea what to put there.
And which API key is it we should use? The User key or the Global Settings key? I've tried both and can't get anything but an error saying "Repetier on Yellowjacket configuration is invalid". I do have a user name and password setup on the server, and did enter those in the plugin configuration window.
I'm not sure what the error is saying, but I'm guessing it doesn't like the information I provided? I've confirmed the username and password are correct, I've used both API keys without success, and everything is named Yellowjacket, though I did try the server IP address instead of hostname a few times. Regardless, each time I get the same message about an invalid configuration. More complete setup instructions would be nice.
Hi there,
I got an issue when using the "Connect Repetier" button which was crashing Cura interface v3.4.1.
I found out that exception was raised from DiscoverRepetierAction.py.
Comparing with plugin for OctoPrintConnect I changes the line #72 from:
self._network_plugin = Application.getInstance().getOutputDeviceManager().getOutputDevicePlugin("RepetierPlugin")
to:
self._network_plugin = Application.getInstance().getOutputDeviceManager().getOutputDevicePlugin(self._plugin_id)
et voila!
I thought you may want to integrate this fix into the main branch :)
(modified file attached)
Thanks
Jerome
currently I need to configure the webcam in repetier-server because else this plugin will not show the webcam stream, although the stream is always available (when there is a working cam) under the well known URL http://<IP>:8080/?action=stream
so there are two options
2020-11-22 21:56:42,113 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [559]: reply.url() = http://repetier-server:3344/printer/api/TronxyX1?a=listPrinter
2020-11-22 21:56:42,114 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [669]: listPrinter JSON: {'active': True, 'name': 'TronxyX1', 'slug': 'TronxyX1', 'job': 'none', 'online': 0, 'pauseState': 0, 'paused': False}
2020-11-22 21:56:42,114 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [672]: JSON Dump: {'active': True, 'name': 'TronxyX1', 'slug': 'TronxyX1', 'job': 'none', 'online': 0, 'pauseState': 0, 'paused': False}
2020-11-22 21:56:42,132 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [559]: reply.url() = http://repetier-server:3344/printer/api/TronxyX1?a=stateList
2020-11-22 21:56:44,076 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice.get [1011]: get request: stateList
2020-11-22 21:56:44,077 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice.get [1011]: get request: listPrinter
2020-11-22 21:56:44,111 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [559]: reply.url() = http://repetier-server:3344/printer/api/TronxyX1?a=listPrinter
2020-11-22 21:56:44,112 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [669]: listPrinter JSON: {'active': True, 'name': 'TronxyX1', 'slug': 'TronxyX1', 'job': 'none', 'online': 0, 'pauseState': 0, 'paused': False}
2020-11-22 21:56:44,112 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [672]: JSON Dump: {'active': True, 'name': 'TronxyX1', 'slug': 'TronxyX1', 'job': 'none', 'online': 0, 'pauseState': 0, 'paused': False}
2020-11-22 21:56:44,112 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [559]: reply.url() = http://repetier-server:3344/printer/api/TronxyX1?a=stateList
2020-11-22 21:56:45,445 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///home/artur/.local/share/cura/4.8/plugins/RepetierIntegration/DiscoverRepetierAction.qml:722: TypeError: Type error
2020-11-22 21:56:45,448 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.getPrinterList [256]: getPrinterList:http://http//repetier-server:3344//printer/info
2020-11-22 21:56:45,457 - WARNING - [MainThread] UM.Qt.QtApplication.__onQmlWarning [406]: file:///home/artur/.local/share/cura/4.8/plugins/RepetierIntegration/DiscoverRepetierAction.qml:157: ReferenceError: objectListFooter is not defined
2020-11-22 21:56:45,495 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [465]: Received no or empty reply
2020-11-22 21:56:45,999 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.testApiKey [282]: Trying to access Repetier instance at http://repetier-server:3344/ with the provided API key.
2020-11-22 21:56:45,999 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.testApiKey [283]: Using TronxyX1 as work_id
2020-11-22 21:56:45,999 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction.testApiKey [284]: Using 8437620d-f368-4e02-95ca-3e51a92f5f7e as api_key
2020-11-22 21:56:46,041 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [469]: http://repetier-server:3344//printer/api/TronxyX1?a=getPrinterConfig&apikey=8437620d-f368-4e02-95ca-3e51a92f5f7e
2020-11-22 21:56:46,050 - DEBUG - [MainThread] cura.PrinterOutput.NetworkedPrinterOutputDevice._createNetworkManager [318]: Creating network manager
2020-11-22 21:56:46,057 - INFO - [MainThread] UM.OutputDevice.OutputDeviceManager.addOutputDevice [171]: Output Device TronxyX1 already added
2020-11-22 21:56:46,069 - INFO - [MainThread] UM.OutputDevice.OutputDeviceManager.addOutputDevice [171]: Output Device TronxyX1 already added
2020-11-22 21:56:46,071 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice.get [1011]: get request: stateList
2020-11-22 21:56:46,072 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice.get [1011]: get request: listPrinter
2020-11-22 21:56:46,073 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice.connect [296]: Connection with instance TronxyX1 with url http://repetier-server:3344/ started
2020-11-22 21:56:46,074 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice.get [1011]: get request: getPrinterConfig
2020-11-22 21:56:46,077 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [505]: API key accepted by Repetier.
2020-11-22 21:56:46,078 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [510]: http://repetier-server:3344//printer/api/TronxyX1?a=getPrinterConfig&apikey=8437620d-f368-4e02-95ca-3e51a92f5f7e
2020-11-22 21:56:46,079 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [511]: {'general': {'name': 'TronxyX1', 'eepromType': 'repetier', 'softwarePower': True, 'pauseSeconds': 120, 'firmwareName': 'Repetier-Firmware', 'pauseHandling': 0, 'doorHandling': 1, 'logHistory': True, 'heatedBed': False, 'printerVariant': 'cartesian', 'useOwnModelRepository': True, 'active': True, 'defaultVolumetric': False, 'slug': 'TronxyX1', 'model': '', 'useModelFromSlug': '', 'sdcard': True, 'tempUpdateEvery': 1, 'numFans': 1}, 'properties': {}, 'heatedBeds': [], 'shape': {'gridColor': '#454545', 'marker': [], 'gridSpacing': 10.0, 'basicShape': {'radius': 100, 'x': 0, 'xMin': 0.0, 'yMin': -10.0, 'color': '#dddddd', 'shape': 'rectangle', 'y': 0, 'yMax': 145.0, 'xMax': 155.0}}, 'heatedChambers': [], 'quickCommands': [{'name': 'Run PID tuning', 'command': 'M106 E0 S0 ; all fan off\nM303 E0 S240 C5 ; run PID autotune for 220°C'}, {'name': 'Store PID values', 'command': 'M301 P6.77 I0.33 D35.08 ; store values\nM500 ; save to EEPROM'}], 'responseEvents': [], 'webcams': [{'timelapseSelected': 2, 'reloadInterval': 3.0, 'timelapseHeight': 0.1, 'timelapseLayer': 1, 'orientation': 0, 'method': 3, 'timelapseFramerate': 30, 'timelapseInterval': 20.0, 'snapshotDelay': 800, 'snapshotY': 145.0, 'pos': 0, 'forceSnapshotPosition': False, 'timelapseBitrate': 1000, 'dynamicUrl': 'http://repetier-server:8080/?action=stream', 'snapshotX': 77.5, 'timelapseMethod': 1, 'staticUrl': 'http://repetier-server:8080/?action=snapshot'}], 'extruders': [{'cooldownPerSecond': 0.5, 'alias': '', 'changeSlowDistance': 20.0, 'changeFastDistance': 20.0, 'lastTemp': 240, 'num': 0, 'retractSpeed': 30.0, 'heatupPerSecond': 2.0, 'filamentDiameter': 1.75, 'offset': 0, 'extrudeSpeed': 2.0, 'offsetX': 0.0, 'supportTemperature': True, 'temperatures': [{'name': 'ABS 245', 'temp': 245}, {'name': 'PLA 210', 'temp': 210}, {'name': 'PLA 195', 'temp': 195}], 'tempMaster': 0, 'maxSpeed': 50.0, 'toolType': 0, 'acceleration': 5000.0, 'eJerk': 20.0, 'maxTemp': 260, 'offsetY': 0.0, 'toolDiameter': 0.4}], 'recover': {'firmwarePowerlossSignal': '', 'enabled': False, 'maxTimeForAutocontinue': 300, 'replayExtruderSwitches': False, 'reactivateBedOnConnect': True, 'procedure': 'G28 X0 Y0', 'runOnConnect': 'G28 X0 Y0', 'delayBeforeReconnect': 30, 'extraZOnFirmwareDetect': 0.0}, 'connection': {'powerOffMaxTemperature': 50, 'password': '', 'connectionMethod': 0, 'pipe': {'file': ''}, 'continueAfterFastReconnect': True, 'lcdTimeMode': 4, 'powerOffIdleMinutes': 0, 'resetScript': '', 'serial': {'baudrate': 115200, 'device': '/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A9ILTJBB-if00-port0', 'usbreset': 0, 'connectionDelay': 0, 'visibleWithoutRunning': False, 'inputBufferSize': 127, 'rts': 1, 'malyanHack': False, 'communicationTimeout': 30.0, 'dtr': 1, 'pingPong': False}, 'ip': {'address': '', 'port': 23}}, 'movement': {'xMax': 155.0, 'zPrintAcceleration': 400.0, 'G11ExtraDistance': 0.0, 'G10LongDistance': 50.0, 'maxZSpeed': 4.0, 'xyTravelAcceleration': 400.0, 'yHome': 0.0, 'defaultAcceleration': 10000.0, 'zTravelAcceleration': 400.0, 'G10Speed': 50.0, 'xMin': 0.0, 'movebuffer': 16, 'yEndstop': True, 'invertZ': False, 'zJerk': 0.30000000000000004, 'zEndstop': True, 'zMin': 0.0, 'G10Distance': 3.0, 'G11ExtraLongDistance': 0.0, 'yMax': 145.0, 'zMax': 155.0, 'zSpeed': 2.0, 'xySpeed': 100.0, 'allEndstops': True, 'defaultRetractAcceleration': 4000.0, 'xHome': 0.0, 'xyPrintAcceleration': 400.0, 'xyJerk': 20.0, 'timeMultiplier': 1.0, 'yMin': -10.0, 'zHome': 0.0, 'G10ZLift': 0.0, 'invertX': False, 'invertY': False, 'maxXYSpeed': 400.0, 'xEndstop': True, 'defaultTravelAcceleration': 10000.0, 'G11Speed': 50.0}}
2020-11-22 21:56:46,080 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [528]: DiscoverRepetierAction: webcams: 1
2020-11-22 21:56:46,080 - DEBUG - [MainThread] RepetierIntegration.DiscoverRepetierAction._onRequestFinished [531]: DiscoverRepetierAction: Checking streamurl
2020-11-22 21:56:46,183 - CRITICAL - [MainThread] cura.CrashHandler.init [66]: An uncaught error has occurred!
2020-11-22 21:56:46,187 - CRITICAL - [MainThread] cura.CrashHandler.init [69]: Traceback (most recent call last):
2020-11-22 21:56:46,191 - CRITICAL - [MainThread] cura.CrashHandler.init [69]: File "/home/artur/.local/share/cura/4.8/plugins/RepetierIntegration/DiscoverRepetierAction.py", line 532, in _onRequestFinished
2020-11-22 21:56:46,196 - 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])
2020-11-22 21:56:46,201 - CRITICAL - [MainThread] cura.CrashHandler.init [69]: IndexError: list index out of range
2020-11-22 21:56:46,270 - INFO - [MainThread] UM.OutputDevice.OutputDeviceManager.addOutputDevice [171]: Output Device TronxyX1 already added
2020-11-22 21:56:46,274 - INFO - [MainThread] UM.OutputDevice.OutputDeviceManager.addOutputDevice [171]: Output Device TronxyX1 already added
2020-11-22 21:56:46,275 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [559]: reply.url() = http://repetier-server:3344/printer/api/TronxyX1?a=stateList
2020-11-22 21:56:46,275 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [559]: reply.url() = http://repetier-server:3344/printer/api/TronxyX1?a=listPrinter
2020-11-22 21:56:46,276 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [669]: listPrinter JSON: {'active': True, 'name': 'TronxyX1', 'slug': 'TronxyX1', 'job': 'none', 'online': 0, 'pauseState': 0, 'paused': False}
2020-11-22 21:56:46,276 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [672]: JSON Dump: {'active': True, 'name': 'TronxyX1', 'slug': 'TronxyX1', 'job': 'none', 'online': 0, 'pauseState': 0, 'paused': False}
2020-11-22 21:56:46,277 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [559]: reply.url() = http://repetier-server:3344/printer/api/TronxyX1?a=getPrinterConfig
2020-11-22 21:56:46,277 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [761]: RepetierOutputDevice: Detected Repetier 90.X
2020-11-22 21:56:46,277 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [765]: RepetierOutputDevice: Checking streamurl
2020-11-22 21:56:46,277 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [781]: Set Repetier camera url to http://repetier-server:8080/?action=stream
2020-11-22 21:56:46,278 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [559]: reply.url() = http://repetier-server:3344/printer/api/TronxyX1?a=getPrinterConfig
2020-11-22 21:56:46,278 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [761]: RepetierOutputDevice: Detected Repetier 90.X
2020-11-22 21:56:46,279 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [765]: RepetierOutputDevice: Checking streamurl
2020-11-22 21:56:46,279 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [781]: Set Repetier camera url to http://repetier-server:8080/?action=stream
2020-11-22 21:56:46,279 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [559]: reply.url() = http://repetier-server:3344/printer/api/TronxyX1?a=stateList
2020-11-22 21:56:48,077 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice.get [1011]: get request: stateList
2020-11-22 21:56:48,078 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice.get [1011]: get request: listPrinter
2020-11-22 21:56:48,112 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [559]: reply.url() = http://repetier-server:3344/printer/api/TronxyX1?a=listPrinter
2020-11-22 21:56:48,113 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [669]: listPrinter JSON: {'active': True, 'name': 'TronxyX1', 'slug': 'TronxyX1', 'job': 'none', 'online': 0, 'pauseState': 0, 'paused': False}
2020-11-22 21:56:48,113 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [672]: JSON Dump: {'active': True, 'name': 'TronxyX1', 'slug': 'TronxyX1', 'job': 'none', 'online': 0, 'pauseState': 0, 'paused': False}
2020-11-22 21:56:48,117 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [559]: reply.url() = http://repetier-server:3344/printer/api/TronxyX1?a=stateList
2020-11-22 21:56:50,076 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice.get [1011]: get request: stateList
2020-11-22 21:56:50,077 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice.get [1011]: get request: listPrinter
2020-11-22 21:56:50,112 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [559]: reply.url() = http://repetier-server:3344/printer/api/TronxyX1?a=listPrinter
2020-11-22 21:56:50,113 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [669]: listPrinter JSON: {'active': True, 'name': 'TronxyX1', 'slug': 'TronxyX1', 'job': 'none', 'online': 0, 'pauseState': 0, 'paused': False}
2020-11-22 21:56:50,114 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [672]: JSON Dump: {'active': True, 'name': 'TronxyX1', 'slug': 'TronxyX1', 'job': 'none', 'online': 0, 'pauseState': 0, 'paused': False}
2020-11-22 21:56:50,115 - DEBUG - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [559]: reply.url() = http://repetier-server:3344/printer/api/TronxyX1?a=stateList
Is it possible to change the behaviour of the Plugin? The Programmers of Repetier say it is only one url to change.
The Plugin actually uploads the GCode to the Printqueue. So after printing it, it dissapears from Repetier-server. I think it is more comfortable to upload the gCode only to the filelist, so i can print it every time i want.
Here is the Answer from Repetier:
https://forum.repetier.com/discussion/comment/22456#Comment_22456
Hello
If I press in cura 3.6 "Print with Repetier" it starts printing and after a while I notice that the bed heater goes off and also the extruder heater goes off.
If I save as gcode and upload to the repetier server everything goes well. heaters working till the end of the print.
Repetier intregration plugin is not working with Cura 4.3. I followed the instructions to install it but with no success.
Add support for cura 4.2.1, please! Now it not work.
Add support cura 4.4, please. It have some changes for addons.
Currently I have to choose between print and save to repetier-server in the plugin options. If I choose "print" than I sometimes miss the option to quickly start the pring again, if I choose "save" then I need another step, i.e. load the repetier-server webUI - start print.
Would it be possible to have both, i.e. save the file to the server and then let it print from cura, so in case the print did not go well I can restart it from the server rather than starting over (e.g. open cura, load STL, slice, print)? It would be great if GROUP-NAMES would be supported by the plugin, so upon uploading gcode to the printer the user is prompted to select the GROUP. The groups can be queried easily like this:
Query groups from server:
http://localhost:3344/printer/api/<slug>?a=listModelGroups&apikey=<API key>
Upload using group-name:
http://localhost:3344/printer/model/<slug>?a=upload&sess=<session key>&name=<file name>&group=<groupname>
Life's been busy for me lately so I haven't had a chance to look at 4.3. I just got it installed today.
Hi.
Is there any way to connect Cura 3.3 with this Plugin? Cura always closes when i try to connect to repetier-server.
Hello VMaxx,
I have a new issue, I don't know if it is caused by the plugin or not. But if I am running a print on one machine, and I click print to repetier on a different printer, during the upload process, the printer that is already printing pauses for a second or 2, causing blobs on the print that is going.
Not a huge issue, but I was troubleshooting my little printer whilst the big one was printing a large job, and it had multiple blobs where I clicked print on the little printer.
Is there something in the process that would peg the processor of the Pi so much that it freezes the existing job while it catches up?
Hi, in Cura 3.4.0 (due next week) the Cura team has fixed a lot of bugs and added the ToolBox where users can easily download and install Cura plugins.
We would like to add your plugin. If you are interested here is more info: https://github.com/Ultimaker/Cura/wiki/Plugin-Directory
Hi, sorry to come again with this issue.
But I'm testing now with the new 3.6 that will be official build (no longer beta).
I tried installing the 3.5.2 version of the Repetier plugin again and I get the following errors on launch.
Is this similar to what happened previously?
2018-11-09 10:31:54,458 - WARNING - [MainThread] UM.PluginRegistry._populateMetaData [587]: Could not find plugin RepetierIntegration
2018-11-09 10:31:54,469 - ERROR - [MainThread] UM.Logger.logException [84]: Exception: Import error loading module RepetierIntegration
2018-11-09 10:31:54,473 - ERROR - [MainThread] UM.Logger.logException [88]: Traceback (most recent call last):
2018-11-09 10:31:54,475 - ERROR - [MainThread] UM.Logger.logException [88]: File "X:\3.6\build\inst\lib\python3.5\site-packages\UM\PluginRegistry.py", line 547, in _findPlugin
2018-11-09 10:31:54,478 - ERROR - [MainThread] UM.Logger.logException [88]: File "imp.py", line 244, in load_module
2018-11-09 10:31:54,480 - ERROR - [MainThread] UM.Logger.logException [88]: File "imp.py", line 216, in load_package
2018-11-09 10:31:54,483 - ERROR - [MainThread] UM.Logger.logException [88]: File "", line 693, in _load
2018-11-09 10:31:54,485 - ERROR - [MainThread] UM.Logger.logException [88]: File "", line 673, in _load_unlocked
2018-11-09 10:31:54,487 - ERROR - [MainThread] UM.Logger.logException [88]: File "", line 665, in exec_module
2018-11-09 10:31:54,491 - ERROR - [MainThread] UM.Logger.logException [88]: File "", line 222, in call_with_frames_removed
2018-11-09 10:31:54,495 - ERROR - [MainThread] UM.Logger.logException [88]: File "C:\Users\t.delacruz\AppData\Roaming\cura\3.6\plugins\RepetierIntegration\RepetierIntegration_init.py", line 5, in
2018-11-09 10:31:54,497 - ERROR - [MainThread] UM.Logger.logException [88]: from . import RepetierOutputDevicePlugin
2018-11-09 10:31:54,500 - ERROR - [MainThread] UM.Logger.logException [88]: File "C:\Users\t.delacruz\AppData\Roaming\cura\3.6\plugins\RepetierIntegration\RepetierIntegration\RepetierOutputDevicePlugin.py", line 2, in
2018-11-09 10:31:54,502 - ERROR - [MainThread] UM.Logger.logException [88]: from . import RepetierOutputDevice
2018-11-09 10:31:54,507 - ERROR - [MainThread] UM.Logger.logException [88]: File "C:\Users\t.delacruz\AppData\Roaming\cura\3.6\plugins\RepetierIntegration\RepetierIntegration\RepetierOutputDevice.py", line 13, in
2018-11-09 10:31:54,511 - ERROR - [MainThread] UM.Logger.logException [88]: from cura.PrinterOutput.NetworkCamera import NetworkCamera
2018-11-09 10:31:54,514 - ERROR - [MainThread] UM.Logger.logException [88]: ImportError: No module named 'cura.PrinterOutput.NetworkCamera'
How do I set up which printer is used with which Cura Printer through this plugin
When entering the API key, Plugin shows: Checking the API key ....
But nothing happens.
Cura 4.1
Hello,
an Cura 4.5 works find. I do the same in Cura 4.6
Cura 4.6 do not find the Plugin.
Sorry for my bed English, i have never learnd.
Best regards
Ralf
Hi, just trying out the plugin for the first time. I was able to set up the printer, but connecting to it instantly crashes. I have tried using both a hostname and an IP address, and both port 80 and 3344 (the default repetier port), with no luck. I am running a fresh install of Cura 4.0.
I did not see anywhere if there is a required version of Repetier-Server, I am running 0.90.1, could that be the issue?
Cura 4.0 final was just released. Please update the plugin to support it!
Related issue: Ultimaker/Cura#5459
When i add a rapetier instance with name, lets say delta, to a config it adds it without problems. WHen the ip or the key changes you pretty much can only remove all of the plugins data only to get it to work again because when you try to add or edit the connection the whole cura crashes.
I even went so far and changed the printer connection name to make it work again.
How can i fix such behavior?
Where are the connections stored?
Hi!
I'm currently testing all plugins with the new Cura 3.6 Beta - which is planned to be released this week, if not today.
Since at the moment, RepetierPlugin is compatible only for 3.5, can you also make repetierplugin compatible as well for Cura 3.6?
Thanks!
Hi - running Cura 3.2 on the Mac and the plugin crashes when entering the API key. As soon as you paste the API key it crashes.
When you "Upload G-Code" on the Repetier Server Interface, it saves it to the file list so that you can select it and print again from Repetier Server.
When using your plugin, the G-Code doesn't get saved to this print list. Is there a way to enable this?
Cura 4.0 Repetier Server Pro 0.91.2
Afer I slice the model and try to upload the gcode, it connects, try to save the file, but the progress bar didn't move and nothing changed on the Repetier Server.
This is from the cura.log and apperars a few times.
2019-04-03 09:17:29,115 - WARNING - [MainThread] RepetierIntegration.RepetierOutputDevice._onRequestFinished [595]: Received invalid JSON from Repetier instance.
2019-04-03 09:17:29,119 - WARNING - [MainThread] UM.Logger.logException [84]: Exception: something went wrong with callback
2019-04-03 09:17:29,123 - WARNING - [MainThread] UM.Logger.logException [88]: Traceback (most recent call last):
2019-04-03 09:17:29,125 - WARNING - [MainThread] UM.Logger.logException [88]: File "X:\4.0\build\inst\lib\python3.5\site-packages\cura\PrinterOutput\NetworkedPrinterOutputDevice.py", line 346, in __handleOnFinished
2019-04-03 09:17:29,127 - WARNING - [MainThread] UM.Logger.logException [88]: File "C:\Program Files\Ultimaker Cura 4.0\plugins\RepetierIntegration\RepetierOutputDevice.py", line 650, in _onRequestFinished
2019-04-03 09:17:29,129 - WARNING - [MainThread] UM.Logger.logException [88]: if "job" in json_data[0]:
2019-04-03 09:17:29,131 - WARNING - [MainThread] UM.Logger.logException [88]: KeyError: 0
This new release has some issues with the plugin specifically around the webcam changes.
Repetier server 86.2 works fine with current plugin.
Hello
The Cura 3.4-3.5 RepetierPlugin version causes program crash. Stderr.log mentions references to the critical error line. Printer is connected, but when I press control buttons to move X,Y and Z, the program closes.
Log Cura 3.4
2018-10-25 12: 46: 15,735 - CRITICAL - [MainThread] cura.CrashHandler .__ init__ [65]: An uncaught error has occurred!
2018-10-25 12: 46: 15,737 - CRITICAL - [MainThread] cura.CrashHandler .__ init__ [68]: Traceback (most recent call last):
2018-10-25 12: 46: 15,739 - CRITICAL - [MainThread] cura.CrashHandler .__ init__ [68]: File "C: \ Users \ Vova \ AppData \ Roaming \ cura \ 3.4 \ plugins \ RepetierPlugin \ RepetierOutputDevice.py" , line 498, in sendQueuedGcode
2018-10-25 12: 46: 15,741 - CRITICAL - [MainThread] cura.CrashHandler ._ init__ [68]: self.sendCommandToApi ("send", "& data = {" cmd \ ": " "+ self.queued_gcode_commands + ""} ")
2018-10-25 12: 46: 15,743 - CRITICAL - [MainThread] cura.CrashHandler . init__ [68]: TypeError: Can't convert
How to fix?
Sorry, for ding it this way, i am not a pro in github and get an error if i try to open a pull request.
Is it possible to store the g code on the server than saving it to sd card or just sending it to the prin queue? The print queue is empty after printing it. From the sd card i cannot print with repetier server controls.
Greetings
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.