-
Notifications
You must be signed in to change notification settings - Fork 15
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
Various issues when trying to codexctl install
#106
Comments
Let me know if there's any other info you'd need to chase these down! (And sorry for the long list... wanted to write everything up while it was still fresh.) |
Hi, appreciate the detailed issue. I've put a couple fixes in, which should hopefully make a change. The hardware version should also be put in the error message, could you put that here please? What ReMarkable device are you running on? Are you running from source, the pypi package or binary?
This is not intentional, it thinks its being ran from a remote device for some reason. The patch should hopefully fix it? There haven't been any problems with running it locally, so it seems the rewrite broke it :/
What permissions does the file have? It should be readable by the program. Thanks! |
It may take a couple hours for the new binary to be compiled |
Thank you very much! Both of you. |
Thanks for the extremely quick turnaround! Some answers to your questions...
(That's the info you're looking for, yeah?)
I'll try it out when I get a chance!
I think the file permissions were fine but the permissions for the directory it was in were locked down. Which is my fault! If there's anything to change it might be to change the error message from "Invalid path given" to say more about what might be wrong (IIUC, file does not exist or has wrong permissions) -- or possibly to just delete the check? Assuming that the SSH library you're using fails with a sufficiently useful error in that case. |
It sadly did not! But I think I found the issue - see the linked PR. |
Hi! Tried to get myself set up with
codexctl
this evening, and I ran into a handful of issues. Some of these may be me holding things wrong, but a couple of them are definitely bugs.1
When running
codexctl install toltec
or similar, I get:This happens whether I'm running on the rm itself or on another machine. (Though in the latter case I don't actually have any idea how it's inferring the correct version.) Other commands let me specify a particular
--hardware
, but this one doesn't, so I have no way to figure out what it's seeing here and AFAIK to override it.2
When trying to install from a particular file, I get:
The
version_number.group()
call seems like an error: when specified manually it is a string, not a match object.3
A couple other things that were unclear to me:
isfile
check returns the same whether the path is invalid or a directory or unreadable for other reasons, it seems. Possible any remaining issues are on my end!The text was updated successfully, but these errors were encountered: