Closed negativ72rus closed 5 years ago
Hi @negativ72rus
Can you share the details of your setup? OctoPi, custom RasberryPi build, windows?
Have you checked your octoprint.log? There's likely an Octoslack related error being logged there that might explain what's going on.
hi @fraschetti i use OctoPi
Octoslck was installed befor, but one day in log i found:
2019-05-14 19:23:12,225 - octoprint.plugin.core - WARNING - Could not locate plugin Octoslack
2019-05-14 19:23:12,412 - octoprint.plugin.core - ERROR - Error loading plugin anywhere
then i install it again in log:
2019-05-14 19:56:02,092 - octoprint.plugins.pluginmanager - INFO - Installing plugin from https://github.com/fraschetti/Octoslack/archive/master.zip
2019-05-14 19:56:03,293 - octoprint.plugin.core - WARNING - Could not locate plugin Octoslack
2019-05-14 19:56:03,313 - octoprint.plugin.core - ERROR - Error loading plugin anywhere
Hi @negativ72rus
I've never see this problem before but it also appears you're experiencing issues with the anywhere plugin as well.
A few initial questions:
Same issue here I think -- OctoSlack working fine on an existing octopi, and am busy moving to a new odroid install. Plugin did not restore from the backup, and installing it gives errors.
The issue seems to be missing header files for the zlib libraries - apt-get install zlib1g-dev
fixed it for me.
Installing plugin "Octoslack" from https://github.com/fraschetti/Octoslack/archive/master.zip...
/home/ax/OctoPrint/venv/bin/python2 -m pip --disable-pip-version-check install https://github.com/fraschetti/Octoslack/archive/master.zip --no-cache-dir
Collecting https://github.com/fraschetti/Octoslack/archive/master.zip
Downloading https://github.com/fraschetti/Octoslack/archive/master.zip
Requirement already satisfied: OctoPrint in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from Octoslack==1.7.2) (1.3.11)
Requirement already satisfied: slackclient in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from Octoslack==1.7.2) (1.3.1)
Requirement already satisfied: slacker in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from Octoslack==1.7.2) (0.13.0)
Requirement already satisfied: tinys3 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from Octoslack==1.7.2) (0.1.12)
Requirement already satisfied: imgurpython in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from Octoslack==1.7.2) (1.1.7)
Collecting Pillow (from Octoslack==1.7.2)
Downloading https://files.pythonhosted.org/packages/81/1a/6b2971adc1bca55b9a53ed1efa372acff7e8b9913982a396f3fa046efaf8/Pillow-6.0.0.tar.gz (29.5MB)
Collecting humanize (from Octoslack==1.7.2)
Downloading https://files.pythonhosted.org/packages/8c/e0/e512e4ac6d091fc990bbe13f9e0378f34cf6eecd1c6c268c9e598dcf5bb9/humanize-0.5.1.tar.gz
Collecting minio (from Octoslack==1.7.2)
Downloading https://files.pythonhosted.org/packages/c8/bd/9fe50024059e871e65ad05385d1f0a6037308d7ccd8a302adf4699d58305/minio-4.0.17-py2.py3-none-any.whl (54kB)
Requirement already satisfied: netifaces in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from Octoslack==1.7.2) (0.10.9)
Requirement already satisfied: pytz in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from Octoslack==1.7.2) (2019.1)
Requirement already satisfied: feedparser<5.3,>=5.2.1 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (5.2.1)
Requirement already satisfied: rsa<5,>=4.0 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (4.0)
Requirement already satisfied: future<0.18,>=0.17.1 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (0.17.1)
Requirement already satisfied: pkginfo<1.6,>=1.5.0.1 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (1.5.0.1)
Requirement already satisfied: Flask-Principal<0.5,>=0.4 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (0.4.0)
Requirement already satisfied: tornado==4.5.3 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (4.5.3)
Requirement already satisfied: Flask-Assets<0.13,>=0.12 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (0.12)
Requirement already satisfied: Click<8,>=7 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (7.0)
Requirement already satisfied: futures<3.3,>=3.2 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (3.2.0)
Requirement already satisfied: werkzeug<0.16,>=0.15.1 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (0.15.4)
Requirement already satisfied: pylru<1.3,>=1.2 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (1.2.0)
Requirement already satisfied: regex!=2018.11.6 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (2019.5.25)
Requirement already satisfied: Flask-Babel<0.13,>=0.12 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (0.12.2)
Requirement already satisfied: psutil<5.7,>=5.6.1 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (5.6.2)
Requirement already satisfied: Flask-Login<0.3,>=0.2.11 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (0.2.11)
Requirement already satisfied: monotonic<1.6,>=1.5 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (1.5)
Requirement already satisfied: typing<4,>=3.6.6 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (3.6.6)
Requirement already satisfied: PyYAML<6,>=5.1 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (5.1)
Requirement already satisfied: scandir<1.11,>=1.10 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (1.10.0)
Requirement already satisfied: awesome-slugify<1.7,>=1.6.5 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (1.6.5)
Requirement already satisfied: markdown<3.1,>=3.0 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (3.0.1)
Requirement already satisfied: netaddr<0.8,>=0.7.19 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (0.7.19)
Requirement already satisfied: pyserial<3.5,>=3.4 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (3.4)
Requirement already satisfied: flask<0.11,>=0.10.1 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (0.10.1)
Requirement already satisfied: wrapt<1.12,>=1.11.1 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (1.11.1)
Requirement already satisfied: Jinja2<2.9,>=2.8.1 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (2.8.1)
Requirement already satisfied: sarge==0.1.5post0 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (0.1.5.post0)
Requirement already satisfied: sentry-sdk==0.7.7 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (0.7.7)
Requirement already satisfied: watchdog<0.10,>=0.9.0 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (0.9.0)
Requirement already satisfied: emoji<0.6,>=0.5.1 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (0.5.2)
Requirement already satisfied: frozendict<1.3,>=1.2 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (1.2)
Requirement already satisfied: semantic-version<2.7,>=2.6 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (2.6.0)
Requirement already satisfied: cachelib<0.2,>=0.1 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (0.1)
Requirement already satisfied: requests<3,>=2.21.0 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (2.22.0)
Requirement already satisfied: chainmap<1.1,>=1.0.3 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (1.0.3)
Requirement already satisfied: websocket-client<0.57,>=0.56 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from OctoPrint->Octoslack==1.7.2) (0.56.0)
Requirement already satisfied: six<2.0a0,>=1.10 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from slackclient->Octoslack==1.7.2) (1.12.0)
Requirement already satisfied: urllib3 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from minio->Octoslack==1.7.2) (1.25.3)
Requirement already satisfied: python-dateutil in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from minio->Octoslack==1.7.2) (2.8.0)
Requirement already satisfied: certifi in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from minio->Octoslack==1.7.2) (2019.3.9)
Requirement already satisfied: pyasn1>=0.1.3 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from rsa<5,>=4.0->OctoPrint->Octoslack==1.7.2) (0.4.5)
Requirement already satisfied: blinker in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from Flask-Principal<0.5,>=0.4->OctoPrint->Octoslack==1.7.2) (1.4)
Requirement already satisfied: singledispatch in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint->Octoslack==1.7.2) (3.4.0.3)
Requirement already satisfied: backports-abc>=0.4 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from tornado==4.5.3->OctoPrint->Octoslack==1.7.2) (0.5)
Requirement already satisfied: webassets>=0.11.1 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from Flask-Assets<0.13,>=0.12->OctoPrint->Octoslack==1.7.2) (0.12.1)
Requirement already satisfied: Babel>=2.3 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from Flask-Babel<0.13,>=0.12->OctoPrint->Octoslack==1.7.2) (2.7.0)
Requirement already satisfied: Unidecode<0.05,>=0.04.14 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from awesome-slugify<1.7,>=1.6.5->OctoPrint->Octoslack==1.7.2) (0.4.21)
Requirement already satisfied: itsdangerous>=0.21 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from flask<0.11,>=0.10.1->OctoPrint->Octoslack==1.7.2) (1.1.0)
Requirement already satisfied: MarkupSafe in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from Jinja2<2.9,>=2.8.1->OctoPrint->Octoslack==1.7.2) (1.1.1)
Requirement already satisfied: argh>=0.24.1 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from watchdog<0.10,>=0.9.0->OctoPrint->Octoslack==1.7.2) (0.26.2)
Requirement already satisfied: pathtools>=0.1.1 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from watchdog<0.10,>=0.9.0->OctoPrint->Octoslack==1.7.2) (0.1.2)
Requirement already satisfied: idna<2.9,>=2.5 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from requests<3,>=2.21.0->OctoPrint->Octoslack==1.7.2) (2.8)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/ax/OctoPrint/venv/lib/python2.7/site-packages (from requests<3,>=2.21.0->OctoPrint->Octoslack==1.7.2) (3.0.4)
Building wheels for collected packages: Octoslack, Pillow, humanize
Building wheel for Octoslack (setup.py): started
Building wheel for Octoslack (setup.py): finished with status 'done'
Stored in directory: /tmp/pip-ephem-wheel-cache-Usb3m3/wheels/08/69/d1/e33bdd25d4490eae51539f96906936acfef9776a51c2a5d864
Building wheel for Pillow (setup.py): started
Building wheel for Pillow (setup.py): finished with status 'error'
Running setup.py clean for Pillow
ERROR: Complete output from command /home/ax/OctoPrint/venv/bin/python2 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-bIa9Iu/Pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-x7p7Zu --python-tag cp27:
ERROR: running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/features.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_binary.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Image.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/__init__.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_util.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TarIO.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_version.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
running egg_info
writing src/Pillow.egg-info/PKG-INFO
writing top-level names to src/Pillow.egg-info/top_level.txt
writing dependency_links to src/Pillow.egg-info/dependency_links.txt
reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c'
warning: no files found matching '*.h'
warning: no files found matching '*.sh'
no previously-included directories found matching 'docs/_static'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.codecov.yml'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.landscape.yaml'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'azure-pipelines.yml'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
no previously-included directories found matching '.azure-pipelines'
no previously-included directories found matching '.travis'
writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
running build_ext
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-bIa9Iu/Pillow/setup.py", line 804, in <module>
raise RequiredDependencyException(msg)
__main__.RequiredDependencyException:
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
----------------------------------------
ERROR: Failed building wheel for Pillow
Building wheel for humanize (setup.py): started
Building wheel for humanize (setup.py): finished with status 'done'
Stored in directory: /tmp/pip-ephem-wheel-cache-Usb3m3/wheels/69/86/6c/f8b8593bc273ec4b0c653d3827f7482bb2001a2781a73b7f44
Successfully built Octoslack humanize
Failed to build Pillow
Installing collected packages: Pillow, humanize, minio, Octoslack
Running setup.py install for Pillow: started
Running setup.py install for Pillow: finished with status 'error'
ERROR: Complete output from command /home/ax/OctoPrint/venv/bin/python2 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-bIa9Iu/Pillow/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-tnAXmq/install-record.txt --single-version-externally-managed --compile --install-headers /home/ax/OctoPrint/venv/include/site/python2.7/Pillow:
ERROR: running install
running build
running build_py
creating build
creating build/lib.linux-armv7l-2.7
creating build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImagePalette.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/CurImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageGrab.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WmfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PSDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TiffImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Jpeg2KImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImtImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ContainerIO.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BlpImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SgiImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/features.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_binary.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PdfImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SpiderImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageQt.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PixarImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Image.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IcoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GdImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/DcxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/DdsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageOps.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/__init__.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BmpImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageEnhance.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/SunImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/Hdf5StubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/JpegPresets.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageCms.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageTk.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageColor.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GbrImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GribStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XbmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_util.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MpoImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WalImageFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/EpsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/WebPImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BdfFontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageStat.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TarIO.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageShow.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PcdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageSequence.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GimpGradientFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_tkinter_finder.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FtexImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/McIdasImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FontFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MspImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IptcImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/XVThumbImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageTransform.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PalmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageDraw2.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/MicImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TiffTags.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/TgaImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PyAccess.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageChops.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PsdImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMath.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/_version.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GimpPaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMode.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageMorph.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/JpegImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PpmImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageWin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PaletteFile.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/IcnsImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/GifImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImagePath.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ExifTags.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFilter.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/BufrStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageFont.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PdfParser.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/ImageDraw.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FitsStubImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/PngImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FpxImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
copying src/PIL/FliImagePlugin.py -> build/lib.linux-armv7l-2.7/PIL
running egg_info
writing src/Pillow.egg-info/PKG-INFO
writing top-level names to src/Pillow.egg-info/top_level.txt
writing dependency_links to src/Pillow.egg-info/dependency_links.txt
reading manifest file 'src/Pillow.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c'
warning: no files found matching '*.h'
warning: no files found matching '*.sh'
no previously-included directories found matching 'docs/_static'
warning: no previously-included files found matching '.appveyor.yml'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.codecov.yml'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.landscape.yaml'
warning: no previously-included files found matching '.readthedocs.yml'
warning: no previously-included files found matching 'azure-pipelines.yml'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
no previously-included directories found matching '.azure-pipelines'
no previously-included directories found matching '.travis'
writing manifest file 'src/Pillow.egg-info/SOURCES.txt'
running build_ext
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-bIa9Iu/Pillow/setup.py", line 804, in <module>
raise RequiredDependencyException(msg)
__main__.RequiredDependencyException:
The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source.
Please see the install instructions at:
https://pillow.readthedocs.io/en/latest/installation.html
----------------------------------------
For reference, the same issue was reported for other plugins as well: https://github.com/FormerLurker/Octolapse/issues/342 https://github.com/fabianonline/OctoPrint-Telegram/issues/161
As well as here: https://github.com/matrix-org/synapse/issues/2562
Closing this issue as this isn't specifically an Octoslack issue and a suitable workaround has been identified:
apt-get install zlib1g-dev
After installing the plugin in the list of installed it does not appear OctoPrint: 1.3.11