Updating module [default]...failed.
ERROR: (gcloud.preview.app.deploy) Error Response: [400] Invalid JSON payload received. Unknown name "_gopath/src/golang.org/x/oauth2/google/google_test.go" at 'version.deployment.files[192]': Repeated map key: '_gopath/src/golang.org/x/oauth2/google/google_test.go' is already set.
Details: [
[
{
"@type": "type.googleapis.com/google.rpc.BadRequest",
"fieldViolations": [
{
"description": "Invalid JSON payload received. Unknown name \"_gopath/src/golang.org/x/oauth2/google/google_test.go\" at 'version.deployment.files[192]': Repeated map key: '_gopath/src/golang.org/x/oauth2/google/google_test.go' is already set.",
"field": "version.deployment.files[192]"
}
]
}
]
]
aedeploy: Error: unable to run "gcloud preview app deploy app.yaml --promote": exit status 1
I tried repeating the aedeploy step many times and always resulted in the same error.
So I deleted all of the content of gs://staging.myprojectid.appspot.com and retried the aedeploy, it failed again, but the next attempt was successful. So I have the bookshelf app now deployed and running on appspot.com
Here is the output of aedeploy when it was successful
opying files to Google Cloud Storage...
Synchronizing files to [gs://staging.iar-apps.appspot.com/].
Updating module [default].../Deleted [https://www.googleapis.com/compute/v1/projects/iar-apps/zones/us-central1-f/instances/gae-builder-vm-20151019t225002].
Updating module [default]...done.
Deployed module [default] to [https://iar-apps.appspot.com]
But then when I tried to redeploy it again using the aedeploy command "aedeploy gcloud preview app deploy app.yaml --promote", I get the same error about the repeated map key.
I am able to run the bookshelf app locally on my machine.
I tried the aedeploy with --promote and --set-default options, but I get the same error.
My go version is go1.5.1 darwin/amd64
Anybody else seen this issue? Any pointers on how to proceed?
Shakeel
--
You received this message because you are subscribed to the Google Groups "google-appengine-go" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine-go+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengin...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "google-appengine-go" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengin...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine-go+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "google-appengine-go" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine-go+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "google-appengine-go" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine-go+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine-go+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "google-appengine-go" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine-go+unsub...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "google-appengine-go" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine-go+unsub...@googlegroups.com.


To unsubscribe from this group and stop receiving emails from it, send an email to google-appengin...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "google-appengine-go" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengin...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "google-appengine-go" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengin...@googlegroups.com.