[Python-modules-team] Bug#918785: thumbor: missing pycryptodome dependency

Florian Rey florian.rey at elao.com
Wed Jan 9 10:41:16 GMT 2019


Package: thumbor
Version: 6.5.1-3
Severity: important

Dear Maintainer,

it looks like a dependency on pycryptodome is missing. Package building
from source is ok, but when trying to start the service, syslog is
filled with: 

Jan  9 10:10:02 xxxxx systemd[1]: Started Thumbor image manipulation
service.
Jan  9 10:10:02 xxxxx thumbor[12682]: Traceback (most recent call last):
Jan  9 10:10:02 xxxxx thumbor[12682]:   File "/usr/bin/thumbor", line 6,
in <module>
Jan  9 10:10:02 xxxxx thumbor[12682]:     from pkg_resources import
load_entry_point
Jan  9 10:10:02 xxxxx thumbor[12682]:   File
"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3019,
in <module>
Jan  9 10:10:02 xxxxx thumbor[12682]:     @_call_aside
Jan  9 10:10:02 xxxxx thumbor[12682]:   File
"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3003,
in _call_aside
Jan  9 10:10:02 xxxxx thumbor[12682]:     f(*args, **kwargs)
Jan  9 10:10:02 xxxxx thumbor[12682]:   File
"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3032,
in _initialize_master_working_set
Jan  9 10:10:02 xxxxx thumbor[12682]:     working_set =
WorkingSet._build_master()
Jan  9 10:10:02 xxxxx thumbor[12682]:   File
"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 655,
in _build_master
Jan  9 10:10:02 xxxxx thumbor[12682]:     ws.require(__requires__)
Jan  9 10:10:02 xxxxx thumbor[12682]:   File
"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 963,
in require
Jan  9 10:10:02 xxxxx thumbor[12682]:     needed =
self.resolve(parse_requirements(requirements))
Jan  9 10:10:02 xxxxx thumbor[12682]:   File
"/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 849,
in resolve
Jan  9 10:10:02 xxxxx thumbor[12682]:     raise
DistributionNotFound(req, requirers)
Jan  9 10:10:02 xxxxx thumbor[12682]:
pkg_resources.DistributionNotFound: The 'pycryptodome>=3.4.7'
distribution was not found and is required by thumbor
Jan  9 10:10:02 xxxxx systemd[1]: thumbor.service: Main process exited,
code=exited, status=1/FAILURE
Jan  9 10:10:02 xxxxx systemd[1]: thumbor.service: Unit entered failed
state.
Jan  9 10:10:02 xxxxx systemd[1]: thumbor.service: Failed with result
'exit-code'.

Thanks for your work :)

(btw, first bug report, please, be indulgent)



More information about the Python-modules-team mailing list