Hi, I recommend you to post this question in StackOverflow <https://stackoverflow.com/> as it will have greater visibility and other user might be able to help you.
On Monday, October 12, 2020 at 4:50:17 PM UTC+2 Jagath Weerasinghe wrote: > Unfortunately, not much data shown with the added flags. > > $ gcloud beta emulators datastore start --log-http --verbosity=debug > > DEBUG: Running [gcloud.beta.emulators.datastore.start] with arguments: > [--log-http: "true", --verbosity: "debug"] > > WARNING: Reusing existing data in > [/Users/w/.config/gcloud/emulators/datastore]. > > DEBUG: Found Cloud SDK root: /Users/w/Work/google-cloud/google-cloud-sdk > > Executing: > /Users/w/Work/google-cloud/google-cloud-sdk/platform/cloud-datastore-emulator/cloud_datastore_emulator > > start --host=localhost --port=8081 --store_on_disk=True --consistency=0.9 > --allow_remote_shutdown /Users/w/.config/gcloud/emulators/datastore > > [datastore] Oct 12, 2020 4:44:33 PM > com.google.cloud.datastore.emulator.CloudDatastore$FakeDatastoreAction$9 > apply > > [datastore] INFO: Provided --allow_remote_shutdown to start command which > is no longer necessary. > > [datastore] Oct 12, 2020 4:44:33 PM > com.google.cloud.datastore.emulator.impl.LocalDatastoreFileStub <init> > > [datastore] INFO: Local Datastore initialized: > > [datastore] Type: High Replication > > [datastore] Storage: > /Users/w/.config/gcloud/emulators/datastore/WEB-INF/appengine-generated/local_db.bin > > [datastore] Exiting due to exception: java.lang.IllegalArgumentException: > Extension is for type "proto2.MethodOptions" which does not match message > type "google.protobuf.MethodOptions". > > INFO: Display format: "default" > > On Monday, October 12, 2020 at 2:33:25 PM UTC+2 barrado wrote: > >> Could you retry the command with the --log-http >> <https://cloud.google.com/sdk/gcloud/reference#--log-http> and >> --verbosity=DEBUG >> <https://cloud.google.com/sdk/gcloud/reference#--verbosity> wide flags >> enabled to see if it gives more information about the error? >> >> >> >> On Friday, October 9, 2020 at 12:38:18 PM UTC+2 Jagath Weerasinghe wrote: >> >>> Hello, >>> >>> I tried to start the datastore emulator in my local dev environment >>> (Java 8) and got the following error. Looks to me it happens because of a >>> mismatch of protobuf versions. It would be great if you know of any >>> workaround for this. Thanks. >>> >>> Jagath >>> >>> Cloud SDK Version: 313. >>> OS: macOS >>> >>> $ gcloud beta emulators datastore start >>> >>> Executing: >>> /Users/w/Work/google-cloud/google-cloud-sdk/platform/cloud-datastore-emulator/cloud_datastore_emulator >>> >>> create --project_id=<aaaa> /Users/w/.config/gcloud/emulators/datastore >>> >>> [datastore] Oct 09, 2020 12:28:45 PM >>> com.google.cloud.datastore.emulator.CloudDatastore$CreateAction$1 apply >>> >>> [datastore] INFO: Provided project_id to Cloud Datastore emulator create >>> command, which is no longer necessary. >>> >>> [datastore] Created new Cloud Datastore project in >>> '/Users/w/.config/gcloud/emulators/datastore'. >>> >>> Executing: >>> /Users/w/Work/google-cloud/google-cloud-sdk/platform/cloud-datastore-emulator/cloud_datastore_emulator >>> >>> start --host=localhost --port=8081 --store_on_disk=True --consistency=0.9 >>> --allow_remote_shutdown /Users/w/.config/gcloud/emulators/datastore >>> >>> [datastore] Oct 09, 2020 12:28:45 PM >>> com.google.cloud.datastore.emulator.CloudDatastore$FakeDatastoreAction$9 >>> apply >>> >>> [datastore] INFO: Provided --allow_remote_shutdown to start command >>> which is no longer necessary. >>> >>> [datastore] Oct 09, 2020 12:28:45 PM >>> com.google.cloud.datastore.emulator.impl.LocalDatastoreFileStub <init> >>> >>> [datastore] INFO: Local Datastore initialized: >>> >>> [datastore] Type: High Replication >>> >>> [datastore] Storage: >>> /Users/w/.config/gcloud/emulators/datastore/WEB-INF/appengine-generated/local_db.bin >>> >>> [datastore] *Exiting due to exception: >>> java.lang.IllegalArgumentException: Extension is for type >>> "proto2.MethodOptions" which does not match message type >>> "google.protobuf.MethodOptions".* >>> >>> -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/43cb63d6-6f52-4310-addb-a1917ad4e14an%40googlegroups.com.