markwal / OctoPrint-PolarCloud

OctoPrint plugin that connects OctoPrint to the Polar3D cloud. You easily monitor your printer from outside your LAN without arcane setup of port forwarding, etc. Plus, take advantage of the rapidly evolving Polar Cloud capabilities and UI.
GNU Affero General Public License v3.0
15 stars 8 forks source link

Octopi Install Problem (basecommand.py", line 215, in main status = self.run(options, args)) #25

Closed modidep closed 3 years ago

modidep commented 6 years ago

IHi,

I am trying to install the plugin on OctoPi Image. I keep getting the below errors:

Installing plugin "Polar Cloud" from https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zip... Installation needs to process external dependencies, that might make it take a bit longer than usual depending on the pip version /home/pi/oprint/bin/python -m pip install https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zip Collecting https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zip Downloading https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zip Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.5-py2.7.egg (from OctoPrint-PolarCloud==1.3) Collecting SocketIO-client (from OctoPrint-PolarCloud==1.3) Using cached socketIO-client-0.7.2.tar.gz Collecting pyopenssl (from OctoPrint-PolarCloud==1.3) Using cached pyOpenSSL-17.3.0-py2.py3-none-any.whl Collecting Pillow (from OctoPrint-PolarCloud==1.3) Exception: Traceback (most recent call last): File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/commands/install.py", line 324, in run requirement_set.prepare_files(finder) File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/req/req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/req/req_set.py", line 620, in _prepare_file session=self.session, hashes=hashes) File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/download.py", line 821, in unpack_url hashes=hashes File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/download.py", line 659, in unpack_http_url hashes) File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/download.py", line 853, in _download_http_url stream=True, File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 488, in get return self.request('GET', url, *kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/download.py", line 386, in request return super(PipSession, self).request(method, url, args, kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 475, in request resp = self.send(prep, send_kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 596, in send r = adapter.send(request, **kwargs) File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/adapter.py", line 37, in send cached_response = self.controller.cached_request(request) File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/controller.py", line 111, in cached_request resp = self.serializer.loads(request, cache_data) File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/serialize.py", line 114, in loads return getattr(self, "_loads_v{0}".format(ver))(request, data) File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/serialize.py", line 176, in _loads_v2 cached = json.loads(zlib.decompress(data).decode("utf8")) error: Error -3 while decompressing data: invalid stored block lengths Error! Could not parse output from pip, see plugin_pluginmanager_console.log for generated output

Any help would be appreciated. Thanks

markwal commented 6 years ago

Hmmm... I haven't seen that error before. It's having trouble installing Pillow due to a problem with zlib decompression... Oof.