mirror of
https://github.com/motioneye-project/motioneye.git
synced 2026-03-02 22:57:06 -05:00
ERROR: decoder jpeg not available #4
Labels
No labels
Android app
Arch Linux
CI/CD
CSS
FreeBSD
HTML/HTTP
Home Assistant addon
JavaScript
Python
Raspberry Pi
Stale No Activity 60 Days
bug
code format
dependencies
dev branch
docker
documentation
duplicate
enhancement
feature
help wanted
i18n/l10n
invalid
legacy motionEye
meta
motion
motionEyeOS
notourproblem
python update
question
question
security
troubleshooting
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/motioneye#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @latimeria68 on GitHub (Sep 3, 2015).
Hi Calin,
is this error on motioneye log (opening interval snapshot images) telling some package is missing? I'm on Raspbian
Thanks
2015-09-03 18:39:18: [motioneye] ERROR: 500 GET /picture/1/preview/2015-09-03/18-30-00.jpg?height=51&_username=admin&_signature=f6e98f4ddee3c605b73786eaa1d3e49556299ded (192.168.0.21) 106.85ms
2015-09-03 18:39:19: [motioneye] ERROR: decoder jpeg not available
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1369, in _stack_context_handle_exception
raise_exc_info((type, value, traceback))
File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 1572, in wrapper
result = method(self, _args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/motioneye/handlers.py", line 716, in get
self.preview(camera_id, filename)
File "/usr/local/lib/python2.7/dist-packages/motioneye/handlers.py", line 121, in wrapper
return func(self, _args, *_kwargs)
File "/usr/local/lib/python2.7/dist-packages/motioneye/handlers.py", line 875, in preview
height=self.get_argument('height', None))
File "/usr/local/lib/python2.7/dist-packages/motioneye/mediafiles.py", line 676, in get_media_preview
image.thumbnail((width, height), Image.LINEAR)
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 1814, in thumbnail
im = self.resize(size, resample)
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 1557, in resize
self.load()
File "/usr/local/lib/python2.7/dist-packages/PIL/ImageFile.py", line 203, in load
d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
File "/usr/local/lib/python2.7/dist-packages/PIL/Image.py", line 420, in _getdecoder
raise IOError("decoder %s not available" % decoder_name)
IOError: decoder jpeg not available
@ccrisan commented on GitHub (Sep 4, 2015):
Please
apt-get install libjpeg-dev, thenpip uninstall -y pillowand thenpip install pillow. Let me know if this solves your problem. I'll update the wiki instructions accordingly.@latimeria68 commented on GitHub (Sep 4, 2015):
yes, the error has gone away.
Thanks