Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialGari Merrifield
9,598 PointsMore of a comment than a question, ISO code ESH not recognized
The world_bank.py seems to die when it hits the code ESH near the bottom of the file. Manually trying ESH or EH returns a message of "Invalid value", which we have not set up this script to deal with, so it crashes out with errors that seem unrelated, where it says a "'NoneType' object has no attribute 'get_text'"
I have verified that is only the one code ESH ( for Western Sahara ), that is getting this reply, so you may want to remove the line ESH from the file, and run the script again if you want to see it run without errors.