-
Notifications
You must be signed in to change notification settings - Fork 2
Change the things that must be changed in Windows. #83
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
Comments
Hi, thanks for trying out Elot! I hope to update and improve the README rather soon, it really needs some work. Your particular problem should however not be difficult to fix. I myself mainly use Emacs on Windows.
(This line will be inserted for you if you start an ontology with an empty file, by hitting shift+F5 to open the Elot menu and typing The default value for However, it may be that Emacs doesn't understand where your home directory is located, especially on Windows! The problem is one that many Emacs users have faced over the years. I recommend setting the
After this, you should be good to go. I recommend also downloading |
PS! You mention that you wish to create diagrams, which for Elot by default means using On Windows, I strongly recommend downloading and using rdfpuml.exe, which Vladimir Alexiev kindly put together for use with Elot. It's of course not impossible to install So, please download To get started with diagrams, you may check out |
Hi, thankyou for your answer. However, it is not resolutive and only partially relevant. First, note that I read completely the README file and correctly implemented all steps. In particular, the Emacs HOME directory is C:/Users/[me]. And the directory C:/Users/[me]/bin is added to both the user's and the system PATH variable. And everything is downloaded. This is however not sufficient to solve the issue: if I try to follow the tutorial to produce a diagram it tells me that rdfpuml isnt found and suggest to use the command M-x set-variable to set the org-plantuml-jar-path variable. After I learned how to do that, I reasonably set the value of said variable to "~/bin/rdfpuml.exe" (rdfpulm.exe is there together with the other stuff). After that, the error changes, but the diagram generation still fails, see image: Could you help? |
In addition, when vanilla Emacs starts, it is immediately responsive; when Elot-Emacs starts, it needs between 10 to 30 seconds (tested on different connections) to do stuff (it says "contacting host", the one that consumes the most time is "melpa.org"). Is this an anomalous behavior? |
Hi, many thanks for following up. I'll check these out and get back to you. It's conceivable that some change to Perl might be an issue -- I just found a similar-looking problem on my Mac (not on my Windows computer, though). Just in case: Are you in Windows 11? |
Ok, I just tested rdfpuml again on my Windows 11 computer. Could you please run a quick test with a file that is known to work? The When I look at your screenshot, there may be a clue in that you have a |
Actually, this is mainly due to an overly cautious setup for new users. An ELOT package is due to be made available before long. With that, ELOT will be just one among hundreds of packages that users can choose to include, and loading time should be quite fast. In the meantime, if you have these lines in your
|
Yes, absolutely. I executed the following steps:
The result was an error: This was caused by the lack of having generated the ttl by using SHIFT+F5 > t, I assume, so I did that. Then re-did 1. to 4.. Then I got again the Then I re-did 1. to 4.. This time I get the error that tells me that some file or directory is missing: Notice that I can correctly use the .jar file from the command line to produce diagrams and (with the .exe file) .puml files. Also elot sees that the file is there because if I change the file location or set a different value for the address variable I get the previous error message about the jar not found. Kind regards |
Interesting .. the last error says "Unable to access jarfile ~/bin/plantuml.jar". Sorry to be asking this question, but you are 100% sure that you have renamed the plantuml jar to just "plantuml.jar" and placed it in the c:/Users/Francesco/bin folder? It's conceivable that the shortcut "~" is still not picked up by Emacs as an alias for c:/Users/Francesco. So you could try to set org-plantuml-jar-path to the explicit "c:/Users/Francesco/bin/plantuml.jar" and try once more. If this still doesn't work, I'd be happy to do a video meeting and help you fix it for real... |
No worries, I would think the same. However the file is there: Also, as I've mentioned, If I move the file the error changes. Plus the robot.jar is in the same place, but that one gets found. Also the tilda does appear to be taken as the correct alias: However, setting the jar path to "c:/Users/Francesco/bin/plantuml.jar" explicitely did the trick, although I don't understand way: Well, I consider the issue solved. Many thanks for the attention and kind regards. |
Wonderful! And I believe I finally see the root cause here. Namely: Java doesn't understand backslash in file paths. That means it will be happy to load I have to add a note about this in the README. |
So, I am trying to use this software. Unfortunately, I am using Windows. Unfortunately, I am also unexperienced with Emacs.
I managed to deduce that I have to open the .emacs file and change the elisp path location (I followed the instructions on the README file, however this resulted Emacs not being able to find the elisp folder). Now I can use elot, however if I e.g. try to produce diagrams, a similar error is raised. I see that I have to
the following variables then need to be edited with M-x customize ;; - elot-robot-jar-path (for ROBOT query and more) ;; - org-plantuml-jar-path (for PlantUML) ;; - elot-rdfpuml-path (for RDF diagrams)
However, it is exceedingly non-obvious how to do so even when searching on the internet.
So, I would be grateful if you could supply some instruction about how to do that.
Many thanks for your most kind attention and kind regards
The text was updated successfully, but these errors were encountered: