Bug 263714 - deskutils/calibre: ModuleNotFoundError: No module named 'jeepney'
Summary: deskutils/calibre: ModuleNotFoundError: No module named 'jeepney'
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Guido Falsi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-02 05:29 UTC by Yuri Victorovich
Modified: 2022-05-02 18:44 UTC (History)
0 users

See Also:
madpilot: maintainer-feedback+
madpilot: merge-quarterly+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2022-05-02 05:29:59 UTC
calibre-5.41.0_1 prints this error, and also regularly pops up messages with the same content:

> Interface language: None
> Traceback (most recent call last):
>   File "/usr/local/lib/calibre/calibre/gui2/dialogs/scheduler.py", line 724, in check
>     if not self.download(urn):
>   File "/usr/local/lib/calibre/calibre/gui2/dialogs/scheduler.py", line 713, in download
>     if not self.has_internet_connection():
>   File "/usr/local/lib/calibre/calibre/gui2/dialogs/scheduler.py", line 697, in has_internet_connection
>     if not internet_connected():
>   File "/usr/local/lib/calibre/calibre/utils/network.py", line 107, in internet_connected
>     LinuxNetworkStatus() if (islinux or isbsd) else \
>   File "/usr/local/lib/calibre/calibre/utils/network.py", line 23, in __init__
>     from jeepney import DBusAddress, Properties, new_method_call
> ModuleNotFoundError: No module named 'jeepney'
Comment 1 Guido Falsi freebsd_committer freebsd_triage 2022-05-02 07:28:08 UTC
(In reply to Yuri Victorovich from comment #0)

Thanks for reporting.

I've never seen this message, I need to investigate.

What functionality of the software are you using when this happens? Calibre has a lot of functions and I only use part of it.

Anyway it looks like a missing dependency on devel/py-jeepney, I'll add that, in the while you can work around this by manually installing that port/package.
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2022-05-02 15:37:58 UTC
(In reply to Guido Falsi from comment #1)

I opened the epub file and got this message.
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-05-02 18:41:40 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=295ad7548e93050b0bd99a669d96bfce58f4eef0

commit 295ad7548e93050b0bd99a669d96bfce58f4eef0
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2022-05-02 18:39:14 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2022-05-02 18:40:00 +0000

    deskutils/calibre: Add missing dependency

    PR:             263714
    MFH:            2022Q2

 deskutils/calibre/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2022-05-02 18:42:40 UTC
A commit in branch 2022Q2 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5c672b711df26892cbd90344e6aedacb6b4d7533

commit 5c672b711df26892cbd90344e6aedacb6b4d7533
Author:     Guido Falsi <madpilot@FreeBSD.org>
AuthorDate: 2022-05-02 18:39:14 +0000
Commit:     Guido Falsi <madpilot@FreeBSD.org>
CommitDate: 2022-05-02 18:41:57 +0000

    deskutils/calibre: Add missing dependency

    PR:             263714
    MFH:            2022Q2
    (cherry picked from commit 295ad7548e93050b0bd99a669d96bfce58f4eef0)

 deskutils/calibre/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 5 Guido Falsi freebsd_committer freebsd_triage 2022-05-02 18:42:52 UTC
Fix committed.

Thanks again for reporting.
Comment 6 Yuri Victorovich freebsd_committer freebsd_triage 2022-05-02 18:44:29 UTC
(In reply to Guido Falsi from comment #5)


Thanks for a quick fix!

Yuri