-
Notifications
You must be signed in to change notification settings - Fork 75
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
Make sure promnesia works under Windows #91
Comments
Hey.. Uhoh, it would need some work for that first, sorry! I'm trying to keep things as portable as possible, but had to keep Windows in mind, I haven't used it for years. |
Some related comments here (apparently can be run via WSL?) #114 (comment) |
Right, I played a bit with CircleCI Windows runners and SSH debugging -- not too pleasant experience, but did tackle some issues. This particular problem is a bug in Python 3.7! https://bugs.python.org/issue33617 Most tests are passing now, however, hug (the HTTP framework I'm using) itself doesn't seem to start at all, which is of course a major issue. Not sure when I'll have time for another round of investigation, but hopefully this motivates someone else to carry on (especially if you have a proper Windows system around!). |
Alright. I don't have much python knowledge, but here's where I'm at
But a second later gives
|
Just As for |
RE: RE: |
I looked a bit and I think I was wrong about hug -- more likely an issue with handling whitespace in
I think you can try enclosing promnesia/src/promnesia/server.py Line 303 in 15088ba
, e.g. If that works, I guess I'll look up what should be used instead so it's portable.. or perhaps hack it just for Windows. |
can confirm |
User reported similar error when checking |
Also |
Perhaps need to document: paths on Windows need to be prepended with Also |
all right, fixed a bunch of things here... #197
still haven't added static analysis for these, so without running tests on Windows some of it might go stale.. but hopefully I'll remember this for a while |
karlicoss/HPI#124 .. and after this update all Promnesia tests pass (except |
Have you considered just saying Linux support works only under WSL, @karlicoss ? With the reliance on It would be more overhead on the part of the users to install and configure WSL, but it's something that's documented in a lot of places and IMO was easy the last time I did it (I recently switched to Linux after about 10+ years of mainly Windows dev-ing) |
Yeah, I guess I don't know much about it, so figured I'd give it a go to fix (last time I did anything on Windows was ~10 years ago). I guess worth mentioning in the docs that via WSL it would be much more likely to work properly! |
So, is the WSL version working properly? Update: It does! Strangely, there's some path issues so have to use |
Oh that's good to know. Yeah issues like these can always happen, and on linux as well... |
Recently setup a old thinkpad on windows -- will probably be testing HPI/promnesia on there eventually, will report/PR some docs if I have any issues Edit: Had no issues setting it up in WSL |
I have a (fairly) fresh Windows install and had no issues with Promnesia this go around!
Seems good 👍 |
Very cool! I've shifted back to Arch and haven't had the time to try it out yet. |
I did a bunch of fixes, so pretty sure it should work both under WSL or regular shell (or whatever it's called in Windows world). It also runs on CI now so hopefully won't regress. Feel free to reopen/comment if you still have issues with Windows |
What do you mean in "add a folder to PATH", sir? I installed Python 3.10.7. but when I run "promnesia demo https://github.com/karlicoss/exobrain" as your suggestion, I received an error like this:C:\Python3107>promnesia demo https://github.com/karlicoss/exobrain
|
|
Windows 10 with Python 3.7.6.
When I run
promnesia demo --port 16789 https://github.com/karlicoss/exobrain
I get error:
So how can I run this program on Windows?
The text was updated successfully, but these errors were encountered: