Friday, May 15, 2020

Importing lots of data (SQL, etc.) into App Engine Datastore

Create a task queue with Cloud Tasks and a task handler in you app engine app which inserts the items in the database, then run a script on your local machine which reads the database and adds items into the task queue for insertion.

The queue can be configured, so your app engine app can handle the rate of tasks given to it.

Wednesday, May 13, 2020

Solution for ERROR: gcloud crashed (LookupError): unknown encoding: cp65001

I found that in the same command prompt where this worked before, suddenly I get this error.

If I close the command prompt and start a new one then it works again.