Summary: | app-text/calibre should depend on dev-python/zeroconf - calibre-server: ModuleNotFoundError: No module named 'zeroconf' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Amel Hodzic <ilmostro7> |
Component: | Current packages | Assignee: | Ian Stakenvicius (RETIRED) <axs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | zmedico |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Amel Hodzic
2020-02-21 06:58:42 UTC
If the calibre server is enabled, attempting to start it results in failure for mdns if dev-python/zeroconf is not installed. Therefore, that should either be a dependency or an optional dependency for use with that feature enabled. systemctl --user status -l calibre.service ● calibre.service - Book Content Server Loaded: loaded (/home/ilmostro/.config/systemd/user/calibre.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2020-02-20 23:34:12 CST; 3s ago Main PID: 4289 (BonJour) CGroup: /user.slice/user-1000.slice/user@1000.service/calibre.service └─4289 python3.6 /usr/bin/calibre-server Feb 20 23:34:15 riparch.atayjq.lan calibre-server[4289]: Traceback (most recent call last): Feb 20 23:34:15 riparch.atayjq.lan calibre-server[4289]: File "/usr/lib64/calibre/calibre/srv/pool.py", line 105, in run_plugin Feb 20 23:34:15 riparch.atayjq.lan calibre-server[4289]: plugin.start(self.loop) Feb 20 23:34:15 riparch.atayjq.lan calibre-server[4289]: File "/usr/lib64/calibre/calibre/srv/bonjour.py", line 38, in start Feb 20 23:34:15 riparch.atayjq.lan calibre-server[4289]: self.services.append(publish(*s, use_ip_address=zipa, add_hostname=self.add_hostname)) Feb 20 23:34:15 riparch.atayjq.lan calibre-server[4289]: File "/usr/lib64/calibre/calibre/utils/mdns.py", line 187, in publish Feb 20 23:34:15 riparch.atayjq.lan calibre-server[4289]: server = start_server() Feb 20 23:34:15 riparch.atayjq.lan calibre-server[4289]: File "/usr/lib64/calibre/calibre/utils/mdns.py", line 114, in start_server Feb 20 23:34:15 riparch.atayjq.lan calibre-server[4289]: from zeroconf import Zeroconf Feb 20 23:34:15 riparch.atayjq.lan calibre-server[4289]: ModuleNotFoundError: No module named 'zeroconf' For what it's worth, the calibre server is configured as a systemd --user job with the following config entries: nl ~/.config/systemd/user/calibre.service 1 [Unit] 2 Description=Book Content Server 3 [Service] 4 ExecStart=/usr/bin/calibre-server 5 [Install] 6 WantedBy=default.target Apologies for, initially, messing up the summary for this bug. It should be fixed, eventually, to read "app-text/calibre missing deps for dev-python/zeroconf" If you look at my Arch Linux build recipe, zeroconf is explicitly enumerated as a python3-only dependency: https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/calibre#n17 The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80be7a699af23cec2468ca37105e7cf981cad15e commit 80be7a699af23cec2468ca37105e7cf981cad15e Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2020-02-21 23:46:45 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2020-02-21 23:51:42 +0000 app-text/calibre: Bump to version 4.11.1 Also add dev-python/zeroconf dependency for bug 710370. Closes: https://bugs.gentoo.org/710370 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Zac Medico <zmedico@gentoo.org> app-text/calibre/Manifest | 1 + app-text/calibre/calibre-4.11.1.ebuild | 274 +++++++++++++++++++++++++++++++++ 2 files changed, 275 insertions(+) All right! Thanks for confirming, Eli. I'm glad this was resolved so quickly. |