-
Notifications
You must be signed in to change notification settings - Fork 137
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
[Bug] pueue edit
does not save changes
#580
Comments
Can you check/share the logs of both the daemon and the client? Since it's working for me, it's either something related to your setup or to MacOS |
Ping @theutz |
Sorry about the delay! Here you go (with some minor redactions): output from
|
Interesting. So the issue is really the client. The communication between the daemon and the client looks exactly as expected. And the client also doesn't seem to fail to read the data back from disk. At this point I would probably go ahead and add more logging and do some hand-on debugging. |
Yeah, that makes sense. And you're right, if I run Oddly enough, when I run it with Thanks for the help, though! |
Curious. I'm using vim myself for editing so that really shouldn't be an issue with vim... Oh. Can you try to save with vim and inspect the file afterwards without exiting vim? |
Excellent idea. And, interestingly enough, the changes do show up in the temporary file if I inspect it directly, yeah. So, the plot thickens... :D |
Describe the bug
If i use
pueue edit 1
to edit the command for task 1, my$EDITOR
opens and is filled with the content of the command. But when I save and exit my editor, the command is unchanged.Steps to reproduce
pueue add -s -- 'while tldr --update; do gum log -t layout -s done code $?; sleep 5; done' pueue edit 1
In my editor, changed the sleep duration from
5
to10
, thenShows the changes have not been saved. Repeated invocations of the command confirm this, as well as the timestamps from within the command.
Debug logs (if relevant)
No response
Operating system
macOS Sequoia
Pueue version
v3.4.1
Additional context
I've installed
pueue
viacargo
via mise. Not sure if that'd be relevant.The text was updated successfully, but these errors were encountered: