Ross Albertson
Ross Albertson

Reputation: 181

How do I use third party versions of appengine?

I am using the github/golang/appengine package in a Go website. I was under the impression I need to use "goapp" in order to use Datastore locally. Fine and dandy. goapp build my code ok, but I keep getting

ERROR    2014-05-10 17:15:18,875 http_runtime.py:262] bad runtime process port ['']

panic: proto: duplicate enum registered: appengine.ModulesServiceError_ErrorCode 

I tried aliasing the appengine packages, and I still get this error. Does anyone know why I am getting this error? Let me know whatever code you need to see.

Upvotes: 0

Views: 291

Answers (1)

dsymonds
dsymonds

Reputation: 857

You are getting that panic because you are mixing traditional App Engine and Managed VMs. You can't do that. The google.golang.org/appengine packages are only for Managed VMs; if you aren't using Managed VMs then you need to stick with importing appengine or appengine/datastore or similar.

Upvotes: 3

Related Questions