We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
any
There seems to be a problem with the IPython shell:
[20:41:15] Ganga In [2]: stat Ganga Out [2]: 'completed' [20:41:21] Ganga In [3]: any(stat == x for x in ["completed", "failed"]) ERROR !!Unknown/Unexpected ERROR!! ERROR If you're able to reproduce this please report this to the Ganga developers! --------------------------------------------------------------------------- NameError Traceback (most recent call last) ~/cmtuser/GANGA/GANGA_HEAD/install/ganga/ganga/GangaCore/GPI/__init__.py in <module> ----> 1 any(stat == x for x in ["completed", "failed"]) ~/cmtuser/GANGA/GANGA_HEAD/install/ganga/ganga/GangaCore/GPI/__init__.py in <genexpr>(.0) ----> 1 any(stat == x for x in ["completed", "failed"]) NameError: name 'stat' is not defined
In a stand-alone IPython shell this is fine:
In [1]: stat = "completed" In [2]: any(stat == x for x in ["completed", "failed"]) Out[2]: True
The text was updated successfully, but these errors were encountered:
So this looks like a very old bug in IPython shell embedding: ipython/ipython#136, ipython/ipython#62 .
I am not sure there is much we can do about it without great difficulty.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
There seems to be a problem with the IPython shell:
In a stand-alone IPython shell this is fine:
The text was updated successfully, but these errors were encountered: