Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calibre: No module named unrardll #54497

Open
rfl890 opened this issue Feb 26, 2025 · 3 comments
Open

Calibre: No module named unrardll #54497

rfl890 opened this issue Feb 26, 2025 · 3 comments
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed

Comments

@rfl890
Copy link

rfl890 commented Feb 26, 2025

Is this a new report?

Yes

System Info

Void 6.12.16_1 x86_64 AuthenticAMD uptodate rmFFFFFFFF

Package(s) Affected

calibre-7.23.0_1

Does a report exist for this bug with the project's home (upstream) and/or another distro?

NixOS/nixpkgs#86152
NixOS/nixpkgs#98430

Expected behaviour

The application should be able to handle CBR files

Actual behaviour

The application crashes when handling RAR data, like CBR files, because it was unable to find a Python module.

Steps to reproduce

  1. Open Calibre
  2. Add any CBR file as a book
  3. Open the book
  4. You will get an error while trying to load the book
@rfl890 rfl890 added bug Something isn't working needs-testing Testing a PR or reproducing an issue needed labels Feb 26, 2025
@rfl890
Copy link
Author

rfl890 commented Feb 26, 2025

The actual UNRAR library or aformentioned Python library is not currently in the void repos. the UNRAR code is not distributed under a free software license, would this make the issue a wontfix?

@oreo639
Copy link
Member

oreo639 commented Feb 26, 2025

unrar (and libunrar) is packaged in void-repo-nonfree, python3-unrardll is not packaged currently.

@chrysos349
Copy link
Contributor

chrysos349 commented Mar 3, 2025

# Template file for 'python3-unrardll'
pkgname=python3-unrardll
version=0.1.7
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
makedepends="libunrar libunrar-devel python3-devel"
depends="python3"
short_desc="Python wrapper for the UnRAR DLL"
maintainer="chrysos349 <[email protected]>"
license="BSD-3-Clause"
homepage="https://github.com/kovidgoyal/unrardll"
distfiles="${PYPI_SITE}/u/unrardll/unrardll-${version}.tar.gz"
checksum=e1067fe27bb4de204ef8f3692f23d93c5d3b4292f78b292c6fc7dc4f75749f76

post_install() {
	vlicense LICENSE
}

add to common/shlibs

libunrar.so libunrar-7.1.1_1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed
Projects
None yet
Development

No branches or pull requests

3 participants