1. Wilfred Hughes
  2. django-nonrel
Issue #13 invalid

"manage.py test" broken with GAE SDK 1.6

projecteat
created an issue

Attempt to run "python manage.py test" with GAE SDK 1.6 causes an error message:

WARNING:root:The rdbms API is not available because the MySQLdb library could not be loaded. {{{

!python

Traceback (most recent call last): File "manage.py", line 4, in <module> import settings # Assumed to be in the same directory. File "/home/user/projecteat/settings.py", line 4, in <module> from djangoappengine.settings_base import * File "/home/user/projecteat/djangoappengine/settings_base.py", line 6, in <module> setup_env() File "/home/user/projecteat/djangoappengine/boot.py", line 65, in setup_env setup_project() File "/home/user/projecteat/djangoappengine/boot.py", line 117, in setup_project from .utils import have_appserver, on_production_server File "/home/user/projecteat/djangoappengine/utils.py", line 13, in <module> appconfig, unused = dev_appserver.LoadAppConfig(PROJECT_DIR, {})

}}} Fix seems to be to modify utils.py:

{{{

!python

  • appconfig, unused_matcher = dev_appserver.LoadAppConfig(PARENT_DIR, {})
  • appconfig, unused_matcher, from_cache = dev_appserver.LoadAppConfig(PARENT_DIR, {})

}}} Same bug reported here for the google-app-engine-django project: http://code.google.com/p/google-app-engine-django/issues/detail?id=202&q=LoadAppConfig

Comments (2)

  1. Log in to comment