-
Notifications
You must be signed in to change notification settings - Fork 62
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
Not any file named q #53
Comments
q.py[co] |
@jhermann I don't know what you mean.... In any case, if I do the following simple test it does work from outside Ansible Tower
|
try decorating |
@alonsocamaro did you get this to work in the end? I'm trying to use q to trace an ansible module, and so far it's just adding to the confusion. Adding @q decorator to all the module's internal methods seems to result in /tmp/q just listing them all. Using I really want this to work - debugging ansible is horrible! (so, for the
|
I have run into the same problem while trying to debug build backends and I suspect we have the same problem: q respects >>> import tempfile; tempfile.gettempdir()
'/var/folders/7f/5bq0ctcs4tl_7k2721s0ycy80000gn/T' It would be nice if I could overwrite that with something like |
Did you try explicitly setting TMPDIR? Maybe the code that uses that does the right thing? |
I confirm explicit setting of TMPDIR works well. On my computer with macOS 13.6, I had just to execute :
And now I have q() output in |
Hi
using q in an ansible module as follows:
There is no file q created anywhere in the file system...
I reckon this is a problem between the chair and the keyboard.... any tip would be more than welcome
Thanks!
The text was updated successfully, but these errors were encountered: