You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to configure (both on Windows 8.1 and MacOS X Yosemite) in order to run django-testapp, because I'm interested in developing a django webapp on gae.
I'm using Python 2.7.6 on Mac and 2.7.9 on Windows.
First attempt: Installed latest GAE SDK (1.9.17), cloned django-testapp, ran build.sh script. Then I tried to execute "python manage.py runserver", but I've got an error about dev_appserver.
I googled this issue and found that somebody was able to start the server by using "devappserver2" branch on django-appengine and GAE SDK 1.9.14, so I decided to give it a try.
Second attempt: GAE SDK 1.9.14, devappserver2 branch. With this setup runserver worked. Since I'm intereseted in django admin site, I tried the createsuperuser command but I've got the following traceback:
C:\Users\Paolo\Documents\GitHub\django-testapp>python manage.py createsuperuser
WARNING 2015-01-16 12:36:46,957 backends.py:59] The Backends API is deprecated
and will be removed in a future release. Please migrate to the Modules API as so
on as possible.
WARNING 2015-01-16 12:36:47,137 simple_search_stub.py:1115] Could not read sear
ch indexes from c:\users\paolo\appdata\local\temp\dev_appserver.searchindexes
Traceback (most recent call last):
File "manage.py", line 11, in
execute_manager(settings)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\core\management__
init__.py", line 459, in execute_manager
utility.execute()
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\core\management__
init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\core\management\ba
se.py", line 196, in run_from_argv
self.execute(_args, *_options.dict)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\core\management\ba
se.py", line 232, in execute
output = self.handle(args, *options)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\contrib\auth\manag
ement\commands\createsuperuser.py", line 70, in handle
default_username = get_default_username()
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\contrib\auth\manag
ement__init.py", line 117, in get_default_username
User.objects.get(username=default_username)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\db\models\manager.
py", line 131, in get
return self.get_query_set().get(_args, *_kwargs)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\db\models\query.py
", line 361, in get
num = len(clone)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\db\models\query.py
", line 85, in len
self._result_cache = list(self.iterator())
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\db\models\query.py
", line 287, in iterator
compiler = self.query.get_compiler(using=db)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\db\models\sql\quer
y.py", line 225, in get_compiler
return connection.ops.compiler(self.compiler)(self, connection, using)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\dbindexer\base.py", line
27, in compiler
target = super(DatabaseOperations, self).compiler(compiler_name)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\db\backends__init
__.py", line 687, in compiler
self._cache = import_module(self.compiler_module)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\utils\importlib.py
", line 35, in import_module import(name)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\djangoappengine\db\compil
er.py", line 17, in
from djangotoolbox.db.basecompiler import (
ImportError: cannot import name NonrelAggregateCompiler
Any suggestions?
The text was updated successfully, but these errors were encountered:
I tried to configure (both on Windows 8.1 and MacOS X Yosemite) in order to run django-testapp, because I'm interested in developing a django webapp on gae.
I'm using Python 2.7.6 on Mac and 2.7.9 on Windows.
First attempt: Installed latest GAE SDK (1.9.17), cloned django-testapp, ran build.sh script. Then I tried to execute "python manage.py runserver", but I've got an error about dev_appserver.
I googled this issue and found that somebody was able to start the server by using "devappserver2" branch on django-appengine and GAE SDK 1.9.14, so I decided to give it a try.
Second attempt: GAE SDK 1.9.14, devappserver2 branch. With this setup runserver worked. Since I'm intereseted in django admin site, I tried the createsuperuser command but I've got the following traceback:
C:\Users\Paolo\Documents\GitHub\django-testapp>python manage.py createsuperuser
WARNING 2015-01-16 12:36:46,957 backends.py:59] The Backends API is deprecated
and will be removed in a future release. Please migrate to the Modules API as so
on as possible.
WARNING 2015-01-16 12:36:47,137 simple_search_stub.py:1115] Could not read sear
ch indexes from c:\users\paolo\appdata\local\temp\dev_appserver.searchindexes
Traceback (most recent call last):
File "manage.py", line 11, in
execute_manager(settings)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\core\management__
init__.py", line 459, in execute_manager
utility.execute()
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\core\management__
init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\core\management\ba
se.py", line 196, in run_from_argv
self.execute(_args, *_options.dict)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\core\management\ba
se.py", line 232, in execute
output = self.handle(args, *options)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\contrib\auth\manag
ement\commands\createsuperuser.py", line 70, in handle
default_username = get_default_username()
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\contrib\auth\manag
ement__init.py", line 117, in get_default_username
User.objects.get(username=default_username)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\db\models\manager.
py", line 131, in get
return self.get_query_set().get(_args, *_kwargs)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\db\models\query.py
", line 361, in get
num = len(clone)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\db\models\query.py
", line 85, in len
self._result_cache = list(self.iterator())
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\db\models\query.py
", line 287, in iterator
compiler = self.query.get_compiler(using=db)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\db\models\sql\quer
y.py", line 225, in get_compiler
return connection.ops.compiler(self.compiler)(self, connection, using)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\dbindexer\base.py", line
27, in compiler
target = super(DatabaseOperations, self).compiler(compiler_name)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\db\backends__init
__.py", line 687, in compiler
self._cache = import_module(self.compiler_module)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\django\utils\importlib.py
", line 35, in import_module
import(name)
File "C:\Users\Paolo\Documents\GitHub\django-testapp\djangoappengine\db\compil
er.py", line 17, in
from djangotoolbox.db.basecompiler import (
ImportError: cannot import name NonrelAggregateCompiler
Any suggestions?
The text was updated successfully, but these errors were encountered: