Closed soundforascene closed 4 years ago
Since updating to 0.3.2 it does not seem to be functioning. I have gone through the logs and and found this.
| OctoPrint-ngrok (0.3.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_ngrok 2020-11-16 14:12:24,490 - octoprint.plugins.pluginmanager - INFO - The plugin was installed successfully: OctoPrint-ngrok, version 0.3.2 2020-11-16 14:12:24,795 - octoprint.plugins.tracking - INFO - Sent tracking event install_plugin, payload: {'plugin_version': '0.3.2', 'plugin': 'ngrok'} 2020-11-16 14:12:34,615 - octoprint.plugin.core - ERROR - Invalid syntax in /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_ngrok/init.py for plugin ngrok File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_ngrok/init.py", line 36 if ngrok.version >= '5.0.0'
I am not entirely sure if this is due to the update or my own wrong doing. Hope it helps.
@fieldOfView it looks like you're missing a colon in your if statement...
https://github.com/fieldOfView/OctoPrint-ngrok/blob/65c58e0839c0e9cdf1a83ad72a7c4a42756af47e/octoprint_ngrok/__init__.py#L36
it looks like you're missing a colon in your if statement...
It certainly looks that way... 🤦♂️
Fixed in 0.3.3
Since updating to 0.3.2 it does not seem to be functioning. I have gone through the logs and and found this.
| OctoPrint-ngrok (0.3.2) = /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_ngrok 2020-11-16 14:12:24,490 - octoprint.plugins.pluginmanager - INFO - The plugin was installed successfully: OctoPrint-ngrok, version 0.3.2 2020-11-16 14:12:24,795 - octoprint.plugins.tracking - INFO - Sent tracking event install_plugin, payload: {'plugin_version': '0.3.2', 'plugin': 'ngrok'} 2020-11-16 14:12:34,615 - octoprint.plugin.core - ERROR - Invalid syntax in /home/pi/oprint/local/lib/python2.7/site-packages/octoprint_ngrok/init.py for plugin ngrok File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_ngrok/init.py", line 36 if ngrok.version >= '5.0.0'
I am not entirely sure if this is due to the update or my own wrong doing. Hope it helps.