koniu / recoll-webui

web interface for recoll desktop search
266 stars 55 forks source link

Problem with running webui-standalone.py in windows #62

Open rand-net opened 6 years ago

rand-net commented 6 years ago

I got recoll-webui and ran webui-standalon.py on cmd, but I get this error. Traceback (most recent call last): File "./webui-standalone.py", line 3, in import webui File "/media/daten/download/recoll-webui/webui.py", line 6, in import recoll ImportError: No module named recoll Does this work on Windows? I'm not sure about this. Clarify

ghost commented 6 years ago

Hi, Recoll developper here. The webui server side does not work in windows. I don't think that the Recoll Python module was ported to Windows actually. It might be possible, but nobody tried.

gekke158 commented 5 years ago

Hi @medoc92 : Do you see any way of getting the WebUI to run on a Windows Server? Thanks

ghost commented 5 years ago

As mentionned above, the Recoll Python module was not ported to Windows. It's probably feasible, but quite a bit of work. I have no motivation to do it except maybe if someone pays for it (I'd have to take a closer look first).

I think that the easiest approach for doing this actually would be to run recoll and the webui in a Linux VM on the Windows server.

gekke158 commented 5 years ago

@medoc92 thanks for the quick reply. I'll give your suggestion with the virtual box a shot. My company may be willing to financially support the development for windows server, as we are very pleased with the performance of the standalone tool. Could you perhaps make a price offer?

ghost commented 5 years ago

I had a quick look and building/using the extension under Windows is probably not going to be a piece of cake. For example: the standard Python is built with the Microsoft compiler but Recoll currently uses mingw, so we'd need to either build Recoll with MSVC, which I had initially tried for the port, with no success, or use a MinGW build of Python. So let me know how it goes with the VM approach. Don't hesitate to reach me at jf@recoll.org if you have issues.