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

BUG: potential attribute error #684

Closed
aburrell opened this issue Nov 9, 2021 · 4 comments
Closed

BUG: potential attribute error #684

aburrell opened this issue Nov 9, 2021 · 4 comments

Comments

@aburrell
Copy link

aburrell commented Nov 9, 2021

I encountered this after upgrading ipython. An AttributeError in traitlets has stopped ipython from opening. I am not quite sure what's going on in the code after a brief peak, so thought I would bring it to your attention.

File "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/traitlets/config/loader.py", line 933, in __call__
    namespace._flags.append(self.flag)
AttributeError: 'Namespace' object has no attribute '_flags'

I am running OS X Mojave, python 3.9.8, and traitlets version 5.1.0. Please let me know if I can provide any more information or perform any tests that may be useful.

@ktowen
Copy link

ktowen commented Nov 17, 2021

I'm having the same error. It started after upgrading Python from 3.9.7 to 3.9.8

@mocurin
Copy link

mocurin commented Nov 17, 2021

Same issue. OS X Big Sur, launching notebooks inside VSCode on python 3.9.8 seems broken

@pmadhikar
Copy link

pmadhikar commented Nov 18, 2021

Did anyone have any luck with fixing this bug? I have the same problem.

Edit: This seems to be fixed in trailtlets version 5.1.1

pip install --upgrade traitlets

@rmorshea
Copy link
Contributor

rmorshea commented Nov 18, 2021

@Carreau it looks like Jupyter should bump the minimum version of traitlets it depends on (assuming the upgrade does in fact fix this).

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

No branches or pull requests

6 participants