當我試圖改變--datastore_path的參數後,做Model.put()在Eclipse的谷歌Python應用程序=「F:/ tmp目錄/ myapp_datastore」在調試的參數配置。我不知道它是否與上述變化有關,或者是否有幕後的其他魔法。任何幫助。訪問被拒絕在GAE在Eclipse
exception value:[Error 5] Access is denied
UPDATE,添加代碼OP,
一切工作正常從命令提示符 另一個應用程序,但是當我用同樣的日食我獲得以下轉儲
下配在eclipse的控制檯窗口中
ERROR 2009-06-11 10:19:41,312 dev_appserver.py:2906] Exception
encountered handling request
Traceback (most recent call last):
File "F:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 2876, in _HandleRequest
base_env_dict=env_dict)
File "F:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 387, in Dispatch
base_env_dict=base_env_dict)
File "F:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 2163, in Dispatch
self._module_dict)
File "F:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 2081, in ExecuteCGI
reset_modules = exec_script(handler_path, cgi_path, hook)
File "F:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 1979, in ExecuteOrImportScript
script_module.main()
File "F:\eclipse\workspace\checkthis\src\carpoolkaro.py", line 749,
in main
run_wsgi_app(application)
File "F:\Program Files\Google\google_appengine\google\appengine\ext
\webapp\util.py", line 76, in run_wsgi_app
result = application(env, _start_response)
File "F:\Program Files\Google\google_appengine\google\appengine\ext
\webapp\__init__.py", line 517, in __call__
handler.handle_exception(e, self.__debug)
File "F:\Program Files\Google\google_appengine\google\appengine\ext
\webapp\__init__.py", line 384, in handle_exception
self.error(500)
TypeError: 'str' object is not callable
INFO 2009-06-11 10:19:41,312 dev_appserver.py:2935] "POST /suggest
HTTP/1.1" 500 -
這是屏幕轉儲的應用程序在通貨膨脹的瀏覽器窗口
F:\Program Files\Google\google_appengine\google\appengine\ext\webapp
\__init__.py in handle_exception(self=<__main__.SuggestHandler object
at 0x019C0510>, exception=WindowsError(5, 'Access is denied'),
debug_mode=True)
肯定需要更多的細節。 f:/ tmp/myapp_datastore是否存在?它是否可寫? – 2009-06-10 15:26:26
WARNING 2009-06-10 20:19:11,717 datastore_file_stub.py:404]無法讀取來自C:\ DOCUME〜1 \ abc \ LOCALS〜1 \ Temp的數據存儲區數據 從正常的直接訪問命令提示符但問題是隻能在Eclipse環境中。是否集錦做一些事情在日食,因爲它是在此之前的工作呢?不知道。 – dhaval 2009-06-10 16:04:27
是因爲我已經手動創建在同一文件夾hiearchy後來文件的寫變回數據存儲路徑溫度 – dhaval 2009-06-10 16:05:13