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

Install fails during dependency checks... #1

Closed
fiveangle opened this issue Jun 25, 2017 · 12 comments
Closed

Install fails during dependency checks... #1

fiveangle opened this issue Jun 25, 2017 · 12 comments

Comments

@fiveangle
Copy link

Using OctoPrint 1.3.4 (master branch), install fails:

Installing plugin "PolarCloud (Beta)" from https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zip...
/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.4-py2.7.egg (from OctoPrint-PolarCloud==0.1.0Beta)
Collecting SocketIO-client (from OctoPrint-PolarCloud==0.1.0Beta)
Using cached socketIO-client-0.7.2.tar.gz
Requirement already satisfied: pyopenssl in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-PolarCloud==0.1.0Beta)
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 666, in _prepare_file
check_dist_requires_python(dist)
File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/utils/packaging.py", line 48, in check_dist_requires_python
feed_parser.feed(metadata)
File "/usr/lib/python2.7/email/feedparser.py", line 177, in feed
self._input.push(data)
File "/usr/lib/python2.7/email/feedparser.py", line 99, in push
parts = data.splitlines(True)
AttributeError: 'NoneType' object has no attribute 'splitlines'
Error!
Could not parse output from pip, see plugin_pluginmanager_console.log for generated output
plugin manager console output log
2017-06-25 03:15:56,948   /home/pi/oprint/bin/python -m pip install https://github.com/Booli/OctoPrint-ActionTriggerPlugin/archive/master.zip
2017-06-25 03:16:00,983 > Collecting https://github.com/Booli/OctoPrint-ActionTriggerPlugin/archive/master.zip
2017-06-25 03:16:02,201 > Downloading https://github.com/Booli/OctoPrint-ActionTriggerPlugin/archive/master.zip
2017-06-25 03:16:08,001 > Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.4-py2.7.egg (from OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,002 > Requirement already satisfied: flask<0.11,>=0.9 in /home/pi/oprint/lib/python2.7/site-packages/Flask-0.10.1-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,003 > Requirement already satisfied: Jinja2<2.9,>=2.8 in /home/pi/oprint/lib/python2.7/site-packages/Jinja2-2.8-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,003 > Requirement already satisfied: werkzeug<0.9,>=0.8.3 in /home/pi/oprint/lib/python2.7/site-packages/Werkzeug-0.8.3-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,004 > Requirement already satisfied: tornado==4.0.2 in /home/pi/oprint/lib/python2.7/site-packages/tornado-4.0.2-py2.7-linux-armv7l.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,004 > Requirement already satisfied: sockjs-tornado<1.1,>=1.0.2 in /home/pi/oprint/lib/python2.7/site-packages/sockjs_tornado-1.0.3-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,005 > Requirement already satisfied: PyYAML<3.11,>=3.10 in /home/pi/oprint/lib/python2.7/site-packages/PyYAML-3.10-py2.7-linux-armv7l.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,005 > Requirement already satisfied: Flask-Login<0.3,>=0.2.2 in /home/pi/oprint/lib/python2.7/site-packages/Flask_Login-0.2.2-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,006 > Requirement already satisfied: Flask-Principal<0.4,>=0.3.5 in /home/pi/oprint/lib/python2.7/site-packages/Flask_Principal-0.3.5-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,006 > Requirement already satisfied: Flask-Babel<0.10,>=0.9 in /home/pi/oprint/lib/python2.7/site-packages/Flask_Babel-0.9-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,007 > Requirement already satisfied: Flask-Assets<0.11,>=0.10 in /home/pi/oprint/lib/python2.7/site-packages/Flask_Assets-0.10-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,008 > Requirement already satisfied: markdown<2.7,>=2.6.4 in /home/pi/oprint/lib/python2.7/site-packages/Markdown-2.6.7-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,008 > Requirement already satisfied: pyserial<2.8,>=2.7 in /home/pi/oprint/lib/python2.7/site-packages/pyserial-2.7-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,009 > Requirement already satisfied: netaddr<0.8,>=0.7.17 in /home/pi/oprint/lib/python2.7/site-packages/netaddr-0.7.17-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,009 > Requirement already satisfied: watchdog<0.9,>=0.8.3 in /home/pi/oprint/lib/python2.7/site-packages/watchdog-0.8.3-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,010 > Requirement already satisfied: sarge<0.2,>=0.1.4 in /home/pi/oprint/lib/python2.7/site-packages/sarge-0.1.4-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,010 > Requirement already satisfied: netifaces<0.11,>=0.10 in /home/pi/oprint/lib/python2.7/site-packages/netifaces-0.10.0-py2.7-linux-armv7l.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,011 > Requirement already satisfied: pylru<1.1,>=1.0.9 in /home/pi/oprint/lib/python2.7/site-packages/pylru-1.0.9-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,011 > Requirement already satisfied: rsa<3.3,>=3.2 in /home/pi/oprint/lib/python2.7/site-packages/rsa-3.2-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,012 > Requirement already satisfied: pkginfo<1.3,>=1.2.1 in /home/pi/oprint/lib/python2.7/site-packages/pkginfo-1.2.1-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,013 > Requirement already satisfied: requests<2.8,>=2.7 in /home/pi/oprint/lib/python2.7/site-packages/requests-2.7.0-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,013 > Requirement already satisfied: semantic_version<2.5,>=2.4.2 in /home/pi/oprint/lib/python2.7/site-packages/semantic_version-2.4.2-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,014 > Requirement already satisfied: psutil<3.3,>=3.2.1 in /home/pi/oprint/lib/python2.7/site-packages/psutil-3.2.1-py2.7-linux-armv7l.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,014 > Requirement already satisfied: Click<6.3,>=6.2 in /home/pi/oprint/lib/python2.7/site-packages/click-6.2-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,015 > Requirement already satisfied: awesome-slugify<1.7,>=1.6.5 in /home/pi/oprint/lib/python2.7/site-packages/awesome_slugify-1.6.5-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,015 > Requirement already satisfied: feedparser<5.3,>=5.2.1 in /home/pi/oprint/lib/python2.7/site-packages/feedparser-5.2.1-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,016 > Requirement already satisfied: chainmap<1.1,>=1.0.2 in /home/pi/oprint/lib/python2.7/site-packages/chainmap-1.0.2-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,016 > Requirement already satisfied: future<0.16,>=0.15 in /home/pi/oprint/lib/python2.7/site-packages/future-0.15.2-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,017 > Requirement already satisfied: scandir<1.4,>=1.3 in /home/pi/oprint/lib/python2.7/site-packages/scandir-1.3-py2.7-linux-armv7l.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,017 > Requirement already satisfied: websocket-client<0.41,>=0.40 in /home/pi/oprint/lib/python2.7/site-packages/websocket_client-0.40.0-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,018 > Requirement already satisfied: python-dateutil<2.7,>=2.6 in /home/pi/oprint/lib/python2.7/site-packages/python_dateutil-2.6.0-py2.7.egg (from OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,019 > Requirement already satisfied: itsdangerous>=0.21 in /home/pi/oprint/lib/python2.7/site-packages/itsdangerous-0.24-py2.7.egg (from flask<0.11,>=0.9->OctoPrint->OctoPrint-ActionTriggerPlugin==0.
1)
2017-06-25 03:16:08,019 > Requirement already satisfied: MarkupSafe in /home/pi/oprint/lib/python2.7/site-packages/MarkupSafe-0.23-py2.7-linux-armv7l.egg (from Jinja2<2.9,>=2.8->OctoPrint->OctoPrint-ActionTriggerPlugin=
=0.1)
2017-06-25 03:16:08,020 > Requirement already satisfied: certifi in /home/pi/oprint/lib/python2.7/site-packages/certifi-2016.02.28-py2.7.egg (from tornado==4.0.2->OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,020 > Requirement already satisfied: backports.ssl_match_hostname in /home/pi/oprint/lib/python2.7/site-packages/backports.ssl_match_hostname-3.5.0.1-py2.7.egg (from tornado==4.0.2->OctoPrint->OctoPr
int-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,020 > Requirement already satisfied: blinker in /home/pi/oprint/lib/python2.7/site-packages/blinker-1.4-py2.7.egg (from Flask-Principal<0.4,>=0.3.5->OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,021 > Requirement already satisfied: Babel>=1.0 in /home/pi/oprint/lib/python2.7/site-packages/Babel-2.3.3-py2.7.egg (from Flask-Babel<0.10,>=0.9->OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,022 > Requirement already satisfied: speaklater>=1.2 in /home/pi/oprint/lib/python2.7/site-packages/speaklater-1.3-py2.7.egg (from Flask-Babel<0.10,>=0.9->OctoPrint->OctoPrint-ActionTriggerPlugin==0.
1)
2017-06-25 03:16:08,022 > Requirement already satisfied: webassets>=0.10 in /home/pi/oprint/lib/python2.7/site-packages/webassets-0.11.1-py2.7.egg (from Flask-Assets<0.11,>=0.10->OctoPrint->OctoPrint-ActionTriggerPlugin
==0.1)
2017-06-25 03:16:08,023 > Requirement already satisfied: argh>=0.24.1 in /home/pi/oprint/lib/python2.7/site-packages/argh-0.26.1-py2.7.egg (from watchdog<0.9,>=0.8.3->OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,023 > Requirement already satisfied: pathtools>=0.1.1 in /home/pi/oprint/lib/python2.7/site-packages/pathtools-0.1.2-py2.7.egg (from watchdog<0.9,>=0.8.3->OctoPrint->OctoPrint-ActionTriggerPlugin==0.
1)
2017-06-25 03:16:08,024 > Requirement already satisfied: pyasn1>=0.1.3 in /home/pi/oprint/lib/python2.7/site-packages (from rsa<3.3,>=3.2->OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,025 > Requirement already satisfied: regex in /home/pi/oprint/lib/python2.7/site-packages/regex-2016.04.15-py2.7-linux-armv7l.egg (from awesome-slugify<1.7,>=1.6.5->OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,025 > Requirement already satisfied: Unidecode<0.05,>=0.04.14 in /home/pi/oprint/lib/python2.7/site-packages/Unidecode-0.04.19-py2.7.egg (from awesome-slugify<1.7,>=1.6.5->OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,026 > Requirement already satisfied: six in /home/pi/oprint/lib/python2.7/site-packages (from websocket-client<0.41,>=0.40->OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,026 > Requirement already satisfied: pytz>=0a in /home/pi/oprint/lib/python2.7/site-packages/pytz-2016.3-py2.7.egg (from Babel>=1.0->Flask-Babel<0.10,>=0.9->OctoPrint->OctoPrint-ActionTriggerPlugin==0.1)
2017-06-25 03:16:08,027 > Installing collected packages: OctoPrint-ActionTriggerPlugin
2017-06-25 03:16:08,027 > Running setup.py install for OctoPrint-ActionTriggerPlugin: started
2017-06-25 03:16:10,761 > Running setup.py install for OctoPrint-ActionTriggerPlugin: finished with status 'done'
2017-06-25 03:16:10,762 > Successfully installed OctoPrint-ActionTriggerPlugin-0.1
2017-06-25 03:23:04,646   /home/pi/oprint/bin/python -m pip uninstall --yes OctoPrint-ActionTriggerPlugin
2017-06-25 03:23:08,943 > Uninstalling OctoPrint-ActionTriggerPlugin-0.1:
2017-06-25 03:23:08,944 > Successfully uninstalled OctoPrint-ActionTriggerPlugin-0.1
2017-06-25 03:24:40,624   /home/pi/oprint/bin/python -m pip install https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zip
2017-06-25 03:24:44,870 > Collecting https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zip
2017-06-25 03:24:46,242 > Downloading https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zip (2.9MB)
2017-06-25 03:24:57,304 > Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.4-py2.7.egg (from OctoPrint-PolarCloud==0.1.0Beta)
2017-06-25 03:24:58,585 > Collecting SocketIO-client (from OctoPrint-PolarCloud==0.1.0Beta)
2017-06-25 03:24:58,586 > Downloading socketIO-client-0.7.2.tar.gz
2017-06-25 03:25:01,623 > Requirement already satisfied: pyopenssl in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-PolarCloud==0.1.0Beta)
2017-06-25 03:25:02,128 ! Exception:
2017-06-25 03:25:02,128 ! Traceback (most recent call last):
2017-06-25 03:25:02,129 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
2017-06-25 03:25:02,129 ! status = self.run(options, args)
2017-06-25 03:25:02,130 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/commands/install.py", line 324, in run
2017-06-25 03:25:02,130 ! requirement_set.prepare_files(finder)
2017-06-25 03:25:02,131 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/req/req_set.py", line 380, in prepare_files
2017-06-25 03:25:02,131 ! ignore_dependencies=self.ignore_dependencies))
2017-06-25 03:25:02,131 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/req/req_set.py", line 666, in _prepare_file
2017-06-25 03:25:02,132 ! check_dist_requires_python(dist)
2017-06-25 03:25:02,132 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/utils/packaging.py", line 48, in check_dist_requires_python
2017-06-25 03:25:02,133 ! feed_parser.feed(metadata)
2017-06-25 03:25:02,133 ! File "/usr/lib/python2.7/email/feedparser.py", line 177, in feed
2017-06-25 03:25:02,134 ! self._input.push(data)
2017-06-25 03:25:02,134 ! File "/usr/lib/python2.7/email/feedparser.py", line 99, in push
2017-06-25 03:25:02,135 ! parts = data.splitlines(True)
2017-06-25 03:25:02,135 ! AttributeError: 'NoneType' object has no attribute 'splitlines'
2017-06-25 03:26:44,243   /home/pi/oprint/bin/python -m pip install https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zip
2017-06-25 03:26:48,338 > Collecting https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zip
2017-06-25 03:26:51,344 > Downloading https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zip (2.9MB)
2017-06-25 03:26:58,853 > Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.4-py2.7.egg (from OctoPrint-PolarCloud==0.1.0Beta)
2017-06-25 03:27:00,135 > Collecting SocketIO-client (from OctoPrint-PolarCloud==0.1.0Beta)
2017-06-25 03:27:00,136 > Using cached socketIO-client-0.7.2.tar.gz
2017-06-25 03:27:03,204 > Requirement already satisfied: pyopenssl in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-PolarCloud==0.1.0Beta)
2017-06-25 03:27:03,709 ! Exception:
2017-06-25 03:27:03,710 ! Traceback (most recent call last):
2017-06-25 03:27:03,711 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
2017-06-25 03:27:03,711 ! status = self.run(options, args)
2017-06-25 03:27:03,711 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/commands/install.py", line 324, in run
2017-06-25 03:27:03,712 ! requirement_set.prepare_files(finder)
2017-06-25 03:27:03,712 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/req/req_set.py", line 380, in prepare_files
2017-06-25 03:27:03,713 ! ignore_dependencies=self.ignore_dependencies))
2017-06-25 03:27:03,713 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/req/req_set.py", line 666, in _prepare_file
2017-06-25 03:27:03,713 ! check_dist_requires_python(dist)
2017-06-25 03:27:03,714 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/utils/packaging.py", line 48, in check_dist_requires_python
2017-06-25 03:27:03,714 ! feed_parser.feed(metadata)
2017-06-25 03:27:03,715 ! File "/usr/lib/python2.7/email/feedparser.py", line 177, in feed
2017-06-25 03:27:03,715 ! self._input.push(data)
2017-06-25 03:27:03,715 ! File "/usr/lib/python2.7/email/feedparser.py", line 99, in push
2017-06-25 03:27:03,716 ! parts = data.splitlines(True)
2017-06-25 03:27:03,716 ! AttributeError: 'NoneType' object has no attribute 'splitlines'
2017-06-25 04:12:36,885   /home/pi/oprint/bin/python -m pip install https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zip
2017-06-25 04:12:41,131 > Collecting https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zip
2017-06-25 04:12:44,136 > Downloading https://github.com/markwal/OctoPrint-PolarCloud/archive/master.zip
2017-06-25 04:12:51,144 > Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python2.7/site-packages/OctoPrint-1.3.4-py2.7.egg (from OctoPrint-PolarCloud==0.1.0Beta)
2017-06-25 04:12:52,512 > Collecting SocketIO-client (from OctoPrint-PolarCloud==0.1.0Beta)
2017-06-25 04:12:52,513 > Using cached socketIO-client-0.7.2.tar.gz
2017-06-25 04:12:55,682 > Requirement already satisfied: pyopenssl in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint-PolarCloud==0.1.0Beta)
2017-06-25 04:12:56,186 ! Exception:
2017-06-25 04:12:56,187 ! Traceback (most recent call last):
2017-06-25 04:12:56,187 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
2017-06-25 04:12:56,188 ! status = self.run(options, args)
2017-06-25 04:12:56,188 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/commands/install.py", line 324, in run
2017-06-25 04:12:56,189 ! requirement_set.prepare_files(finder)
2017-06-25 04:12:56,189 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/req/req_set.py", line 380, in prepare_files
2017-06-25 04:12:56,190 ! ignore_dependencies=self.ignore_dependencies))
2017-06-25 04:12:56,190 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/req/req_set.py", line 666, in _prepare_file
2017-06-25 04:12:56,190 ! check_dist_requires_python(dist)
2017-06-25 04:12:56,191 ! File "/home/pi/oprint/local/lib/python2.7/site-packages/pip/utils/packaging.py", line 48, in check_dist_requires_python
2017-06-25 04:12:56,191 ! feed_parser.feed(metadata)
2017-06-25 04:12:56,192 ! File "/usr/lib/python2.7/email/feedparser.py", line 177, in feed
2017-06-25 04:12:56,192 ! self._input.push(data)
2017-06-25 04:12:56,192 ! File "/usr/lib/python2.7/email/feedparser.py", line 99, in push
2017-06-25 04:12:56,193 ! parts = data.splitlines(True)
2017-06-25 04:12:56,193 ! AttributeError: 'NoneType' object has no attribute 'splitlines'```
</details>
@KayIO
Copy link

KayIO commented Jun 25, 2017

Yes ... Same with me.

@N3wpoint
Copy link

Same Here

@dnewman-polar3d
Copy link
Collaborator

FWIW,

With a fresh Octopi SD (2016-03-18-octopi-jessie-lite-0.13.0.img) on a RPi 3, the install worked for me. However, I first

  1. Allowed Octoprint to update to 1.3.4,
  2. Installed the GPX plugin (not required in general),
  3. Manually installed GStreamer (which required two passes as I had not previously done an "apt-get update" which turned out to be needed), and then
  4. Installed the Polar Cloud plugin. That, for me at least on Raspbian, went smoothly.

The manual install of GStreamer would not seem to be relevant to the logged error cited above though.

@markwal
Copy link
Owner

markwal commented Jun 25, 2017

Apparently this is an interaction between pyOpenSSL and pip:

guysoft/OctoPi#276

@markwal
Copy link
Owner

markwal commented Jun 25, 2017

OK. I've verified again that these steps work for installation purposes:

  • Make a new fresh image of octopi 0.13
  • Update to OctoPrint 1.3.4
  • Install the plugin

So, I suspect that people that hit this install issue are those that have the newest pip (9.0.1) because they've updated it after seeing the warning at the end of every plugin install. I'm going to try that next.

@dnewman-polar3d
Copy link
Collaborator

I didn't have the newest pip.....

Again, I started with

  1. A fresh Octopi SD (2016-03-18-octopi-jessie-lite-0.13.0.img) on a RPi 3
  2. Allowed Octoprint to update to 1.3.4,
  3. Installed the GPX plugin (not required in general),
  4. Manually installed GStreamer (which required two passes as I had not previously done an "apt-get update" which turned out to be needed), and then
  5. Installed the Polar Cloud plugin. That, for me at least on Raspbian, went smoothly.

I didn't update pip until much later; when I went to manually remove and re-install pyOpenSSL by hand.

@markwal
Copy link
Owner

markwal commented Jun 25, 2017

Oh boy. With the newest pip, it doesn't look like the workaround works. I can't get pyOpenSSL to install at all. :-(

@dnewman-polar3d
Copy link
Collaborator

dnewman-polar3d commented Jun 26, 2017

The updated directions do not work for me. I note also that I did not initially have pyOpenSSL to remove with the command,

rm -rf ~/oprint/lib/python2.7/site-packages/pyOpenSSL*

Perhaps that should have been

rm -rf ~/oprint/lib/python2.7/site-packages/OpenSSL

Which is to say, my Octopi image came with ~/oprint/lib/python2.7/site-packages/OpenSSL.

@markwal
Copy link
Owner

markwal commented Jun 26, 2017

Maybe both?

@Steveveepee
Copy link

I had errors still after following the Readme.md
I manually removed the OpenSSL folder with rm -rf ~/oprint/lib/python2.7/site-packages/OpenSSL and then it worked.

@markwal
Copy link
Owner

markwal commented Jun 27, 2017

I've reworked this so now the plugin falls back to using "ssh-keygen" if the pyOpenSSL module is too old to have the method I need, so the workaround steps are no longer necessary on systems that have ssh-keygen available. However, Windows users will still need to manually upgrade pyOpenSSL to at least 16.1 since they're less likely to have ssh-keygen on their path (unless they've installed Git for Windows).

@jb1t
Copy link

jb1t commented Sep 23, 2018

Hi,

I'm having the same error. I'm running on the following:
OctoPrint Version 1.3.9
OctoPi Version 0.13.0
RPi 2b
pip 9.0.1 from /home/pi/oprint/local/lib/python2.7/site-packages (python 2.7)
Linux version 4.9.35-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #1014 SMP Fri Jun 30 14:47:43 BST 2017
Prusa i3 MK2 - firmware 3.1.0 - 11/12/2017

So is the resolution (manually removing the OpenSSL folder) you believe still valid?

Thanks,
Jeff

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

7 participants