Yesterday we had a power outage and somehow when the power came back PSUControl disappeared from my Octoprint. I tried to reinstall it but I get this (sorry I had to mangle the url's to be able to post):
Installing plugin "PSU Control" from https:github.com/kantlivelong/OctoPrint-PSUControl/archive/master.zip...
/home/pi/oprint/bin/python2 -m pip --disable-pip-version-check install https:github.com/kantlivelong/OctoPrint-PSUControl/archive/master.zip --no-cache-dir
Looking in indexes: https:pypi.org/simple, https:www.piwheels.org/simple
Collecting https:github.com/kantlivelong/OctoPrint-PSUControl/archive/master.zip
Downloading https:github.com/kantlivelong/OctoPrint-PSUControl/archive/master.zip
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-_2SATf/
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-req-build-_2SATf/setup.py", line 67, in <module>
setuptools.setup(**params())
File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/__init__.py", line 144, in setup
_install_setup_requires(attrs)
File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/__init__.py", line 133, in _install_setup_requires
(k, v) for k, v in attrs.items()
File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/dist.py", line 444, in __init__
for ep in pkg_resources.iter_entry_points('distutils.setup_keywords'):
File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 726, in iter_entry_points
entries = dist.get_entry_map(group)
File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2639, in get_entry_map
self._get_metadata('entry_points.txt'), self
File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2373, in parse_map
raise ValueError("Entry points must be listed in groups")
ValueError: Entry points must be listed in groups
----------------------------------------
Error!
Could not parse output from pip, see plugin_pluginmanager_console.log for generated output
Here's what's in my console log:
2019-06-18 23:20:14,794 > ----------------------------------------
2019-06-18 23:20:14,800 ! Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-T0uk04/
2019-06-19 10:10:29,121 /home/pi/oprint/bin/python2 -m pip --disable-pip-version-check install https:github.com/kantlivelong/OctoPrint-PSUControl/archive/master.zip --no-cache-dir
2019-06-19 10:10:33,314 > Looking in indexes: https:pypi.org/simple, https:www.piwheels.org/simple
2019-06-19 10:10:33,314 > Collecting https:github.com/kantlivelong/OctoPrint-PSUControl/archive/master.zip
2019-06-19 10:10:34,322 > Downloading https:github.com/kantlivelong/OctoPrint-PSUControl/archive/master.zip
2019-06-19 10:10:37,342 ! Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-_2SATf/
2019-06-19 10:10:37,349 > Complete output from command python setup.py egg_info:
2019-06-19 10:10:37,349 > Traceback (most recent call last):
2019-06-19 10:10:37,350 > File "<string>", line 1, in <module>
2019-06-19 10:10:37,350 > File "/tmp/pip-req-build-_2SATf/setup.py", line 67, in <module>
2019-06-19 10:10:37,350 > setuptools.setup(**params())
2019-06-19 10:10:37,351 > File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/__init__.py", line 144, in setup
2019-06-19 10:10:37,351 > _install_setup_requires(attrs)
2019-06-19 10:10:37,351 > File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/__init__.py", line 133, in _install_setup_requires
2019-06-19 10:10:37,351 > (k, v) for k, v in attrs.items()
2019-06-19 10:10:37,352 > File "/home/pi/oprint/local/lib/python2.7/site-packages/setuptools/dist.py", line 444, in __init__
2019-06-19 10:10:37,352 > for ep in pkg_resources.iter_entry_points('distutils.setup_keywords'):
2019-06-19 10:10:37,352 > File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 726, in iter_entry_points
2019-06-19 10:10:37,352 > entries = dist.get_entry_map(group)
2019-06-19 10:10:37,353 > File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2639, in get_entry_map
2019-06-19 10:10:37,353 > self._get_metadata('entry_points.txt'), self
2019-06-19 10:10:37,353 > File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2373, in parse_map
2019-06-19 10:10:37,354 > raise ValueError("Entry points must be listed in groups")
2019-06-19 10:10:37,354 > ValueError: Entry points must be listed in groups
2019-06-19 10:10:37,354 >
2019-06-19 10:10:37,354 > ----------------------------------------
Here's what I get in my octoprint log:
2019-06-18 23:20:05,319 - octoprint.plugins.pluginmanager - INFO - Installing plugin from https:github.com/kantlivelong/OctoPrint-PSUControl/archive/master.zip
2019-06-18 23:20:06,255 - octoprint.plugin.core - ERROR - Error fetching plugins from entry points
Traceback (most recent call last):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 667, in _find_plugins
ignore_uninstalled=ignore_uninstalled)
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 775, in _find_plugins_from_entry_points
for entry_point in wrapped(working_set.iter_entry_points(group=group, name=None)):
File "/home/pi/oprint/local/lib/python2.7/site-packages/octoprint/plugin/core.py", line 767, in wrapped
for entry in gen:
File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 726, in iter_entry_points
entries = dist.get_entry_map(group)
File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2639, in get_entry_map
self._get_metadata('entry_points.txt'), self
File "/home/pi/oprint/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2373, in parse_map
raise ValueError("Entry points must be listed in groups")
ValueError: Entry points must be listed in groups
2019-06-18 23:20:14,802 - octoprint.plugins.pluginmanager - ERROR - Installing the plugin from https:github.com/kantlivelong/OctoPrint-PSUControl/archive/master.zip failed, could not parse output from pip. See plugin_pluginmanager_console.log for generated output