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 am getting issues setting up django-nonrel.
I followed steps as http://djangoappengine.readthedocs.org/en/latest/
and then I run this command from django-tesapp folder
$ python manage.py runserver
and I get this :
Traceback (most recent call last):
File "manage.py", line 14, in
execute_manager(settings)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/core/management/init.py", line 438, in execute_manager
utility.execute()
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/core/management/init.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/core/management/init.py", line 261, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/core/management/init.py", line 67, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/utils/importlib.py", line 35, in import_module
import(name)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/djangoappengine/management/commands/runserver.py", line 5, in
from django.db import connections
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/db/init.py", line 78, in
connection = connections[DEFAULT_DB_ALIAS]
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/db/utils.py", line 94, in getitem
conn = backend.DatabaseWrapper(db, alias)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/dbindexer/base.py", line 54, in DatabaseWrapper
return Wrapper(merged_settings, _args, *_kwargs)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/dbindexer/base.py", line 37, in init
super(BaseDatabaseWrapper, self).init(_args, *_kwargs)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/djangoappengine/db/base.py", line 290, in init
self.ops = DatabaseOperations(self)
TypeError: init() takes exactly 1 argument (2 given)
pradeep@pradeep:~/projects/python/gae_django_nonrel_app/django-testapp$ python manage.py createsuperuser
Traceback (most recent call last):
File "manage.py", line 14, in
execute_manager(settings)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/core/management/init.py", line 438, in execute_manager
utility.execute()
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/core/management/init.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/core/management/init.py", line 261, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/core/management/init.py", line 67, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/utils/importlib.py", line 35, in import_module
import(name)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/contrib/auth/management/init.py", line 5, in
from django.contrib.auth import models as auth_app
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/contrib/auth/models.py", line 7, in
from django.db import models
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/db/init.py", line 78, in
connection = connections[DEFAULT_DB_ALIAS]
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/db/utils.py", line 94, in getitem
conn = backend.DatabaseWrapper(db, alias)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/dbindexer/base.py", line 54, in DatabaseWrapper
return Wrapper(merged_settings, _args, *_kwargs)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/dbindexer/base.py", line 37, in init
super(BaseDatabaseWrapper, self).init(_args, *_kwargs)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/djangoappengine/db/base.py", line 290, in init
self.ops = DatabaseOperations(self)
TypeError: init() takes exactly 1 argument (2 given)
HELP
The text was updated successfully, but these errors were encountered:
This typically means you're mixing incompatible branch versions. If you're using django 1.4, then you need to use the dbindexer-1.4 branch, along with the corresponding djangotoolbox and djangoappengine branches
@aburgel I am using the django-nonrel 1.5 and all the latest versions of all other apps dbindexer djangotoolbox djangoappengine. I am new to django and python. Please see if I am doing it correct:
I cloned all projects(django-nonrel , dbindexer, djangotoolbox, djangoappengine, django-autoload and django-testapp) from github to my computer directory.
I copied the projects from inside these directories to Django-testapp (Do I need to run setup.py or set any env variables ? because I didn't)
At django-testapp directory I run this command python manage.py runserver
I am getting issues setting up django-nonrel.
I followed steps as http://djangoappengine.readthedocs.org/en/latest/
and then I run this command from django-tesapp folder
$ python manage.py runserver
and I get this :
Traceback (most recent call last):
File "manage.py", line 14, in
execute_manager(settings)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/core/management/init.py", line 438, in execute_manager
utility.execute()
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/core/management/init.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/core/management/init.py", line 261, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/core/management/init.py", line 67, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/utils/importlib.py", line 35, in import_module
import(name)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/djangoappengine/management/commands/runserver.py", line 5, in
from django.db import connections
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/db/init.py", line 78, in
connection = connections[DEFAULT_DB_ALIAS]
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/db/utils.py", line 94, in getitem
conn = backend.DatabaseWrapper(db, alias)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/dbindexer/base.py", line 54, in DatabaseWrapper
return Wrapper(merged_settings, _args, *_kwargs)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/dbindexer/base.py", line 37, in init
super(BaseDatabaseWrapper, self).init(_args, *_kwargs)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/djangoappengine/db/base.py", line 290, in init
self.ops = DatabaseOperations(self)
TypeError: init() takes exactly 1 argument (2 given)
pradeep@pradeep:~/projects/python/gae_django_nonrel_app/django-testapp$ python manage.py createsuperuser
Traceback (most recent call last):
File "manage.py", line 14, in
execute_manager(settings)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/core/management/init.py", line 438, in execute_manager
utility.execute()
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/core/management/init.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/core/management/init.py", line 261, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/core/management/init.py", line 67, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/utils/importlib.py", line 35, in import_module
import(name)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/contrib/auth/management/init.py", line 5, in
from django.contrib.auth import models as auth_app
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/contrib/auth/models.py", line 7, in
from django.db import models
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/db/init.py", line 78, in
connection = connections[DEFAULT_DB_ALIAS]
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/django/db/utils.py", line 94, in getitem
conn = backend.DatabaseWrapper(db, alias)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/dbindexer/base.py", line 54, in DatabaseWrapper
return Wrapper(merged_settings, _args, *_kwargs)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/dbindexer/base.py", line 37, in init
super(BaseDatabaseWrapper, self).init(_args, *_kwargs)
File "/home/pradeep/projects/python/gae_django_nonrel_app/django-testapp/djangoappengine/db/base.py", line 290, in init
self.ops = DatabaseOperations(self)
TypeError: init() takes exactly 1 argument (2 given)
HELP
The text was updated successfully, but these errors were encountered: