Error on running django unit test in IDE (GAE, Django Nonrel)
Hello,
I am using PyCharm 2.01, and I'm having some trouble while running the unit tests in the IDE.
The unit test used to work fine in the past, until I recently added django-compressor (which uses memcache). Ever since I'm getting the message:
"Error: No module named memcache"
I also upgraded to python 2.7 and upgraded the appengine SDK version et the same time, but I think the problem is due to the fact that this is the first time I am actually using memcache.
The unit tests and the application work fine on the command line
I also manage to run and use my web application perfectly from PyCharm's menus by choosing: Run->Run and "google app engine"->app
It is just the django unit test and the debugging that do not work.
I have django installed on my system under python 2.7, but my application is supposed to use the django version that is under my application directory - that is the django nonrel version.
Any help / tips / ideas will be highly appreciated, I really miss my IDE unit testing :-)
Other details:
OS - Ubuntu 11.04 64 bits
I removed all Python 2.6 from the system
Full error:
/usr/bin/python2.7 /home/gali/packages/pycharm-2.0.1/helpers/pycharm/django_test_manage.py test website.ConfigDistribPointsTest.test_delete_distrib_point_correct_post app
Testing started at 11:30 AM ...
WARNING:root:The rdbms API is not available because the MySQLdb library could not be loaded.
Error: No module named memcache
Thanks
Galia
Please sign in to leave a comment.