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

Fallback to operation without rclextract fails #80

Open
bheorcnh opened this issue Oct 1, 2020 · 0 comments
Open

Fallback to operation without rclextract fails #80

bheorcnh opened this issue Oct 1, 2020 · 0 comments

Comments

@bheorcnh
Copy link

bheorcnh commented Oct 1, 2020

Due to a wrong wsgi user configuration, the line
from recoll import rclextract
threw an exception as a result from
mkdir(/usr/share/httpd/.recoll) failed: Permission denied
This is correct behaviour until here.
But as a result
import recoll
was called in the exception handler instead of
from recoll import recoll
This resulted in an error
AttributeError: 'module' object has no attribute 'connect',
later in line
db = recoll.connect(config['confdir'])
where it is difficult to find the reason for.

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

1 participant