OllisGit / OctoPrint-SpoolManager

Plugin for managing Spools
169 stars 59 forks source link

Cannot install on OctoPrint 1.8.6 and Python 3.9.16 #311

Closed nodu closed 1 year ago

nodu commented 1 year ago

OctoPrint 1.8.6 Python 3.9.16

2023-02-14 04:32:24,253 ! error in OctoPrint-SpoolManager setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Expected end or semicolon (after version specifier)
2023-02-14 04:32:24,258 ! pillow >=6.2.0<7.0.0
2023-02-14 04:32:24,261 ! ~~~~~~~^

Editing setup.py and removing the version band for pillow seemingly fixes the install.

plugin_requires = [
    "pillow >=6.2.0<7.0.0", # since 7.0.0 no Python 2.7 Support, see https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst

to

plugin_requires = [
        "pillow", # since 7.0.0 no Python 2.7 Support, see https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst
dkaser commented 1 year ago

What version of pip do you have installed? I can install just fine without any changes using:

Python 3.10.6 Pip 22.3.1 OctoPrint 1.8.6

ronzelver commented 1 year ago

Same here, I cannot install Spool Manager. I have the following versions:

Python 3.9.16 Pip 22.3.1 Octoprint 1.8.6

This is what the octoprint.log shows: 2023-03-01 21:07:43,359 - octoprint.plugins.pluginmanager - INFO - Installing plugin from https://github.com/OllisGit/OctoPrint-SpoolManager/releases/latest/download/master.zip 2023-03-01 21:07:44,484 - octoprint.plugin.core - ERROR - Error loading plugin SpoolManager File "/root/Octoprint/lib/python3.9/site-packages/octoprint_SpoolManager/__init__.py", line 12, in <module> from octoprint_SpoolManager.DatabaseManager import DatabaseManager File "/root/Octoprint/lib/python3.9/site-packages/octoprint_SpoolManager/DatabaseManager.py", line 9, in <module>

sammcj commented 1 year ago

Confirming it's a problem for me as well - it seems it doesn't work with the latest OctoPrint (1.8.6) and Python 3.11.2.

After successfully(!?) installing it doesn't show up as installed.

github-actions[bot] commented 1 year ago

This issue has been automatically marked for closing, because it has not had activity in 30 days. It will be closed if no further activity occurs in 10 days.

ronzelver commented 1 year ago

Why isn't there any response?

IchSchreiGleich commented 1 year ago

Same here. Installed setuptools 65.7.0 (any <66+ should work) and the plugin installs.

python -m pip install pip==22.3.1
python -m pip install setuptools==65.7.0
python -m pip install wheel==0.38.4
ronzelver commented 1 year ago

Same here. Installed setuptools 65.7.0 (any <66+ should work) and the plugin installs.

python -m pip install pip==22.3.1
python -m pip install setuptools==65.7.0
python -m pip install wheel==0.38.4

You mean that the plugin is visible and functional? I've installed the same version you mentioned, but I still have the same result i.e. install completes but the plugin is not there after restarting Octoprint.

IchSchreiGleich commented 1 year ago

You mean that the plugin is visible and functional? I've installed the same version you mentioned, but I still have the same result i.e. install completes but the plugin is not there after restarting Octoprint.

Yes, it is fully functional. My mistake was that I was looking in the wrong place, it is configurable in OctoPrint Settings > Plugin > Spool Manager. But I was wondering how to add a spool. It's not very intuitive as the menu item is overhanging in my installation (too many plugins maybe) and is next to the virualization of temperatures, terminal commands, etc.

github-actions[bot] commented 1 year ago

This issue has been automatically marked for closing, because it has not had activity in 30 days. It will be closed if no further activity occurs in 10 days.

github-actions[bot] commented 1 year ago

This issue was closed, because it has been already marked for 10 days with no activity.