-
Notifications
You must be signed in to change notification settings - Fork 2
Error in inspect.py #43
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
Comments
Are you able to replicate it? pytask tries to infer the file and line number of the task function which is here the function to compile a latex document that has partialed arguments. You cannot directly get the source of a partialed function, instead, you need to check the underlying function. This should be checked here: So, I am curious why this check fails. Maybe in |
Ah, maybe it is something introduced during my LaTeX changes after all?
|
Running things with debug flag yields an error:
Digging a bit deeper:
No big deal in the end, the issue is more that
pytask
quit without informing the user of anything. I ended up there somewhat by chance and ended up worrying whether recent changes to environment or tex-files had caused this; in the end I think it's about the first time I ran that project with the--pdb
flag turned on.The text was updated successfully, but these errors were encountered: