id summary reporter owner description type status priority milestone component resolution keywords cc parents 761 [Python 2.6] OrderedDict ImportError rsd "When using Python 2.6, the `./bin/gmg dbupdate` command throws an !ImportError[1]. The source of error is in the `mediagoblin/processing/__init__.py` file, which imports '!OrderedDict' from 'collections'[2]. Fortunately, we've ordereddict[3]. When I imported '!OrderedDict' from this module. Bingo, it worked[4]. A possible fix for this bug would be to first test whether importing !OrderedDict from 'collections' doesn't throw an !ImportError, if it does (meaning the user has Python 2.6), import !OrderedDict from 'ordereddict'. [1]: http://pastebin.com/c06J5H7j [2]: In Python 2.6, there is no !OrderedDict in 'collections'. [3]: https://pypi.python.org/pypi/ordereddict [4]: here is the diff http://pastebin.com/VYtQFW3a" defect closed major programming fixed ordereddict python2.6 cwebber@…