[Octolapse] Can't install it, no idea why :)


#21

Hi, yes, I did upgrade PIP already. That was successful. Sorry I didn't mention it in the initial response.

That's the only thing I did other than trying various methods of uninstalling/installing Pillow which was not successful. I'm on the latest stable release of OctoPrint. Other Plugins I have installed:

Action Command Prompt Support
Announcement Plugin
Core Wizard
CuraEngine (<= 15.04)
Discovery
Emergency Stop Button (0.1.2)
Fullscreen Plugin (0.0.4)
Logging
OctoPi Support Plugin
Plugin Manager
Printer Safety Check
Software Update
TouchUI (0.3.11)
Virtual Printer


#22

@aolshove,

Can you try going to the following directory:
~/oprint/local/bin
then running the following command:
./pip --no-cache-dir install pillow
If you have errors (I'm guessing you probably will, fyi) perhaps you can upload the entire log to gist.github.com or something similar and post a link?


#23

im getting the same problem,
im getting:

Installing plugin from https://github.com/FormerLurker/Octolapse/archive/master.zip.../home/pi/oprint/bin/python2 -m pip install https://github.com/FormerLurker/Octolapse/archive/master.zip --no-cache-dir
Collecting https://github.com/FormerLurker/Octolapse/archive/master.zip
Downloading https://github.com/FormerLurker/Octolapse/archive/master.zip
Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python2.7/site-packages (from Octolapse==0.3.1)
Collecting Pillow (from Octolapse==0.3.1)
Downloading https://files.pythonhosted.org/packages/1b/e1/1118d60e9946e4e77872b69c58bc2f28448ec02c99a2ce456cd1a272c5fd/Pillow-5.3.0.tar.gz (15.6MB)
Requirement already satisfied: sarge in /home/pi/oprint/lib/python2.7/site-packages (from Octolapse==0.3.1)
Requirement already satisfied: six in /home/pi/oprint/lib/python2.7/site-packages (from Octolapse==0.3.1)
Requirement already satisfied: flask&lt;0.11,&gt;=0.10.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: Jinja2&lt;2.9,&gt;=2.8.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: werkzeug&lt;0.9,&gt;=0.8.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: tornado==4.5.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: PyYAML&lt;3.11,&gt;=3.10 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: Flask-Login&lt;0.3,&gt;=0.2.11 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: Flask-Principal&lt;0.4,&gt;=0.3.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: Flask-Babel&lt;0.10,&gt;=0.9 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: Flask-Assets&lt;0.11,&gt;=0.10 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: markdown&lt;2.7,&gt;=2.6.9 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: pyserial&lt;3.5,&gt;=3.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: netaddr&lt;0.8,&gt;=0.7.19 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: watchdog&lt;0.9,&gt;=0.8.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: netifaces&lt;0.11,&gt;=0.10.6 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: pylru&lt;1.1,&gt;=1.0.9 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: rsa&lt;3.3,&gt;=3.2.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: pkginfo&lt;1.5,&gt;=1.4.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: requests&lt;3,&gt;=2.18.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: semantic_version&lt;2.5,&gt;=2.4.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: psutil&lt;5.5,&gt;=5.4.6 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: Click&lt;6.3,&gt;=6.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: awesome-slugify&lt;1.7,&gt;=1.6.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: feedparser&lt;5.3,&gt;=5.2.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: chainmap&lt;1.1,&gt;=1.0.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: future&lt;0.16,&gt;=0.15.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: scandir&lt;1.4,&gt;=1.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: websocket-client&lt;0.41,&gt;=0.40.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: python-dateutil&lt;2.7,&gt;=2.6.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: wrapt&lt;1.11,&gt;=1.10.11 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: futures&lt;3.2,&gt;=3.1.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: emoji&lt;0.5,&gt;=0.4.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: monotonic&lt;1.4,&gt;=1.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: frozendict&lt;1.3,&gt;=1.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: itsdangerous&gt;=0.21 in /home/pi/oprint/lib/python2.7/site-packages (from flask&lt;0.11,&gt;=0.10.1-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: MarkupSafe in /home/pi/oprint/lib/python2.7/site-packages (from Jinja2&lt;2.9,&gt;=2.8.1-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: singledispatch in /home/pi/oprint/lib/python2.7/site-packages (from tornado==4.5.3-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: certifi in /home/pi/oprint/lib/python2.7/site-packages (from tornado==4.5.3-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: backports-abc&gt;=0.4 in /home/pi/oprint/lib/python2.7/site-packages (from tornado==4.5.3-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: blinker in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Principal&lt;0.4,&gt;=0.3.5-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: Babel&gt;=1.0 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Babel&lt;0.10,&gt;=0.9-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: speaklater&gt;=1.2 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Babel&lt;0.10,&gt;=0.9-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: webassets&gt;=0.10 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Assets&lt;0.11,&gt;=0.10-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: argh&gt;=0.24.1 in /home/pi/oprint/lib/python2.7/site-packages (from watchdog&lt;0.9,&gt;=0.8.3-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: pathtools&gt;=0.1.1 in /home/pi/oprint/lib/python2.7/site-packages (from watchdog&lt;0.9,&gt;=0.8.3-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: pyasn1&gt;=0.1.3 in /home/pi/oprint/lib/python2.7/site-packages (from rsa&lt;3.3,&gt;=3.2.3-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: urllib3&lt;1.23,&gt;=1.21.1 in /home/pi/oprint/lib/python2.7/site-packages (from requests&lt;3,&gt;=2.18.4-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: idna&lt;2.7,&gt;=2.5 in /home/pi/oprint/lib/python2.7/site-packages (from requests&lt;3,&gt;=2.18.4-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: chardet&lt;3.1.0,&gt;=3.0.2 in /home/pi/oprint/lib/python2.7/site-packages (from requests&lt;3,&gt;=2.18.4-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: Unidecode&lt;0.05,&gt;=0.04.14 in /home/pi/oprint/lib/python2.7/site-packages (from awesome-slugify&lt;1.7,&gt;=1.6.5-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: regex in /home/pi/oprint/lib/python2.7/site-packages (from awesome-slugify&lt;1.7,&gt;=1.6.5-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Requirement already satisfied: pytz&gt;=0a in /home/pi/oprint/lib/python2.7/site-packages (from Babel&gt;=1.0-&gt;Flask-Babel&lt;0.10,&gt;=0.9-&gt;OctoPrint-&gt;Octolapse==0.3.1)
Installing collected packages: Pillow, Octolapse
Running setup.py install for Pillow: started
Error! Could not install plugin, unknown error, please consult octoprint.log for details"

#24

Rogerio, please format your logs so they are readable. I'm updating this post, so make sure to do it yourself in the future.

Unfortunately the actual error is missing, it's somewhere between the last two lines. Is there anything in octoprint.log?


#25

Thanks!
i paste the code im getting:

Installing plugin "Octolapse" from https://github.com/FormerLurker/Octolapse/archive/master.zip...
/home/pi/oprint/bin/python2 -m pip install https://github.com/FormerLurker/Octolapse/archive/master.zip
Collecting https://github.com/FormerLurker/Octolapse/archive/master.zip
Downloading https://github.com/FormerLurker/Octolapse/archive/master.zip
Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python2.7/site-packages (from Octolapse==0.3.1)
Collecting Pillow (from Octolapse==0.3.1)
Cache entry deserialization failed, entry ignored
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', error(104, 'Connection reset by peer'))': /packages/1b/e1/1118d60e9946e4e77872b69c58bc2f28448ec02c99a2ce456cd1a272c5fd/Pillow-5.3.0.tar.gz
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', error(104, 'Connection reset by peer'))': /packages/1b/e1/1118d60e9946e4e77872b69c58bc2f28448ec02c99a2ce456cd1a272c5fd/Pillow-5.3.0.tar.gz
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', error(104, 'Connection reset by peer'))': /packages/1b/e1/1118d60e9946e4e77872b69c58bc2f28448ec02c99a2ce456cd1a272c5fd/Pillow-5.3.0.tar.gz
Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', error(104, 'Connection reset by peer'))': /packages/1b/e1/1118d60e9946e4e77872b69c58bc2f28448ec02c99a2ce456cd1a272c5fd/Pillow-5.3.0.tar.gz
Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', error(104, 'Connection reset by peer'))': /packages/1b/e1/1118d60e9946e4e77872b69c58bc2f28448ec02c99a2ce456cd1a272c5fd/Pillow-5.3.0.tar.gz
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 335, in run
wb.build(autobuilding=True)
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/wheel.py", line 749, in build
self.requirement_set.prepare_files(self.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 521, 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 508, in request
resp = self.send(prep, **send_kwargs)
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/cachecontrol/adapter.py", line 47, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/_vendor/requests/adapters.py", line 508, in send
raise ConnectionError(e, request=request)
ConnectionError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/1b/e1/1118d60e9946e4e77872b69c58bc2f28448ec02c99a2ce456cd1a272c5fd/Pillow-5.3.0.tar.gz (Caused by ProtocolError('Connection aborted.', error(104, 'Connection reset by peer')))
You are using pip version 9.0.3, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Error!
Could not parse output from pip, see plugin_pluginmanager_console.log for generated output

#26

Your Pi's connection to the Python package index fails for some reason, and hence fails to download a dependency required by the plugin you are trying to install (Pillow). Could be a temporary issues on PyPI's side, or some hiccup somewhere between your Pi and those servers. Is the issue consistent?

This is how things should look like:

Collecting Pillow
  Downloading https://files.pythonhosted.org/packages/1b/e1/1118d60e9946e4e77872b69c58bc2f28448ec02c99a2ce456cd1a272c5fd/Pillow-5.3.0.tar.gz (15.6MB)
    100% |################################| 15.6MB 16kB/s
Building wheels for collected packages: Pillow
  Running setup.py bdist_wheel for Pillow ... done
  Stored in directory: /home/pi/.cache/pip/wheels/df/81/28/47e761b5e307472ba7c2c5ced6e52037bbefe33c9c4b2a627e
Successfully built Pillow
Installing collected packages: Pillow
Successfully installed Pillow-5.3.0

#27

It could be a pip problem.


#28

I can install every plugins, onty this one is like this...
i tryed to format and reeinstall the octoprint several times and im getting this all the times.
i have 4 raspberrys 3 B+ configured all the same way and this one is only the one getting me this problem =(


#29

Continuing the discussion from [Octolapse] Can't install it, no idea why :slight_smile::

Need help..
i can;t install octolapse..
octoprint (1).log (211.5 KB)


#30

.... rejected this post