-
-
Notifications
You must be signed in to change notification settings - Fork 56
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
kiwix-serve cant instantiate HTTP daemon on windows #1144
Comments
This may be related to kiwix/kiwix-tools#673 |
Should we update the error message then? |
What happens exactly here which leads to this error? @sgourdas Any idea? |
That is pretty strange. From a quick look at the code, the only difference in flow that I can see, when no Regardless, even though it should be automatically initialized as an empty string we could still assign it explicitly when the -i option is not provided, just to ensure consistency, or remove the other assignments that do the same. I will try to test when as soon as I get time. |
@kelson42 is there a way for me to build kiwix-serve for Windows? |
@sgourdas ; you can using kiwix-build ; see the windows notes on the Wiki |
@sgourdas I believe this bug might be just fixed by properly analysing the code. |
@kelson42 let's see if this is fixed with kiwix/kiwix-tools#703 or else I have an idea. |
@sgourdas Can you please look at this issue (and test with latest nightly - tomorrow)? |
Yes, definitely in mind. |
@kelson42 issue is still present. It seems to have to do with attaching to ipv6 on Windows (this is why -i ipv4 works). I will have to investigate to know what specifically though. Will try tonight or tomorrow morning. |
@sgourdas Should I move the issue to libkiwix? |
Yes, the issue should probably be addressed there. The hard thing will be testing, since kiwix-tools Windows compilation with kiwix-build is broken AFAIK. I will try to investigate properly regardless. |
Can you please open a dedicated issue in kiwix-build repo? |
Opened kiwix/kiwix-build#760 |
Using https://tmp.kiwix.org/ci/dev_preview/zim-tools_windows/kiwix-tools_win-x86_64-2024-09-02.zip on Windows 11 (VM) I can't seem to start kiwix-serve.
Either as regular user or administrator, I always get the following error:
The text was updated successfully, but these errors were encountered: