Skip to content
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

Unclear error message when adding nonexistent dependency #136

Closed
TheChymera opened this issue Nov 14, 2018 · 0 comments
Closed

Unclear error message when adding nonexistent dependency #136

TheChymera opened this issue Nov 14, 2018 · 0 comments
Labels

Comments

@TheChymera
Copy link

I keep getting this error when I am adding an nonexistent dependency with, e.g.

\begin{pythontexcustomcode}[begin]{py}
pytex.add_dependencies('some/file/that/does/not.exist')
\end{pythontexcustomcode}

:

This is PythonTeX 0.16
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.6/pythontex.py", line 62, in <module>
    pythontex.main()
  File "/usr/lib64/python3.6/site-packages/pythontex3.py", line 2716, in main
    do_multiprocessing(data, temp_data, old_data, engine_dict)
  File "/usr/lib64/python3.6/site-packages/pythontex3.py", line 1415, in do_multiprocessing
    if val[0] > start_time:
TypeError: '>' not supported between instances of 'NoneType' and 'float'

And I always keep spending a lot of time trying to figure out what's wrong. I'm thinking this is the best place to document this, not least of all because it would be cool to improve the error message in the next release :)

@gpoore gpoore added the bug label Sep 20, 2019
@gpoore gpoore closed this as completed in 9dc7532 Sep 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants