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

<class 'AttributeError'>: 'jep.PyJObject' object has no attribute 'addGlobal' #508

Closed
Tracked by #496
oxisto opened this issue Aug 10, 2021 · 0 comments · Fixed by #524
Closed
Tracked by #496

<class 'AttributeError'>: 'jep.PyJObject' object has no attribute 'addGlobal' #508

oxisto opened this issue Aug 10, 2021 · 0 comments · Fixed by #524
Assignees

Comments

@oxisto
Copy link
Member

oxisto commented Aug 10, 2021

Might already be deprecated with your new branch @maximiliankaul, but seems this function was also (rightfully) removed in one of the earlier scope manager cleanups.

It should easily be replaceable with addDeclaration, since you are already in the global scope at this point.

How to reproduce

Parse any python file with an import statement.

@oxisto oxisto mentioned this issue Aug 10, 2021
20 tasks
oxisto added a commit that referenced this issue Aug 18, 2021
This introduces some hot fixes to the experimental python branch from our downstream project http://github.com/clouditor/cloud-property-graph. There will be a major overhaul of the python frontend in #513, but this at least should fix some crashes for the 4.0 release.

Fixes #508 among other crashes
@oxisto oxisto mentioned this issue Aug 18, 2021
oxisto added a commit that referenced this issue Aug 19, 2021
This introduces some hot fixes to the experimental python branch from our downstream project http://github.com/clouditor/cloud-property-graph. There will be a major overhaul of the python frontend in #513, but this at least should fix some crashes for the 4.0 release.

Fixes #508 among other crashes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants