Hi All
I am writing an application that uploads a file and then imports the
data in the file to the datastore.
Sometimes it works. But sometimes, when I run it on the development
server, I get this error:
WindowsError: [Error 183] Cannot create a file when that file already
exists
I did a --clear_datastore but it didn't help.
I have not tried uploading it to GAE yet.
Thank you.
G
--
Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\google\appengine\ext
\webapp\__init__.py", line 501, in __call__
handler.post(*groups)
File "c:\fx001\fxaddress.py", line 426, in post
fxbook.put()
File "C:\Program Files\Google\google_appengine\google\appengine\ext
\db\__init__.py", line 618, in put
return datastore.Put(self._entity)
File "C:\Program Files\Google\google_appengine\google\appengine\api
\datastore.py", line 160, in Put
apiproxy_stub_map.MakeSyncCall('datastore_v3', 'Put', req, resp)
File "C:\Program Files\Google\google_appengine\google\appengine\api
\apiproxy_stub_map.py", line 46, in MakeSyncCall
stub.MakeSyncCall(service, call, request, response)
File "C:\Program Files\Google\google_appengine\google\appengine\api
\datastore_file_stub.py", line 305, in MakeSyncCall
(getattr(self, "_Dynamic_" + call))(request, response)
File "C:\Program Files\Google\google_appengine\google\appengine\api
\datastore_file_stub.py", line 353, in _Dynamic_Put
self.__WriteDatastore()
File "C:\Program Files\Google\google_appengine\google\appengine\api
\datastore_file_stub.py", line 239, in __WriteDatastore
self.__WritePickled(encoded, self.__datastore_file)
File "C:\Program Files\Google\google_appengine\google\appengine\api
\datastore_file_stub.py", line 291, in __WritePickled
os.rename(tmpfile.name, filename)
WindowsError: [Error 183] Cannot create a file when that file already
exists
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---