fraschetti / octoslack Goto Github PK
View Code? Open in Web Editor NEWOctoPrint plugin for Slack, Mattermost, Pushbullet, Pushover, Rocket.Chat, Discord, Riot/Matrix, & Microsoft Teams
License: MIT License
OctoPrint plugin for Slack, Mattermost, Pushbullet, Pushover, Rocket.Chat, Discord, Riot/Matrix, & Microsoft Teams
License: MIT License
I have a Marlin Firmware based runout sensor. Marlin triggers a M600 which pauses the print, moves the head and sets a timer for head cool-down until resumed by the end-user.
Marlin sends the following to the terminal screen when an event occurs: echo:enqueueing "M600"
Is it possible for OctoSlack to monitor for "received" events and send notification, like the GCode setup?
I need a separate "listen to commands" toggle that only allows safe readonly commands. So my slack buddies don't mess with prints. :) Or, have it do stop/pause/resume only from a specified slack username.
Was hoping to use this to detect when an M600 (marlin fw) was issued to pause the print and change filament. Is this possible or can only detect octoprint events only?
After running OctoPrint update to install 1.6.1, the update window shows that 1.6.0 is installed and OctoPrint keeps prompting to update OctoSlack to 1.6.1.
Setup.py still says 1.6.0. Octoprint keeps showing the update notification, because even though 1.6.1 is installed, it thinks is 1.6.0
I know that the plugin contains slack in the name, but since it also can be used with mattermost, I going to try out my luck with this feature request : it would awesome for this plugin to be able to talk to riot https://riot.im/ which is a open source / self-hosted / privacy oriented alternative to slack.
This would probably be done via the matrix python client https://github.com/matrix-org/matrix-python-sdk
I'm trying out the matrix/riot/slack integration to get messages from octoprint -> slack -> riot (but this is a hack and right now doesn't work yet)
I would appreciate if there was an option to send regular status messages from the bot even when the printer is not printing - just to see that everything is ok...
I'm running version 1.0.1 of OctoSlack. I'm also running version Version 1.3.5 (master branch) of OctoPrint. I'm running on a RPi 2 model b.
As you can see below I've set the webcam setting to flip both horizontally and vertically. My webcam works great and so does my timelapse videos. However, the images posted to imgur and then being referenced at Mattermost are not respecting these settings.
Any suggestions?
Thanks 👍
I'm not sure what the right approach to this is, but:
For new prints, my notifications rarely if ever display the estimated print time, unless I'm reprinting gcode which has been analyzed earlier.
For most prints, my octoslack notifications show "Estimated print time: N/A". If I enable notifications for metadata analysis complete, I get notifications for every uploaded file, even if they're not going to be printed, and because I'm using the PrintTimeGenius plugin, I get two of these notifications back to back.
Instead, it would be nice if the existing print started notification could be updated using the slack api once an updated estimate was available.
Not sure if there's a better approach though, any suggestions?
I'd like to be able to receive a message when printing is started after pre-heating is done. I now get a message when I click print, but then I keep checking the camera to see when the actual first layer starts printing.
Let me know what info you need to reproduce, but here are some examples.
sent at 12:02:
[12:02 AM]
➖ Print progress 45% 🏇
File Stand_wMotorMount_0.2mm_PLA_MK3MMU2.gcode (18.6MB via OctoPrint)
Elapsed 05:11:39
Remaining 05:30:25
ETA 00:02 today
sent at 12:33:
[12:02 AM]
➖ Print progress 50% 🏇
File Stand_wMotorMount_0.2mm_PLA_MK3MMU2.gcode (18.6MB via OctoPrint)
Elapsed 05:42:54
Remaining 05:00:27
ETA 00:33 today
I want to get pinged when MetadataAnalysisFinished is done, with some specifics:
result { analysisPending == true }
Creating this though I intend on doing it and submitting a PR. Still, putting it out here.
Set everything up according to the instructions and yet I am not getting any messages in Riot.im
Please help.
OctoSlack is awesome. Just wish I could limit the use of the commands by other users.
I have a slack group set up for 3d-printing geeks, and being able to see what everyone has printed is awesome, but I'd like to be able to limit the use of commands to my printers to just my userid instead of everyone in slack being able to stop my prints.
or being able to turn individual commands on or off would be a great addition, then I could only enable the commands I wanted others to use (i.e. status). So a listen toggle per command.
I don't really need or want to stop or pause a print from slack, but being able to allow others to get a status of my prints would be awesome.
I have the print progress update method set to "in-place". It used to work correctly, however within the last few weeks I have noticed that it is no longer working (it will output a new message for each status update). Recently I have been testing OctoPrint 1.3.11 (currently on rc3), not sure if this is the cause of the problem or something unrelated.
Let me know if you need me to do any testing or provide additional information.
Got the following error when installing on Octoprint 1.3.6 from the command line:
building 'PIL._imaging' extension
creating build/temp.linux-armv7l-2.7
creating build/temp.linux-armv7l-2.7/src
creating build/temp.linux-armv7l-2.7/src/libImaging
Building using 4 processes
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/_imaging.c -o build/temp.linux-armv7l-2.7/src/_imaging.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/outline.c -o build/temp.linux-armv7l-2.7/src/outline.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Bands.c -o build/temp.linux-armv7l-2.7/src/libImaging/Bands.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/ColorLUT.c -o build/temp.linux-armv7l-2.7/src/libImaging/ColorLUT.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/path.c -o build/temp.linux-armv7l-2.7/src/path.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Convert.c -o build/temp.linux-armv7l-2.7/src/libImaging/Convert.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/BcnDecode.c -o build/temp.linux-armv7l-2.7/src/libImaging/BcnDecode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Access.c -o build/temp.linux-armv7l-2.7/src/libImaging/Access.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/AlphaComposite.c -o build/temp.linux-armv7l-2.7/src/libImaging/AlphaComposite.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Resample.c -o build/temp.linux-armv7l-2.7/src/libImaging/Resample.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/ConvertYCbCr.c -o build/temp.linux-armv7l-2.7/src/libImaging/ConvertYCbCr.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/BitDecode.c -o build/temp.linux-armv7l-2.7/src/libImaging/BitDecode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Copy.c -o build/temp.linux-armv7l-2.7/src/libImaging/Copy.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Blend.c -o build/temp.linux-armv7l-2.7/src/libImaging/Blend.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Crop.c -o build/temp.linux-armv7l-2.7/src/libImaging/Crop.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Dib.c -o build/temp.linux-armv7l-2.7/src/libImaging/Dib.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Chops.c -o build/temp.linux-armv7l-2.7/src/libImaging/Chops.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Draw.c -o build/temp.linux-armv7l-2.7/src/libImaging/Draw.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Fill.c -o build/temp.linux-armv7l-2.7/src/libImaging/Fill.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Filter.c -o build/temp.linux-armv7l-2.7/src/libImaging/Filter.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/GifDecode.c -o build/temp.linux-armv7l-2.7/src/libImaging/GifDecode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/decode.c -o build/temp.linux-armv7l-2.7/src/decode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/GifEncode.c -o build/temp.linux-armv7l-2.7/src/libImaging/GifEncode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/encode.c -o build/temp.linux-armv7l-2.7/src/encode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/HexDecode.c -o build/temp.linux-armv7l-2.7/src/libImaging/HexDecode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/map.c -o build/temp.linux-armv7l-2.7/src/map.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Histo.c -o build/temp.linux-armv7l-2.7/src/libImaging/Histo.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/JpegDecode.c -o build/temp.linux-armv7l-2.7/src/libImaging/JpegDecode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/display.c -o build/temp.linux-armv7l-2.7/src/display.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/JpegEncode.c -o build/temp.linux-armv7l-2.7/src/libImaging/JpegEncode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Effects.c -o build/temp.linux-armv7l-2.7/src/libImaging/Effects.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/FliDecode.c -o build/temp.linux-armv7l-2.7/src/libImaging/FliDecode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Pack.c -o build/temp.linux-armv7l-2.7/src/libImaging/Pack.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Matrix.c -o build/temp.linux-armv7l-2.7/src/libImaging/Matrix.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Geometry.c -o build/temp.linux-armv7l-2.7/src/libImaging/Geometry.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/EpsEncode.c -o build/temp.linux-armv7l-2.7/src/libImaging/EpsEncode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/ModeFilter.c -o build/temp.linux-armv7l-2.7/src/libImaging/ModeFilter.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/PackDecode.c -o build/temp.linux-armv7l-2.7/src/libImaging/PackDecode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/File.c -o build/temp.linux-armv7l-2.7/src/libImaging/File.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Palette.c -o build/temp.linux-armv7l-2.7/src/libImaging/Palette.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Negative.c -o build/temp.linux-armv7l-2.7/src/libImaging/Negative.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Offset.c -o build/temp.linux-armv7l-2.7/src/libImaging/Offset.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/QuantOctree.c -o build/temp.linux-armv7l-2.7/src/libImaging/QuantOctree.o
src/libImaging/QuantOctree.c: In function ‘copy_color_cube’:
src/libImaging/QuantOctree.c:196:18: internal compiler error: Segmentation fault
static ColorCube copy_color_cube(const ColorCube cube,
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Paste.c -o build/temp.linux-armv7l-2.7/src/libImaging/Paste.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/PcxEncode.c -o build/temp.linux-armv7l-2.7/src/libImaging/PcxEncode.o
src/libImaging/Geometry.c: In function ‘bicubic_filter32RGB’:
src/libImaging/Geometry.c:630:1: internal compiler error: in schedule_region, at sched-rgn.c:3117
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Point.c -o build/temp.linux-armv7l-2.7/src/libImaging/Point.o
The bug is not reproducible, so it is likely a hardware or OS problem.
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Storage.c -o build/temp.linux-armv7l-2.7/src/libImaging/Storage.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/RankFilter.c -o build/temp.linux-armv7l-2.7/src/libImaging/RankFilter.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Quant.c -o build/temp.linux-armv7l-2.7/src/libImaging/Quant.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/SgiRleDecode.c -o build/temp.linux-armv7l-2.7/src/libImaging/SgiRleDecode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/RawDecode.c -o build/temp.linux-armv7l-2.7/src/libImaging/RawDecode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/SunRleDecode.c -o build/temp.linux-armv7l-2.7/src/libImaging/SunRleDecode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/RawEncode.c -o build/temp.linux-armv7l-2.7/src/libImaging/RawEncode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/TgaRleDecode.c -o build/temp.linux-armv7l-2.7/src/libImaging/TgaRleDecode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Unpack.c -o build/temp.linux-armv7l-2.7/src/libImaging/Unpack.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/ZipDecode.c -o build/temp.linux-armv7l-2.7/src/libImaging/ZipDecode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/TgaRleEncode.c -o build/temp.linux-armv7l-2.7/src/libImaging/TgaRleEncode.o
The bug is not reproducible, so it is likely a hardware or OS problem.
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/BoxBlur.c -o build/temp.linux-armv7l-2.7/src/libImaging/BoxBlur.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/ZipEncode.c -o build/temp.linux-armv7l-2.7/src/libImaging/ZipEncode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/QuantPngQuant.c -o build/temp.linux-armv7l-2.7/src/libImaging/QuantPngQuant.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/TiffDecode.c -o build/temp.linux-armv7l-2.7/src/libImaging/TiffDecode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/codec_fd.c -o build/temp.linux-armv7l-2.7/src/libImaging/codec_fd.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Jpeg2KDecode.c -o build/temp.linux-armv7l-2.7/src/libImaging/Jpeg2KDecode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/Jpeg2KEncode.c -o build/temp.linux-armv7l-2.7/src/libImaging/Jpeg2KEncode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/UnpackYCC.c -o build/temp.linux-armv7l-2.7/src/libImaging/UnpackYCC.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/UnsharpMask.c -o build/temp.linux-armv7l-2.7/src/libImaging/UnsharpMask.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/XbmDecode.c -o build/temp.linux-armv7l-2.7/src/libImaging/XbmDecode.o
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -DPILLOW_VERSION="5.4.1" -I/tmp/pip-build-E3pFZl/Pillow/src/libImaging -I/usr/include/freetype2 -I/tmp/pip-build-E3pFZl/Pillow -I/home/pi/oprint/include -I/usr/local/include -I/usr/include -I/usr/include/python2.7 -c src/libImaging/XbmEncode.c -o build/temp.linux-armv7l-2.7/src/libImaging/XbmEncode.o
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/src/_imaging.o build/temp.linux-armv7l-2.7/src/decode.o build/temp.linux-armv7l-2.7/src/encode.o build/temp.linux-armv7l-2.7/src/map.o build/temp.linux-armv7l-2.7/src/display.o build/temp.linux-armv7l-2.7/src/outline.o build/temp.linux-armv7l-2.7/src/path.o build/temp.linux-armv7l-2.7/src/libImaging/Access.o build/temp.linux-armv7l-2.7/src/libImaging/AlphaComposite.o build/temp.linux-armv7l-2.7/src/libImaging/Resample.o build/temp.linux-armv7l-2.7/src/libImaging/Bands.o build/temp.linux-armv7l-2.7/src/libImaging/BcnDecode.o build/temp.linux-armv7l-2.7/src/libImaging/BitDecode.o build/temp.linux-armv7l-2.7/src/libImaging/Blend.o build/temp.linux-armv7l-2.7/src/libImaging/Chops.o build/temp.linux-armv7l-2.7/src/libImaging/ColorLUT.o build/temp.linux-armv7l-2.7/src/libImaging/Convert.o build/temp.linux-armv7l-2.7/src/libImaging/ConvertYCbCr.o build/temp.linux-armv7l-2.7/src/libImaging/Copy.o build/temp.linux-armv7l-2.7/src/libImaging/Crop.o build/temp.linux-armv7l-2.7/src/libImaging/Dib.o build/temp.linux-armv7l-2.7/src/libImaging/Draw.o build/temp.linux-armv7l-2.7/src/libImaging/Effects.o build/temp.linux-armv7l-2.7/src/libImaging/EpsEncode.o build/temp.linux-armv7l-2.7/src/libImaging/File.o build/temp.linux-armv7l-2.7/src/libImaging/Fill.o build/temp.linux-armv7l-2.7/src/libImaging/Filter.o build/temp.linux-armv7l-2.7/src/libImaging/FliDecode.o build/temp.linux-armv7l-2.7/src/libImaging/Geometry.o build/temp.linux-armv7l-2.7/src/libImaging/GetBBox.o build/temp.linux-armv7l-2.7/src/libImaging/GifDecode.o build/temp.linux-armv7l-2.7/src/libImaging/GifEncode.o build/temp.linux-armv7l-2.7/src/libImaging/HexDecode.o build/temp.linux-armv7l-2.7/src/libImaging/Histo.o build/temp.linux-armv7l-2.7/src/libImaging/JpegDecode.o build/temp.linux-armv7l-2.7/src/libImaging/JpegEncode.o build/temp.linux-armv7l-2.7/src/libImaging/Matrix.o build/temp.linux-armv7l-2.7/src/libImaging/ModeFilter.o build/temp.linux-armv7l-2.7/src/libImaging/Negative.o build/temp.linux-armv7l-2.7/src/libImaging/Offset.o build/temp.linux-armv7l-2.7/src/libImaging/Pack.o build/temp.linux-armv7l-2.7/src/libImaging/PackDecode.o build/temp.linux-armv7l-2.7/src/libImaging/Palette.o build/temp.linux-armv7l-2.7/src/libImaging/Paste.o build/temp.linux-armv7l-2.7/src/libImaging/Quant.o build/temp.linux-armv7l-2.7/src/libImaging/QuantOctree.o build/temp.linux-armv7l-2.7/src/libImaging/QuantHash.o build/temp.linux-armv7l-2.7/src/libImaging/QuantHeap.o build/temp.linux-armv7l-2.7/src/libImaging/PcdDecode.o build/temp.linux-armv7l-2.7/src/libImaging/PcxDecode.o build/temp.linux-armv7l-2.7/src/libImaging/PcxEncode.o build/temp.linux-armv7l-2.7/src/libImaging/Point.o build/temp.linux-armv7l-2.7/src/libImaging/RankFilter.o build/temp.linux-armv7l-2.7/src/libImaging/RawDecode.o build/temp.linux-armv7l-2.7/src/libImaging/RawEncode.o build/temp.linux-armv7l-2.7/src/libImaging/Storage.o build/temp.linux-armv7l-2.7/src/libImaging/SgiRleDecode.o build/temp.linux-armv7l-2.7/src/libImaging/SunRleDecode.o build/temp.linux-armv7l-2.7/src/libImaging/TgaRleDecode.o build/temp.linux-armv7l-2.7/src/libImaging/TgaRleEncode.o build/temp.linux-armv7l-2.7/src/libImaging/Unpack.o build/temp.linux-armv7l-2.7/src/libImaging/UnpackYCC.o build/temp.linux-armv7l-2.7/src/libImaging/UnsharpMask.o build/temp.linux-armv7l-2.7/src/libImaging/XbmDecode.o build/temp.linux-armv7l-2.7/src/libImaging/XbmEncode.o build/temp.linux-armv7l-2.7/src/libImaging/ZipDecode.o build/temp.linux-armv7l-2.7/src/libImaging/ZipEncode.o build/temp.linux-armv7l-2.7/src/libImaging/TiffDecode.o build/temp.linux-armv7l-2.7/src/libImaging/Jpeg2KDecode.o build/temp.linux-armv7l-2.7/src/libImaging/Jpeg2KEncode.o build/temp.linux-armv7l-2.7/src/libImaging/BoxBlur.o build/temp.linux-armv7l-2.7/src/libImaging/QuantPngQuant.o build/temp.linux-armv7l-2.7/src/libImaging/codec_fd.o -L/tmp/pip-build-E3pFZl/Pillow -L/usr/lib/arm-linux-gnueabihf -L/home/pi/oprint/lib -L/lib/arm-linux-gnueabihf -L/usr/lib/arm-linux-gnueabihf/neon/vfp -L/usr/lib/arm-linux-gnueabihf/vfp/neon -L/opt/vc/lib -L/usr/lib/arm-linux-gnueabihf/libfakeroot -L/usr/local/lib -ljpeg -lz -o build/lib.linux-armv7l-2.7/PIL/_imaging.so
arm-linux-gnueabihf-gcc: error: build/temp.linux-armv7l-2.7/src/libImaging/Geometry.o: No such file or directory
arm-linux-gnueabihf-gcc: error: build/temp.linux-armv7l-2.7/src/libImaging/GetBBox.o: No such file or directory
arm-linux-gnueabihf-gcc: error: build/temp.linux-armv7l-2.7/src/libImaging/QuantOctree.o: No such file or directory
arm-linux-gnueabihf-gcc: error: build/temp.linux-armv7l-2.7/src/libImaging/QuantHash.o: No such file or directory
arm-linux-gnueabihf-gcc: error: build/temp.linux-armv7l-2.7/src/libImaging/QuantHeap.o: No such file or directory
arm-linux-gnueabihf-gcc: error: build/temp.linux-armv7l-2.7/src/libImaging/PcdDecode.o: No such file or directory
arm-linux-gnueabihf-gcc: error: build/temp.linux-armv7l-2.7/src/libImaging/PcxDecode.o: No such file or directory
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
When deploying to a docker instance of Octoprint, it would be helpful to have the list of packages required so they can be deployed prior to install.
This is the first time I have added any services to Slack so I apologize in advance for the newbie question. I produced a legacy API key and added that to Octoslack and it is posting messages and responding to messages, but the messages all appear to be from me, so I am never alerted to them. From what I read about Bots it did not make sense to create a Bot and give that API key to Octoslack (they parse every message in a channel, not just those directed to them, etc...).... What is the recommended best practice? Should I create a dummy user as a surrogate for Octoslack and create an API key under that account?
Thanks for your help, and for providing this plugin!
I've added some debugging, but I need to figure out where minio uploads are failing. Again, this is a ticket mostly for myself, though I'd love to hear if minio is working/failing for others.
Hi,
I wanted to have a play with this plugin locally, so I cloned it at 4cfbd33. I sent a 'status' request in Slack to the bot and it hit this exception:
2018-11-07 22:03:12,661 - octoprint.plugins.Octoslack - ERROR - Failed to read Raspberry Pi temp - Error: [Errno 2] No such file or directory
Traceback (most recent call last):
File "/data/developer/code/github/cmeister2/Octoslack/octoprint_Octoslack/__init__.py", line 1011, in process_slack_event
["/opt/vc/bin/vcgencmd", "measure_temp"]
File "/usr/lib64/python2.7/subprocess.py", line 568, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
2018-11-07 22:03:12,703 - octoprint.plugins.Octoslack - ERROR - Slack API message send error: 'OctoslackPlugin' object has no attribute '_bot_progress_last_req'
Traceback (most recent call last):
File "/data/developer/code/github/cmeister2/Octoslack/octoprint_Octoslack/__init__.py", line 1836, in send_slack_message
self._bot_progress_last_req
AttributeError: 'OctoslackPlugin' object has no attribute '_bot_progress_last_req'
I then turned off the Raspberry Pi temperature query and retried, with the same error:
2018-11-07 22:04:37,767 - octoprint.plugins.Octoslack - ERROR - Slack API message send error: 'OctoslackPlugin' object has no attribute '_bot_progress_last_req'
Traceback (most recent call last):
File "/data/developer/code/github/cmeister2/Octoslack/octoprint_Octoslack/__init__.py", line 1836, in send_slack_message
self._bot_progress_last_req
AttributeError: 'OctoslackPlugin' object has no attribute '_bot_progress_last_req'
Hello it's possible to do this plugin compatible with rocket chat?
The settings page for Octoslack says that I need to specify an API Token, and then it says I can get that via "Apps & integrations --> Manage --> Custom Integrations --> Bots". I cannot find the "Apps & Integrations" menu item. Can you please provide a detailed walkthrough for enabling Slack support?
is there any way to add a flag to pause which will read json data
example
i want to add this to my pause report using integration with the Filament Sensor plugin by ovidiu
{filament} = octopi.local/plugin/filament/status?apikey=**
If filament present: {filament}
Hello,
First, thanks for this plugin.
Is there a way to rotate an additional camera?
Hey,
Thanks for a super great plugin. Would you concider adding support for WebDAV posting/upload of images? Hence a general agnostic image upload function. Most if not all cloud services support WebDAV, and would make it easier to integrate, be it OneDrive, Dropbox, Nextcloud or any other self-hosted web server, etc.
Thanks.
Hello, I have just configured the plugin and I notice that the emoji codes already proposed in the messages (or others) are not interpreted in the chat rooms.
I have already noticed that in the Riot client, you have to choose the emoji from a list while typing your text, if you leave the code :dog:
, it is not interpreted as 🐶, so it may be a problem of the same order, or even a design difficulty in Matrix. But since there may be something to do on the plugin side, I prefer to report it.
On the other side, the MarkDown code is correctly interpreted in the Riot client, once the message is sent, bold, italics, etc. , it 'll appear correctly. But not if we use them in Octoslack... an idea of what could cause this?
Here, no rush, just the desire to bring up a detail to make this fantastic plugin even more attractive: -)
Yesterday one of our octoprint installations crashed. The log file indicates problems from octoslack, however, I didn't have any time to investigate further...
20181120_ocotcrash.txt
It's great that we can choose between no picture, images on imgur or amazon S3. I'm trying out octoslack with an imgur account, it works great.
It would be nice to have a little more documentation on where the photos on imgur are stored, if they are public, unlisted, etc. I don't seem them on my profile page. The URLs generated in slack are http://i.imgur.com/randomlettersandnumbers.jpg which seems to indicate they can't be found.
First of all, thanks for a great plug-in that I needed! I hope this feedback helps.
So first, the instructions for IMGUR image hosting don't follow what is actually needed. In the instructions you provide a link to authorize the application but it generates the following error:
"data":{"error":"HTTP Access is disabled. Requests must use SSL (HTTPS)."},"success":false,"status":400}
The issue appears to be that your link does not include "https://" at the front of it so it is being rejected by IMGUR.
The second issue is that in following your instructions I am never able to find the IMGUR refresh token. I am able to create the client Id and secret, but no refresh token.
The result is that printing is slowed down by Slack messages like the following the appear to be sent after EVERY g-code command:
File Layer_Test-S-20-55-125.gcode (35.9KB via OctoPrint)
Snapshot error(s):
- Imgur error: No album was found with the ID: 3dprinter
Printer: Operational, Bed: 62.7°C/0.0°C, Nozzle: 157.0°C/0.0°C, RasPi: 52.6°C
Obviously such errors should not cripple Octoprint to the point of being unusable.
Also, please note that the process for getting the Slack API token is also not exactly as you described. Likely they changed the navigation on their site, but I had to do a good bit of searching to find the proper page.
After print completion, how could I have the slack message automatically printout on paper with whatever printer is setup on slack? Slightly inspired by: (Where this printer will print out your tweets).
https://learn.adafruit.com/pi-thermal-printer/twitter-setup
Thanks!
(first off, thanks for this plugin it's really cool)
The images sent via imgur are not rotated according to the settings. In the octoprint web interface (under the control tab) the image is correct, but over in slack the image is upside down. In my case both "Flip webcam horizontally" and "Flip webcam vertically" are ticked and enabled.
Hi Chris,
I think a lot of users would benefit from the functionality of being able to run prints from their Slack interface. Would it be possible to add "load and print X" or simply "Print" via "@PrinterName" command from a channel?
Thank you!
Hi,
Is it possible to get an variable for the actual layer number and the actual time?
Kind regards
When I reboot my octopi, I see octoslack post
octopi
-Octoprint service started (check mark)
But nothing else appears, no start, no failure, nothing. I can run @octopi status and this returns thumbs up and a 1, but no more information.
Any suggestions for troubleshooting. I am using the API and have BOT defined for my slack.
Octoipi version 1.3.6
In the chrome dev console when loading home page is see error:
packed_core.js?2691f4a1:13555 Error calling onAfterBinding on view model OctoslackViewModel : ReferenceError: Octoslack is not defined
at HTMLInputElement.onclick (http://192.168.192.133/#temp:5415:202)
at Object.trigger (http://192.168.192.133/static/webassets/packed_libs.js?eebed41b:7814:27)
at HTMLInputElement. (http://192.168.192.133/static/webassets/packed_libs.js?eebed41b:7876:17)
at Function.each (http://192.168.192.133/static/webassets/packed_libs.js?eebed41b:366:19)
at jQuery.fn.init.each (http://192.168.192.133/static/webassets/packed_libs.js?eebed41b:138:17)
at jQuery.fn.init.trigger (http://192.168.192.133/static/webassets/packed_libs.js?eebed41b:7875:15)
at Object.setInitialInputStates (http://192.168.192.133/static/webassets/packed_plugins.js?a14fe561:66:34)
at Object.afterBindingInit (http://192.168.192.133/static/webassets/packed_plugins.js?a14fe561:49:22)
at OctoslackViewModel.self.onAfterBinding (http://192.168.192.133/static/webassets/packed_plugins.js?a14fe561:20:31)
at callViewModelIf (http://192.168.192.133/static/webassets/packed_core.js?2691f4a1:13545:34)
I have just updated from 1.6.2 to 1.7.0. The 1.6.2 version is working correctly.
With 1.7.0, octoprint.log is flooded with reconnection attempts, which causes the CPU load to spike and makes printing impossible:
2019-01-26 13:33:48,853 - octoprint.plugins.Octoslack - ERROR - Error Slack RTM API connection error (Exception): math range error
2019-01-26 13:33:48,893 - octoprint.plugins.Octoslack - ERROR - Error Slack RTM API connection error (Exception): math range error
2019-01-26 13:33:48,912 - octoprint.plugins.Octoslack - ERROR - Error Slack RTM API connection error (Exception): math range error
2019-01-26 13:33:48,913 - octoprint.plugins.Octoslack - ERROR - Error Slack RTM API connection error (Exception): math range error
2019-01-26 13:33:48,914 - octoprint.plugins.Octoslack - ERROR - Error Slack RTM API connection error (Exception): math range error
2019-01-26 13:33:48,914 - octoprint.plugins.Octoslack - ERROR - Error Slack RTM API connection error (Exception): math range error
2019-01-26 13:33:48,915 - octoprint.plugins.Octoslack - ERROR - Error Slack RTM API connection error (Exception): math range error
2019-01-26 13:33:48,945 - octoprint.plugins.Octoslack - ERROR - Error Slack RTM API connection error (Exception): math range error
2019-01-26 13:33:49,049 - octoprint.plugins.Octoslack - ERROR - Error Slack RTM API connection error (Exception): math range error
2019-01-26 13:33:49,050 - octoprint.plugins.Octoslack - ERROR - Error Slack RTM API connection error (Exception): math range error
Love everything about the plugin, currently using it with Imgur. Would love if there was an implementation for the WebDav protocol for OpenSource storage software like Owncloud/Nextcloud.
Upgraded from 1.7.2 to 1.8.0. I noticed that my custom gcode events were no longer working. Checked the settings page and they were gone. I can re-create them but when I restart OctoPrint they will be lost again. I also noticed that some of the other settings are behaving strangely.
ETA timestamp time zone is blank:
Snapshot hosting is also blank (it should be "Slack"):
If I choose "Slack" and restart OctoPrint, it will be blank again.
When a timelapse render is completed, the only configuration option is to post the screenshot to the slack channel. Would it be possible to have it post the rendered video?
For the record, I'm using Amazon S3 for uploads and Rocket.Chat as the Slack API endpoint.
I imagine it doesn't already do it because imgur is the default uploader.
Since Octoslack is pinging a printer status every 10% intervals There should be a need to modify that to at least 25% OR have it ping it to a private channel within MatterMost. Might wanna add a second option in your plugin under the category "Slack Identity" for a 2nd (or more) Channel name.
Maybe add a drop down option to change the Print progress {pct_complete} by variables of either % or H:M (and a given interval). Example: Printer pings Octoslack at 25% OR 30min intervals the status of the current print
In the current release 1.71 I get errors in the Log:
octoprint.plugins.Octoslack - ERROR - Failed to reconnect via Slack RTM API
and I get only the octoprint service has startet message in Slack, the commands do not work.
I updatet my other octoprint Server to the new release and don't get this messages.
Have OctoPrint v1.3.6 on a raspberry pi jessie lite and Octoslack v1.4.0.
Getting the Update-Message for OctoSlack v1.4.1
After installing via Webinterface, OctoPi installed succesfully, reboot and I have only v1.4.0 and get the updatemessage to 1.4.1.
Try it for several times.
What should I do?
Cool plugin. I'm looking forward to using it fully!
Initially I was have a problem where no images were being created in my S3 bucket and Slack would display an error message "- S3 error: 403 Client Error: Forbidden for url: https://xxxxxxxxx" with each message from Octoslack. I changed my bucket permissions to match a public web site, meaning that anyone who has a file URL can display it, and I have confirmed that if I put one of those URL's into Slack it displays. I also expanded IAM permissions assigned to Octoslack to basically make it a superuser figuring I will lock it down once it works and I understand which permissions it actually needs. Now Octoslack places images in the bucket but the Slack messages no longer contain links to the images. I have checked and unchecked the options to attach snapshots to messages with no effect. I'm stumped. What am I missing or what information do you need to troubleshoot?
Hello,
I'd love to see a few entries in the Wiki page or in the README as not everything is clear.
I got it set up but no idea if it's the way it is intended to be:
Should we set up a new Slack Account for our printer and invite him into a channel? Or just get an API key and post as "us"?
From trial and error I noticed that if I untick "Slack Identity" I get notifications on my phone, when it's ticked, I don't get any.
Also, how can I request e.g. the status? Something like @printer /status ?
Thank you in advance for your reply!
I've set up OctoSlack successfully enough to see the 'successfully connected to printer' messages and print updates from the printer. A print run sends progress photos every 15 minutes as I configured it to. However, I can't send commands such as help or status and receive a reply.
In the OctoSlack settings, I have checked "Listen for commands" and checked all of the commands. I have not checked the "Restricted" boxes or entered any "Authorized users." I have "Use Slack identity" checked.
In the mobile Slack app, in the channel where the OctoSlack printer updates appear, I'm typing "@NNN help" and "@NNN status" where nnn is the name that appears in Slack for the OctoSlack APP.
So I think I've configured it according to the documentation. How can I figure out what's wrong?
This plugin is really great! I am currently using it on two different printers and events itself are very usefull. No I want to set snapshots...
I created new S3 bucket to my Amazon account and created new user with full access permissions to S3 resource. Any event send to Slack now contains snapshot error: S3 error: 403 Client Error: Forbidden for url: https://*****/Snapshot_b65ea01ee40911e785d8b827eb46c4d3.png
.
What is the cause of this error? Can you, please, add more informations about S3 settings? How to set permissions/policy on bucket?
Lets say I create new IAM user with name octoprint
and its AWS Access Key is ABCD
and AWS Secret key is foo/bar
. Now I create new bucket with name octoprint-snapshots
. I save these keys to Octoslack settings. What now? What permissions should I add to bucket and/or IAM user? How can I test everything works without actually waiting for some event (i.e. how to trigger some event from CLI).
It would be great to have an option to add the IP to the status message.
I managed to configure the plugin for three 3D-printers running octoprint. I even got imgur running for my own printer but not yet for the two printers at work.
However, I had some issues(?):
Hello,
I had version 1.9 working on a machine, and went to install it on another but it was giving me a new error that python 3.6 was not installed. Is this a bug, or am i doing something wrong? Thank you!
Installing plugin "Octoslack" from https://github.com/fraschetti/Octoslack/archive/master.zip...
/home/pi/oprint/bin/python2 -m pip --disable-pip-version-check install https://github.com/fraschetti/Octoslack/archive/master.zip --no-cache-dir
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting https://github.com/fraschetti/Octoslack/archive/master.zip
Downloading https://github.com/fraschetti/Octoslack/archive/master.zip
Requirement already satisfied: OctoPrint in /home/pi/oprint/lib/python2.7/site-packages (from Octoslack==1.9.0) (1.3.11)
Collecting slackclient (from Octoslack==1.9.0)
Downloading https://www.piwheels.org/simple/slackclient/slackclient-2.1.0-py2.py3-none-any.whl (51kB)
slackclient requires Python '>=3.6.0' but the running Python is 2.7.13
Error!
Could not parse output from pip, see plugin_pluginmanager_console.log for generated output
After installing the plugin in the list of installed it does not appear
OctoPrint: 1.3.11
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.