Open dparker2112 opened 4 years ago
What version of Python are you using?
Hi Stewart,
It's 2.7.13
Thanks, David https://about.me/nlightn0?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb David Parker about.me/nlightn0 https://about.me/nlightn0?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb
On Sun, Jul 5, 2020 at 7:13 AM Stewart Allen notifications@github.com wrote:
What version of Python are you using?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GridSpace/OctoPrint-GridSpace/issues/1#issuecomment-653893966, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4EZK72Y3YSE3G6Z62J5HTR2CC7HANCNFSM4OQWSW2A .
I set the package to require Python3. Perhaps this is not strictly the case. I'm not a Python developer. But the guidelines for modules was that all new modules should be Python3.
Installed Python 3.7, still the same. Uninstalled and reinstalled the plugin, then enabled it. I don't see the Iframe for GridSpace in Octoprint and when I reboot Octoprint it's disabled again.
Is OctoPrint using Python3.7? It's possible it's still using Python2 if it's running it a virtual env that was setup that way.
Oh. Octoprint on my PC is using 3.7. Octopi is using 2.7.16. If I update it, Octoklipper is no longer compatible. So sometime this week I'll backup the pi and try it.
Thanks!
Hi Stewart,
I think it's the other way around. I rebuilt the machine that we're talking about here in April-May and did the Octoprint/Klipper setup work then, so Python 2.7 is what it came with. I imagine then that lots of others will have that same setup. Did a bit of looking around yesterday and it seems like it should work to rebuild the environment around Python 3x but no guarantees and it doesn't look that straightforward either. Nevertheless, I'll give it a try and let you know the result.
Thanks, https://about.me/nlightn0?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb David Parker about.me/nlightn0 https://about.me/nlightn0?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb
On Sun, Jul 5, 2020 at 3:48 PM Stewart Allen notifications@github.com wrote:
Is OctoPrint using Python3.7? It's possible it's still using Python2 if it's running it a virtual env that was setup that way.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GridSpace/OctoPrint-GridSpace/issues/1#issuecomment-653948520, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4EZK4TSAHUZD3WQ5LSNGDR2D7KPANCNFSM4OQWSW2A .
I'll attempt an OctoPrint setup with Python2.7 and the new plugin. If I can make it work, I'll relax the requirements.
The latest version of the plugin should allow Python2.7
Thanks Stewart, I'll try it out in the next couple days.
Have a great day! https://about.me/nlightn0?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb David Parker about.me/nlightn0 https://about.me/nlightn0?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=gmail_api&utm_content=thumb
On Wed, Jul 15, 2020 at 9:13 AM Stewart Allen notifications@github.com wrote:
The latest version of the plugin should allow Python2.7
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GridSpace/OctoPrint-GridSpace/issues/1#issuecomment-658851015, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4EZKYTHABOL3YVFYLAZUTR3XIRRANCNFSM4OQWSW2A .
Hello -- Just installed this plugin on OctoPrint 1.4.2, on a Pi 4. I get the target dialog and the name of my octoprint system, but when I hit "Send" nothing happens. The admin button try's to connect to 127.0.0.1, which is the windows system I'm on using the web browser. The "C" key also says that it shows the system as ready as well.
I've got Python 3 installed on my OctoPI, and all packages are up to date, including doing a "apt get update" to the OS. Tried to uninstall and re-install, no luck.. Tried multiple browsers, including a Macboook...no luck.
What am I missing?
Brian
Is it possible the wifi or ethernet interface hasn't come up by the time the OctoPrint server has started? I'm not sure why it isn't able to obtain the proper IP for your local host. Since I haven't seen this in my own installations, it's just a guess. But the problem is in the plugin code, not the browser.
Upgrade OctoPi to Python 3.x... Python 2 is EOL
curl -L https://get.octoprint.org/py3/upgrade.py --output upgrade.py
python3 upgrade.py
Installed in Octoprint 1.4.0, this is what the plugin manager tells me. Am using Klipper firmware and OctoKlipper plugin, not sure if that makes a difference.