Plug in for octoprint error


#1

Hi, im trying to download the plugin, from the plugin library and uploading the file. Neither of the two could achieve it!
The code of the error is this:

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

I would love to use AstroPrint, so if it has a solution, that will be awesome!
Thanks


#2

I currently uploaded octoprint from 1.3.8 to 1.3.10 in both gives me error.
And im using a raspberrry pi B.


#3

You seem to have a problem installing Pillow with pip. Perhaps some dependencies. Maybe you can try to install that in the command line first.


#4

Hi Daniel , thanks for the fast answer!!
I just achieved to install it, but the las phrase says me that i could get a newer version of pip and to put pip install- - upgrade pip
And I don’t know if that’s in the back of the octoprint(like when i install it) or if its a command that i can do from another simpler way


#5

Hi Daniel,
I upgraded pip and could install AstroPrint Plugin (for octoprint) good.
The problem is that doesn’t appear the tab neither in the home page of my octoprint or my plugins menu.

If you could hel me it will be awesome!!

This is the code
Installing plugin from uploaded archive…
/home/pi/oprint/bin/python2 -m pip install /tmp/tmpaAppv7.zip --no-cache-dir
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won’t be maintained after that date. A future version of pip will drop support for Python 2.7.
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Processing /tmp/tmpaAppv7.zip
Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python2.7/site-packages (from AstroPrint==1.2.0) (1.3.10)
Requirement already satisfied: ws4py==0.3.4 in /home/pi/oprint/lib/python2.7/site-packages (from AstroPrint==1.2.0) (0.3.4)
Requirement already satisfied: requests_toolbelt==0.8.0 in /home/pi/oprint/lib/python2.7/site-packages (from AstroPrint==1.2.0) (0.8.0)
Requirement already satisfied: Pillow in /home/pi/oprint/lib/python2.7/site-packages (from AstroPrint==1.2.0) (5.4.1)
Requirement already satisfied: flask<0.11,>=0.10.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (0.10.1)
Requirement already satisfied: Jinja2<2.9,>=2.8.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (2.8.1)
Requirement already satisfied: regex!=2018.11.6 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (2018.2.21)
Requirement already satisfied: werkzeug<0.9,>=0.8.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (0.8.3)
Requirement already satisfied: tornado==4.5.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (4.5.3)
Requirement already satisfied: PyYAML<3.11,>=3.10 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (3.10)
Requirement already satisfied: Flask-Login<0.3,>=0.2.11 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (0.2.11)
Requirement already satisfied: Flask-Principal<0.4,>=0.3.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (0.3.5)
Requirement already satisfied: Flask-Babel<0.10,>=0.9 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (0.9)
Requirement already satisfied: Flask-Assets<0.11,>=0.10 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (0.10)
Requirement already satisfied: markdown<2.7,>=2.6.9 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (2.6.11)
Requirement already satisfied: pyserial<3.5,>=3.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (3.4)
Requirement already satisfied: netaddr<0.8,>=0.7.19 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (0.7.19)
Requirement already satisfied: watchdog<0.9,>=0.8.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (0.8.3)
Requirement already satisfied: sarge==0.1.5post0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (0.1.5.post0)
Requirement already satisfied: netifaces<0.11,>=0.10.6 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (0.10.7)
Requirement already satisfied: pylru<1.1,>=1.0.9 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (1.0.9)
Requirement already satisfied: rsa<3.3,>=3.2.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (3.2.3)
Requirement already satisfied: pkginfo<1.5,>=1.4.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (1.4.2)
Requirement already satisfied: requests<3,>=2.18.4 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (2.18.4)
Requirement already satisfied: semantic_version<2.5,>=2.4.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (2.4.2)
Requirement already satisfied: psutil<5.5,>=5.4.6 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (5.4.8)
Requirement already satisfied: Click<6.3,>=6.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (6.2)
Requirement already satisfied: awesome-slugify<1.7,>=1.6.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (1.6.5)
Requirement already satisfied: feedparser<5.3,>=5.2.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (5.2.1)
Requirement already satisfied: chainmap<1.1,>=1.0.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (1.0.2)
Requirement already satisfied: future<0.16,>=0.15.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (0.15.2)
Requirement already satisfied: scandir<1.4,>=1.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (1.3)
Requirement already satisfied: websocket-client<0.41,>=0.40.0 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (0.40.0)
Requirement already satisfied: python-dateutil<2.7,>=2.6.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (2.6.1)
Requirement already satisfied: wrapt<1.11,>=1.10.11 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (1.10.11)
Requirement already satisfied: futures<3.2,>=3.1.1 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (3.1.1)
Requirement already satisfied: emoji<0.5,>=0.4.5 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (0.4.5)
Requirement already satisfied: monotonic<1.4,>=1.3 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (1.3)
Requirement already satisfied: frozendict<1.3,>=1.2 in /home/pi/oprint/lib/python2.7/site-packages (from OctoPrint->AstroPrint==1.2.0) (1.2)
Requirement already satisfied: itsdangerous>=0.21 in /home/pi/oprint/lib/python2.7/site-packages (from flask<0.11,>=0.10.1->OctoPrint->AstroPrint==1.2.0) (0.24)
Requirement already satisfied: MarkupSafe in /home/pi/oprint/lib/python2.7/site-packages (from Jinja2<2.9,>=2.8.1->OctoPrint->AstroPrint==1.2.0) (1.0)
Requirement already satisfied: singledispatch in /home/pi/oprint/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint->AstroPrint==1.2.0) (3.4.0.3)
Requirement already satisfied: certifi in /home/pi/oprint/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint->AstroPrint==1.2.0) (2018.4.16)
Requirement already satisfied: backports-abc>=0.4 in /home/pi/oprint/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint->AstroPrint==1.2.0) (0.5)
Requirement already satisfied: blinker in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Principal<0.4,>=0.3.5->OctoPrint->AstroPrint==1.2.0) (1.4)
Requirement already satisfied: Babel>=1.0 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Babel<0.10,>=0.9->OctoPrint->AstroPrint==1.2.0) (2.5.3)
Requirement already satisfied: speaklater>=1.2 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Babel<0.10,>=0.9->OctoPrint->AstroPrint==1.2.0) (1.3)
Requirement already satisfied: webassets>=0.10 in /home/pi/oprint/lib/python2.7/site-packages (from Flask-Assets<0.11,>=0.10->OctoPrint->AstroPrint==1.2.0) (0.12.1)
Requirement already satisfied: argh>=0.24.1 in /home/pi/oprint/lib/python2.7/site-packages (from watchdog<0.9,>=0.8.3->OctoPrint->AstroPrint==1.2.0) (0.26.2)
Requirement already satisfied: pathtools>=0.1.1 in /home/pi/oprint/lib/python2.7/site-packages (from watchdog<0.9,>=0.8.3->OctoPrint->AstroPrint==1.2.0) (0.1.2)
Requirement already satisfied: pyasn1>=0.1.3 in /home/pi/oprint/lib/python2.7/site-packages (from rsa<3.3,>=3.2.3->OctoPrint->AstroPrint==1.2.0) (0.4.2)
Requirement already satisfied: urllib3<1.23,>=1.21.1 in /home/pi/oprint/lib/python2.7/site-packages (from requests<3,>=2.18.4->OctoPrint->AstroPrint==1.2.0) (1.22)
Requirement already satisfied: idna<2.7,>=2.5 in /home/pi/oprint/lib/python2.7/site-packages (from requests<3,>=2.18.4->OctoPrint->AstroPrint==1.2.0) (2.6)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/pi/oprint/lib/python2.7/site-packages (from requests<3,>=2.18.4->OctoPrint->AstroPrint==1.2.0) (3.0.4)
Requirement already satisfied: Unidecode<0.05,>=0.04.14 in /home/pi/oprint/lib/python2.7/site-packages (from awesome-slugify<1.7,>=1.6.5->OctoPrint->AstroPrint==1.2.0) (0.4.21)
Requirement already satisfied: six in /home/pi/oprint/lib/python2.7/site-packages (from websocket-client<0.41,>=0.40.0->OctoPrint->AstroPrint==1.2.0) (1.11.0)
Requirement already satisfied: pytz>=0a in /home/pi/oprint/lib/python2.7/site-packages (from Babel>=1.0->Flask-Babel<0.10,>=0.9->OctoPrint->AstroPrint==1.2.0) (2018.4)
Installing collected packages: AstroPrint
Found existing installation: AstroPrint 1.2.1
Uninstalling AstroPrint-1.2.1:
Successfully uninstalled AstroPrint-1.2.1
Running setup.py install for AstroPrint: started
Running setup.py install for AstroPrint: finished with status ‘done’
Successfully installed AstroPrint-1.2.0
Done!

Screenshot


#6

Yes, the latest version outputs that as an error :confused:

Is the plugin installed nonetheless? Your log ends with Done.


#7

Says that its instálled but then doesnt apear the tab or the Plugin in menu


#8

Is there an error in the browser’s console log?