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

Problem with running webui-standalone.py #60

Open
MartinEichner opened this issue Mar 7, 2018 · 4 comments
Open

Problem with running webui-standalone.py #60

MartinEichner opened this issue Mar 7, 2018 · 4 comments

Comments

@MartinEichner
Copy link

MartinEichner commented Mar 7, 2018

I have downloaded and unpacked "recoll-webui-master.zip" and I try to start the standalone version by running the command ./webui-standalone.py on a bash command line, but I receive the following output:
Traceback (most recent call last):
File "./webui-standalone.py", line 4, in
import webui
File "/home/eichner/Desktop/recoll-webui-master/webui.py", line 23, in
import recoll
ImportError: No module named recoll
I have also tried adding the command line arguments "-a" and "-p", but that does not resolve the issue. What do I do wrong? System information: recoll 1.13.7 + Xapian 1.2.22 are running successfully on a machine with Linux Mint 18.3 (64bit) and Mate 1.18.0 (Linux Kernel 4.10.0-38-generic x86_64).

I have just seen that a similar issue was posted long ago. The solution seems to have been to remove and reinstall python. I have python version 2.7.12 installed on my system. I would rather not remove it because I am afraid that this may lead to unwanted side effects. Is there another way to fix this?

@kero99
Copy link

kero99 commented Mar 7, 2018

sudo apt-get install python-recoll

Done ;)

@MartinEichner
Copy link
Author

Thank you. This solved my problem.
At least, I no longer receive this error message. After sending the command, I get

:3:common/rclinit.cpp:308::Configuration directory: /home/eichner/.recoll
Bottle server starting up (using WSGIRefServer())...
Listening on http://localhost:8080/
Hit Ctrl-C to quit.

I expected that a user-interface would open next, but nothing happened for quite a long time. Do I need to channel the output into firefox somehow although this is the standalone version? Or is this a problem caused by a firewall?

@koniu
Copy link
Owner

koniu commented Mar 7, 2018 via email

@MartinEichner
Copy link
Author

Thank you. This worked.

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

3 participants