#!/usr/bin/env xonsh
$ redo demoredo demoTraceback (most recent call last): File "/home/nkabir/.local/bin/redo-ifchange", line 11, in <module> sys.exit(main()) File "/home/nkabir/.local/lib/python2.7/site-packages/redo/cmd_ifchange.py", line 41, in main jobserver.setup(0) File "/home/nkabir/.local/lib/python2.7/site-packages/redo/jobserver.py", line 240, in setup 'prefix your Makefile rule with a "+"')ValueError: broken --jobserver-auth from make; prefix your Makefile rule with a "+"demo
I am attempting to execute redo-ifchange from within a demo xonsh script:
[...]
$ redo demoredo demoTraceback (most recent call last):File "/home/nkabir/.local/bin/redo-ifchange", line 11, in <module>sys.exit(main())File "/home/nkabir/.local/lib/python2.7/site-packages/redo/cmd_ifchange.py", line 41, in mainjobserver.setup(0)File "/home/nkabir/.local/lib/python2.7/site-packages/redo/jobserver.py", line 240, in setup'prefix your Makefile rule with a "+"')ValueError: broken --jobserver-auth from make; prefix your Makefile rule with a "+"demo
I am confused by this error because I am not using a Makefile (yet). Any ideas on how to resolve this? Otherwise, xonsh pairs very nicely with redo.
--
You received this message because you are subscribed to the Google Groups "redo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to redo-list+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The redo repository on Github doesn't seem to have Issues enabled:Is this intentional? I wanted to add a reference to the issue above to track progress.
Thank you for your lucid response! I've opened an issue here:The workaround is much appreciated. It will do for now.
Oh interesting, so redo is actually launching xonsh, potentially via make. That is very interesting. I am still not sure why you / Avery think that this is a file descriptor issue. Can you rope Avery into this conversation to explain? Or is there a minimal Makefile that I can use to test this out?
I am not sure how many folks have tried to use xonsh inside of make or gdb or other tools with assume that $SHELL is a posix-compatible shell. We, of course, want xonsh to work with these tools.
xonsh has been a pleasure to use!
Thanks again!
...
Cheers,
--Norm