Google App Engine and SQLite InternalError: unable to open database file

This is quite an old issue and I’m suppressed that is have not been corrected yet. Maybe windows people do rarely use SQLite stub in dev, but it will change soon since it is becoming a default one.

Apparently the problem root is bad TMP folder resolution case the TMP env variable is being stripped down by the GAE dev server.

The workaround for this is putting this in your app.yaml file:

TMP: C:UsersUSERNAMEAppDataLocalTemp


TMP: ..temp

Kudos to mattbergin


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s