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

Fails to import Python package archivextract when trying to index a ZIP #9

Open
5jt opened this issue Oct 31, 2024 · 1 comment
Open
Assignees

Comments

@5jt
Copy link

5jt commented Oct 31, 2024

MacBook Air 2022 macOS 15.1 Sequoia

❯ recollindex
:2:../common/rclconfig.cpp:373::Copying the backends file: open /Applications/Recoll.app/Contents/Resources/examples/backends: No such file or directoryTraceback (most recent call last):
  File "/Applications/Recoll.app/Contents/Resources/filters/rclzip.py", line 28, in <module>
    from archivextract import ArchiveExtractor
ModuleNotFoundError: No module named 'archivextract'
Traceback (most recent call last):
  File "/Applications/Recoll.app/Contents/Resources/filters/rclzip.py", line 28, in <module>
    from archivextract import ArchiveExtractor
ModuleNotFoundError: No module named 'archivextract'

index.log
errors.log
corpus.zip

@5jt
Copy link
Author

5jt commented Nov 2, 2024

From: Jean-Francois Dockes <[email protected]>
Subject: Re: Missing matches in query results on macOS Apple Silicon; in Python, unable to import archivextract or recoll
Date: 2 November 2024 at 08:35:12 GMT
To: Stephen Taylor <[email protected]>

...

Oops yes, there are two files missing from the Mac install, this will be fixed in the next
release. Meanwhile you can fix this by copying archivextract.py and rclnamefilter.py from
the recoll src/filters source directory to your recoll installation "filters"
directory. Not sure where these are with homebrew, maybe /opt/local/share/recoll/filters,
or /usr/local/share/recoll/filters

@nailuoGG nailuoGG self-assigned this Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants