Closed jerekupari closed 1 year ago
Hi, at a first look all looks well. Could you try another port (8080 or even 80 if there is no other http server running on your machine). You can also try firebug (F12 on firefox) and check the console and/or network tab whether an error show up somewhere. Since on the server side, the responses seem to be sensible my first guess is a problem somewhere on the browser side
Thanks for looking into this!
Changing the port makes no difference (80, 8080, 8457).
I realised I don't have python in path. I updated to 3.11.3, and added it to path. No change.
On another machine I use anaconda, there I tried this in Anaconda Powershell Prompt. No difference.
Where am I supposed to put the script: python3
or py
addition?
Both machines have Windows 10 Home. I have a Windows 11 Home machine somewhere, I can try that.
In firebug I don't get any error that would take me forward:
I see that it's trying to load img/404.svg, which it doesn't find. I looked at it in Inkscape and it was nice!
Here's the html it shows:
<html>
<head>
<title >404 Not Found</title>
</head>
<body>
<img alt="404 Not Found" width="100%" src="img/404.svg">
</body>
</html>
I t looks as if the server does not find the gui
directory (where all html/js/css is to be found). How did you start it?
Try to run the server in the following way:
java -Xmx4g -cp C:\\path\to\ConlluEditor-2.22.2-jar-with-dependencies.jar com.orange.labs.editor.ConlluEditor --rootdir C:\\path\to\gui conllufile.conllu 8888
and use absolute pathnames for the paths to the jar file and to gui
Normally the server should find the gui directory from its own position (at least on Linux), but maybe I overlooked something on Windows
Thank you!
Now it works!
Good to hear! so it was the path thing?
It was something in your last command line with the absolute paths.
Also this one works (or at least it starts, don't know about all functionality).
It's the same as in instructions, but --rootfile points to the gui directory.
PS C:\Users\jere\Downloads> java -jar conllueditor-2.22.2\target\ConlluEditor-2.22.2-jar-with-dependencies.jar --rootdir conllueditor-2.22.2\gui\ GS_conllu_22052023.conllu.2 8888
Wait what. That is the same as in instructions, did I just have a copypaste error the whole time?
Sorry!
I'm trying to install on Windows 10. My java is the Microsoft Build of OpenJDK 11.
If I understand correctly it should install the dependencies automatically, at least I see something like that in the gui/libs/ directory.
Should I try WSL or some other bash?
In linux I got it working, but my wife would prefer working in Windows.