Issue with Google App Engine SDK Version 1.6.4

Ever since upgrading my GAE SDK to version 1.6.4 my local development datastore will not persist to disk.

I have done some research on this issue and found that the latest version of the dev_appserver does not flush the datastore to disk until it get's a term signal or keyboard interupt. (Source)

It looks like if everything goes according to plan you should get a message stating that it is "Applying all pending transactions and saving the datastore".

I was able to successfully do this by manually launching the dev_appserver and sending a keyboard interupt (screen shot follows):

it_works.PNG

The following is what the debugging console looks like when I terminate the running app from within PyCharm (screen shot follows):

it_doesnt_work.png

It looks like to me that the process is simply being killed. Is is possible to change how PyCharm is terminating this process?

I am running PyCharm 2.5 on Windows 7.

Thanks,

Tom



Attachment(s):
it_works.PNG
it_doesnt_work.png
4 comments
Comment actions Permalink

Incase there is any one else out there running into this same situation, this issue doesn't appear to affect PyCharm running on Linux.

0
Comment actions Permalink

I am experiencing the same issue. At first I thought it was because of the datastore being stored in a temporary folder, but the problem persists (oh irony) when i use a different --datastore_path setting. Did you find a way to fix it?

0
Comment actions Permalink

It appears that this issue was caused by a change in how they handled persisting the datastore to disk in version 1.6.4. This issue only (as far as I can tell) manifested on Windows based systems (it has something to do with how Windows handles SIGTERM).

I think this issue is fixed with version 1.6.5 of the sdk.

0

Please sign in to leave a comment.