Python 2.73、GoogleAppEngine-1.8.2.msiを使用して、Windows 7にdjango-nonrel 1.4をインストールしています
フォルダー django-testapp-testapp-1.4 の名前を django-testapp に変更しました
次に、次のフォルダーを django-testapp 内にコピーしました
自動ロード、dbindexer、django、djangoappengine、djangotoolbox
したがって、最終的なフォルダー構造は次のようになります。
django-testapp
autoload
dbindexer
django
djangoappengine
djangotoolbox
次に、manage.py runserver を実行したところ、次のエラー スタック トレースが得られました。
C:\Users\Laurence\Documents\python_google_app_engine\django-testapp>manage.py ru
nserver
Traceback (most recent call last):
File "C:\Users\Laurence\Documents\python_google_app_engine\django-testapp\mana
ge.py", line 11, in <module>
execute_manager(settings)
File "C:\Users\Laurence\Documents\python_google_app_engine\django-testapp\djan
go\core\management\__init__.py", line 438, in execute_manager
utility.execute()
File "C:\Users\Laurence\Documents\python_google_app_engine\django-testapp\djan
go\core\management\__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Users\Laurence\Documents\python_google_app_engine\django-testapp\djan
go\core\management\__init__.py", line 261, in fetch_command
klass = load_command_class(app_name, subcommand)
File "C:\Users\Laurence\Documents\python_google_app_engine\django-testapp\djan
go\core\management\__init__.py", line 67, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "C:\Users\Laurence\Documents\python_google_app_engine\django-testapp\djan
go\utils\importlib.py", line 35, in import_module
__import__(name)
File "C:\Users\Laurence\Documents\python_google_app_engine\django-testapp\djan
goappengine\management\commands\runserver.py", line 5, in <module>
from django.db import connections
File "C:\Users\Laurence\Documents\python_google_app_engine\django-testapp\djan
go\db\__init__.py", line 78, in <module>
connection = connections[DEFAULT_DB_ALIAS]
File "C:\Users\Laurence\Documents\python_google_app_engine\django-testapp\djan
go\db\utils.py", line 94, in __getitem__
conn = backend.DatabaseWrapper(db, alias)
File "C:\Users\Laurence\Documents\python_google_app_engine\django-testapp\dbin
dexer\base.py", line 54, in DatabaseWrapper
return Wrapper(merged_settings, *args, **kwargs)
File "C:\Users\Laurence\Documents\python_google_app_engine\django-testapp\dbin
dexer\base.py", line 37, in __init__
super(BaseDatabaseWrapper, self).__init__(*args, **kwargs)
File "C:\Users\Laurence\Documents\python_google_app_engine\django-testapp\djan
goappengine\db\base.py", line 290, in __init__
self.ops = DatabaseOperations(self)
TypeError: __init__() takes exactly 1 argument (2 given)
C:\Users\Laurence\Documents\python_google_app_engine\django-testapp>
誰かがこれを理解し、どこが間違っているか教えてくれることを願っています。