question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AttributeError: 'UndefinedType' object has no attribute 'localizations'

See original GitHub issue

Trying to import the pandaSDMX at the project. Returns the error message:

AttributeError: 'UndefinedType' object has no attribute 'localizations'

List of requirements:


alabaster 0.7.12 argon2-cffi 20.1.0 async-generator 1.10 atomicwrites 1.4.0 attrs 20.3.0 Babel 2.9.0 backcall 0.2.0 bleach 3.3.0 certifi 2020.12.5 cffi 1.14.5 chardet 4.0.0 codecov 2.1.11 colorama 0.4.4 coverage 5.5 decorator 4.4.2 defusedxml 0.6.0 docutils 0.16 entrypoints 0.3 idna 2.10 imagesize 1.2.0 iniconfig 1.1.1 ipykernel 5.5.0 ipython 7.21.0 ipython-genutils 0.2.0 ipywidgets 7.6.3 jedi 0.18.0 Jinja2 2.11.3 jsonschema 3.2.0 jupyter 1.0.0 jupyter-client 6.1.11 jupyter-console 6.2.0 jupyter-core 4.7.1 jupyterlab-pygments 0.1.2 jupyterlab-widgets 1.0.0 lxml 4.6.2 MarkupSafe 1.1.1 mistune 0.8.4 nbclient 0.5.3 nbconvert 6.0.7 nbformat 5.1.2 nest-asyncio 1.5.1 notebook 6.2.0 numpy 1.20.1 packaging 20.9 pandas 1.2.2 pandaSDMX 1.4.1 pandocfilters 1.4.3 parso 0.8.1 pickleshare 0.7.5 pip 21.0.1 pluggy 0.13.1 prometheus-client 0.9.0 prompt-toolkit 3.0.16 py 1.10.0 pycparser 2.20 pydantic 1.8 Pygments 2.8.0 pyparsing 2.4.7 pyrsistent 0.17.3 pytest 6.2.2 pytest-cov 2.11.1 python-dateutil 2.8.1 pytz 2021.1 pywin32 300 pywinpty 0.5.7 pyzmq 22.0.3 qtconsole 5.0.2 QtPy 1.9.0 requests 2.25.1 requests-cache 0.5.2 requests-mock 1.8.0 Send2Trash 1.5.0 setuptools 54.0.0 six 1.15.0 snowballstemmer 2.1.0 Sphinx 3.5.1 sphinxcontrib-applehelp 1.0.2 sphinxcontrib-devhelp 1.0.2 sphinxcontrib-htmlhelp 1.0.3 sphinxcontrib-jsmath 1.0.1 sphinxcontrib-qthelp 1.0.3 sphinxcontrib-serializinghtml 1.1.4 terminado 0.9.2 testpath 0.4.4 toml 0.10.2 tornado 6.1 traitlets 5.0.5 typing-extensions 3.7.4.3 urllib3 1.26.3 wcwidth 0.2.5 webencodings 0.5.1 widgetsnbextension 3.5.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ki-terhoevencommented, Mar 9, 2021

Seems to be an issue with a pydantic update. pip install pydantic==1.7 did the trick for me.

1reaction
dr-leocommented, Mar 29, 2021

Thanks for spotting and suggesting a solution. It is fixed in v1.4.2 which is available on pypi and conda-forge.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python Attribute Error: type object has no attribute
I am new to Python and programming in general and try to teach myself some Object-Oriented Python and got this ...
Read more >
AttributeError: type object 'Language' has no attribute 'factory ...
Our unit tests didn't identify any problem with the code when we migrated pytextrank to spaCy 3. x by using a custom pipeline...
Read more >
AttributeError: type object 'object' has no attribute 'dtype'
I'm trying to run beta group significance using the code below in qiime2 2022.2 qiime diversity beta-group-significance --i-distance-matrix ...
Read more >
AttributeError invalid type object has no attribute pen on line 2
I have a problem. It has an error like this -. AttributeError: '<invalid type>' object has no attribute 'pen' on line 2. Help...
Read more >
AttributeError: 'NoneType' object has no attribute 'GetLayer'
Using: QGIS 2.18 with a plugin: ECOPLAN Scenario evaluator, inserting self-made shapefiles made in Arcmap. Received this error:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found