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

Error: 'dict' object has no attribute 'iteritems' #1756

Closed
AndyPau opened this issue Dec 4, 2016 · 2 comments
Closed

Error: 'dict' object has no attribute 'iteritems' #1756

AndyPau opened this issue Dec 4, 2016 · 2 comments

Comments

@AndyPau
Copy link

AndyPau commented Dec 4, 2016

my superset is builded by the newest source, VersionNumber is 0.14.1. when i start the server, there is an error reported.

Error: 'dict' object has no attribute 'iteritems'

xrmx added a commit to xrmx/superset that referenced this issue Dec 4, 2016
dict.iteritems() has been removed since dict.items() returns an
iterable in python3. Shouldn't be a big deal for python2 to load
all the data into a list.

Fix apache#1756
@marklavrynenko-original

I also had similar problem. Issue was in old version of mysqlclient (1.3.2 instead of 1.3.12)
Make sure that all your database drivers are Python3 compliant.

Hope it helps.

@mistercrunch
Copy link
Member

That's a generic error message, without a stack trace we have no idea where it's coming from... Closing.

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

3 participants