Package Details: ratarmount 0.13.0-4

Git Clone URL: https://aur.archlinux.org/ratarmount.git (read-only, click to copy)
Package Base: ratarmount
Description: Mount tar files via fusepy. Supports Recursive Mounting, Compressed Files, Read-Only Bind Mounting, Union Mounting and Write Overlays. A fast random access alternative to archivemount.
Upstream URL: https://github.com/mxmlnkn/ratarmount
Keywords: archivemount fuse fusepy tarindexer
Licenses: MIT
Submitter: RubenKelevra
Maintainer: RubenKelevra
Last Packager: RubenKelevra
Votes: 5
Popularity: 0.83
First Submitted: 2022-05-28 19:12 (UTC)
Last Updated: 2023-05-12 16:54 (UTC)

Dependencies (17)

Required by (0)

Sources (1)

Latest Comments

JoeCool commented on 2022-08-05 17:02 (UTC) (edited on 2022-08-05 17:15 (UTC) by JoeCool)

import ratarmountcore as core
ModuleNotFoundError: No module named 'ratarmountcore'

I think the PKGBUILD is missing the build of the core first.

diff --git a/PKGBUILD b/PKGBUILD
index a94138e..36a695c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,12 +16,16 @@ source=("${pkgname}-${pkgver}${_pkg_ext}::${url}/archive/refs/tags/v${pkgver}${_
b2sums=('24ce1e522c95d7c77641a505809db66dbbf04b8554b8c1fd9680b8ec600d10316389cd0a87dfa5e6a5c0de24b7747bda4baf1cf82d4f7e6a2fb29ff2110fcde7')

build() {
+  cd $srcdir/${pkgname}-${pkgver}/core
+  python setup.py build
  cd $srcdir/${pkgname}-${pkgver}
  python setup.py build
}


package() {
+  cd $srcdir/${pkgname}-${pkgver}/core
+  python setup.py install --root="$pkgdir" --optimize=1
  cd $srcdir/${pkgname}-${pkgver}
  python setup.py install --root="$pkgdir" --optimize=1
  install -Dm755 'README.md' "${pkgdir}/usr/share/doc/ratarmount/README.md"

Then dependencies are OK. But:

AttributeError: module 'fuse' has no attribute 'Operations'

Something still seems to be wrong.

EDIT: fixing the build on the -git version seems to result in a working ratarmount