Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incompatible to Octoprint or the underlying Python environment #1

Open
dparker2112 opened this issue Jul 5, 2020 · 13 comments
Open

Comments

@dparker2112
Copy link

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.

@stewartoallen
Copy link
Contributor

What version of Python are you using?

@dparker2112
Copy link
Author

dparker2112 commented Jul 5, 2020 via email

@stewartoallen
Copy link
Contributor

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.

@dparker2112
Copy link
Author

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.

@stewartoallen
Copy link
Contributor

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.

@dparker2112
Copy link
Author

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!

@dparker2112
Copy link
Author

dparker2112 commented Jul 6, 2020 via email

@stewartoallen
Copy link
Contributor

I'll attempt an OctoPrint setup with Python2.7 and the new plugin. If I can make it work, I'll relax the requirements.

@stewartoallen
Copy link
Contributor

The latest version of the plugin should allow Python2.7

@dparker2112
Copy link
Author

dparker2112 commented Jul 16, 2020 via email

@bkvargyas
Copy link

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

@stewartoallen
Copy link
Contributor

stewartoallen commented Oct 29, 2020

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.

@deftdawg
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants