siyuan icon indicating copy to clipboard operation
siyuan copied to clipboard

Problem with running webui-standalone.py in windows

Open rand-net opened this issue 6 years ago • 5 comments

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

rand-net avatar May 14 '18 18:05 rand-net

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.

ghost avatar Jun 06 '18 06:06 ghost

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

gekke158 avatar Jan 09 '19 09:01 gekke158

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.

ghost avatar Jan 09 '19 11:01 ghost

@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?

gekke158 avatar Jan 09 '19 13:01 gekke158

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 [email protected] if you have issues.

ghost avatar Jan 10 '19 09:01 ghost