Posted by: terryhowe | March 9, 2017

tox no module named gdm or _bsddb

Depending on the order you run tests in tox you can get some problems with the test repository where it will fail the entire test with a message “no module named gdm” if you run python 3 tests before python 2 or “no module named _bsddb” if you run python 2 tests before python 3.  I posted earlier how you used to be able to remove the .testrepository directory and rerun the python 2 tests first, but that doesn’t work any more.  You can now install python-gdm on Ubuntu to get around this.

sudo apt-get install python-gdm

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


%d bloggers like this: