0

http://www.allbuttonspressed.com/projects/djangoappengineの指示に従いましたが、 ./manage.py runserver を実行すると、プロジェクトディレクトリにいる間、次のエラーが発生します。

WARNING  2011-03-24 12:23:21,994 datastore_file_stub.py:657] Could not read datastore
data from /media/disk/Projex/AppEngineApp/app/.gaedata/datastore  
Error: option --rdbms_sqlite_path not recognized
Runs a development application server for an application.
manage.py [options] <application root>__

app/djangoappengine/db/base.py の ''rdbms_sqlite_path': os.path.join(DATA_ROOT, 'rdbms'),' 行をコメントしようとすると、次のエラーが発生します。

WARNING  2011-03-24 12:26:07,239 datastore_file_stub.py:657] Could not read datastore  
data from /media/disk/Projex/AppEngineApp/app/.gaedata/datastore
Traceback (most recent call last):
File "./manage.py", line 11, in <module>
execute_manager(settings)
File "/media/disk/Projex/AppEngineApp/app/django/core/management/__init__.py", line 438,   
in execute_manager
utility.execute()
File "/media/disk/Projex/AppEngineApp/app/django/core/management/__init__.py", line 379,  
in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File   
"/media/disk/Projex/AppEngineApp/app/djangoappengine/management/commands/runserver.py",  
line 94, in run_from_argv
start_dev_appserver(argv)
File 
"/media/disk/Projex/AppEngineApp/app/djangoappengine/management/commands/runserver.py",   
line 81, in start_dev_appserver
dev_appserver_main.main([progname] + args + [PROJECT_DIR])
File "/usr/local/gaepy/google/appengine/tools/dev_appserver_main.py", line 426, in main
static_caching=static_caching)
File "/usr/local/gaepy/google/appengine/tools/dev_appserver.py", line 3820, in   
CreateServer
server = HTTPServerWithScheduler((serve_address, port), handler_class)
File "/usr/local/gaepy/google/appengine/tools/dev_appserver.py", line 3840, in __init__
request_handler_class)
File "/usr/lib/python2.6/SocketServer.py", line 400, in __init__
self.server_bind()
File "/usr/lib/python2.6/BaseHTTPServer.py", line 108, in server_bind
SocketServer.TCPServer.server_bind(self)
File "/usr/lib/python2.6/SocketServer.py", line 411, in server_bind
self.socket.bind(self.server_address)
File "<string>", line 1, in bind
socket.gaierror: [Errno -5] No address associated with hostname

誰でもこの問題を経験しましたか?

4

2 に答える 2

0

あなたはおそらくすでにこれを解決しましたが、将来のユーザーのために:

警告には複数の原因が考えられます。

エラーはdjangoappengineを更新することで解決できます

于 2011-04-18T17:08:40.537 に答える
0

Google App Engine を最新バージョンに更新します。

于 2011-05-15T04:05:12.177 に答える