text:
getting  java.lang.NoSuchMethodError: 'com.google.api.gax.core.GoogleCredentialsProvider

my  google ads version com.google.api-ads:google-ads:24.0.0
I'm getting this error
Caused by: java.lang.NoSuchMethodError: 'com.google.api.gax.core.GoogleCredentialsProvider$Builder com.google.api.gax.core.GoogleCredentialsProvider$Builder.setUseJwtAccessWithScope(boolean)'

Hi,
That error suggests you have some dependency conflicts with the Google Ads API library. Could you check if your project is overriding the version of any dependency of the library as follows?
For Maven:
mvn dependency:tree
For Gradle:
./gradlew dependencies
Thanks,
Josh, Google Ads API Team

+--- org.projectlombok:lombok:1.18.20
+--- org.springframework.boot:spring-boot-starter-web -> 2.3.3.RELEASE
|    +--- org.springframework.boot:spring-boot-starter:2.3.3.RELEASE
|    |    +--- org.springframework.boot:spring-boot:2.3.3.RELEASE
|    |    |    +--- org.springframework:spring-core:5.2.8.RELEASE
|    |    |    |    --- org.springframework:spring-jcl:5.2.8.RELEASE
|    |    |    --- org.springframework:spring-context:5.2.8.RELEASE
|    |    |         +--- org.springframework:spring-aop:5.2.8.RELEASE
|    |    |         |    +--- org.springframework:spring-beans:5.2.8.RELEASE
|    |    |         |    |    --- org.springframework:spring-core:5.2.8.RELEASE ()
|    |    |         |    --- org.springframework:spring-core:5.2.8.RELEASE ()
|    |    |         +--- org.springframework:spring-beans:5.2.8.RELEASE ()
|    |    |         +--- org.springframework:spring-core:5.2.8.RELEASE ()
|    |    |         --- org.springframework:spring-expression:5.2.8.RELEASE
|    |    |              --- org.springframework:spring-core:5.2.8.RELEASE ()
|    |    +--- org.springframework.boot:spring-boot-autoconfigure:2.3.3.RELEASE
|    |    |    --- org.springframework.boot:spring-boot:2.3.3.RELEASE ()
|    |    +--- org.springframework.boot:spring-boot-starter-logging:2.3.3.RELEASE
|    |    |    +--- ch.qos.logback:logback-classic:1.2.3
|    |    |    |    +--- ch.qos.logback:logback-core:1.2.3
|    |    |    |    --- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
|    |    |    +--- org.apache.logging.log4j:log4j-to-slf4j:2.13.3
|    |    |    |    +--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
|    |    |    |    --- org.apache.logging.log4j:log4j-api:2.13.3
|    |    |    --- org.slf4j:jul-to-slf4j:1.7.30
|    |    |         --- org.slf4j:slf4j-api:1.7.30
|    |    +--- jakarta.annotation:jakarta.annotation-api:1.3.5
|    |    +--- org.springframework:spring-core:5.2.8.RELEASE ()
|    |    --- org.yaml:snakeyaml:1.26
|    +--- org.springframework.boot:spring-boot-starter-json:2.3.3.RELEASE
|    |    +--- org.springframework.boot:spring-boot-starter:2.3.3.RELEASE ()
|    |    +--- org.springframework:spring-web:5.2.8.RELEASE
|    |    |    +--- org.springframework:spring-beans:5.2.8.RELEASE ()
|    |    |    --- org.springframework:spring-core:5.2.8.RELEASE ()
|    |    +--- com.fasterxml.jackson.core:jackson-databind:2.11.2
|    |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.11.2
|    |    |    --- com.fasterxml.jackson.core:jackson-core:2.11.2
|    |    +--- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.11.2
|    |    |    +--- com.fasterxml.jackson.core:jackson-core:2.11.2
|    |    |    --- com.fasterxml.jackson.core:jackson-databind:2.11.2 ()
|    |    +--- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.2
|    |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.11.2
|    |    |    +--- com.fasterxml.jackson.core:jackson-core:2.11.2
|    |    |    --- com.fasterxml.jackson.core:jackson-databind:2.11.2 ()
|    |    --- com.fasterxml.jackson.module:jackson-module-parameter-names:2.11.2
|    |         +--- com.fasterxml.jackson.core:jackson-core:2.11.2
|    |         --- com.fasterxml.jackson.core:jackson-databind:2.11.2 ()
|    +--- org.springframework.boot:spring-boot-starter-tomcat:2.3.3.RELEASE
|    |    +--- jakarta.annotation:jakarta.annotation-api:1.3.5
|    |    +--- org.apache.tomcat.embed:tomcat-embed-core:9.0.37
|    |    +--- org.glassfish:jakarta.el:3.0.3
|    |    --- org.apache.tomcat.embed:tomcat-embed-websocket:9.0.37
|    |         --- org.apache.tomcat.embed:tomcat-embed-core:9.0.37
|    +--- org.springframework:spring-web:5.2.8.RELEASE ()
|    --- org.springframework:spring-webmvc:5.2.8.RELEASE
|         +--- org.springframework:spring-aop:5.2.8.RELEASE ()
|         +--- org.springframework:spring-beans:5.2.8.RELEASE ()
|         +--- org.springframework:spring-context:5.2.8.RELEASE ()
|         +--- org.springframework:spring-core:5.2.8.RELEASE ()
|         +--- org.springframework:spring-expression:5.2.8.RELEASE ()
|         --- org.springframework:spring-web:5.2.8.RELEASE ()
+--- com.jayway.jsonpath:json-path:2.4.0
|    +--- net.minidev:json-smart:2.3
|    |    --- net.minidev:accessors-smart:1.2
|    |         --- org.ow2.asm:asm:5.0.4
|    --- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
+--- org.jboss.logging:jboss-logging:3.3.2.Final
+--- javax.validation:validation-api:2.0.1.Final
+--- io.springfox:springfox-swagger2:2.9.2
|    +--- io.swagger:swagger-annotations:1.5.20
|    +--- io.swagger:swagger-models:1.5.20
|    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.9.5 -> 2.11.2
|    |    +--- org.slf4j:slf4j-api:1.7.22 -> 1.7.30
|    |    --- io.swagger:swagger-annotations:1.5.20
|    +--- io.springfox:springfox-spi:2.9.2
|    |    --- io.springfox:springfox-core:2.9.2
|    |         +--- net.bytebuddy:byte-buddy:1.8.12 -> 1.10.14
|    |         +--- com.google.guava:guava:20.0 -> 31.1-jre
|    |         |    +--- com.google.guava:failureaccess:1.0.1
|    |         |    +--- com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava
|    |         |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |         |    +--- org.checkerframework:checker-qual:3.12.0 -> 3.29.0
|    |         |    +--- com.google.errorprone:error_prone_annotations:2.11.0 -> 2.18.0
|    |         |    --- com.google.j2objc:j2objc-annotations:1.3
|    |         +--- com.fasterxml:classmate:1.4.0 -> 1.5.1
|    |         +--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
|    |         +--- org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE
|    |         |    +--- org.springframework:spring-beans:4.0.9.RELEASE -> 5.2.8.RELEASE ()
|    |         |    +--- org.springframework:spring-context:4.0.9.RELEASE -> 5.2.8.RELEASE ()
|    |         |    +--- org.springframework:spring-aop:4.0.9.RELEASE -> 5.2.8.RELEASE ()
|    |         |    --- org.slf4j:slf4j-api:1.7.10 -> 1.7.30
|    |         --- org.springframework.plugin:spring-plugin-metadata:1.2.0.RELEASE
|    |              +--- org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE ()
|    |              --- org.slf4j:slf4j-api:1.7.10 -> 1.7.30
|    +--- io.springfox:springfox-schema:2.9.2
|    |    +--- io.springfox:springfox-core:2.9.2 ()
|    |    --- io.springfox:springfox-spi:2.9.2 ()
|    +--- io.springfox:springfox-swagger-common:2.9.2
|    |    +--- io.swagger:swagger-annotations:1.5.20
|    |    +--- io.swagger:swagger-models:1.5.20 ()
|    |    +--- io.springfox:springfox-spi:2.9.2 ()
|    |    +--- io.springfox:springfox-schema:2.9.2 ()
|    |    +--- io.springfox:springfox-spring-web:2.9.2
|    |    |    +--- com.google.guava:guava:20.0 -> 31.1-jre ()
|    |    |    +--- com.fasterxml:classmate:1.4.0 -> 1.5.1
|    |    |    +--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
|    |    |    +--- org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE ()
|    |    |    +--- org.springframework.plugin:spring-plugin-metadata:1.2.0.RELEASE ()
|    |    |    --- io.springfox:springfox-spi:2.9.2 ()
|    |    +--- com.google.guava:guava:20.0 -> 31.1-jre ()
|    |    +--- com.fasterxml:classmate:1.4.0 -> 1.5.1
|    |    +--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
|    |    +--- org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE ()
|    |    --- org.springframework.plugin:spring-plugin-metadata:1.2.0.RELEASE ()
|    +--- io.springfox:springfox-spring-web:2.9.2 ()
|    +--- com.google.guava:guava:20.0 -> 31.1-jre ()
|    +--- com.fasterxml:classmate:1.4.0 -> 1.5.1
|    +--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
|    +--- org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE ()
|    +--- org.springframework.plugin:spring-plugin-metadata:1.2.0.RELEASE ()
|    --- org.mapstruct:mapstruct:1.2.0.Final
+--- io.springfox:springfox-swagger-ui:2.9.2
|    --- io.springfox:springfox-spring-web:2.9.2 ()
+--- org.apache.httpcomponents:httpclient:4.5.2
|    +--- org.apache.httpcomponents:httpcore:4.4.4 -> 4.4.13
|    --- commons-codec:commons-codec:1.9 -> 1.14
+--- org.springframework.cloud:spring-cloud-starter-openfeign -> 2.2.0.RELEASE
|    +--- org.springframework.cloud:spring-cloud-starter:2.2.0.RELEASE
|    |    +--- org.springframework.boot:spring-boot-starter:2.2.1.RELEASE -> 2.3.3.RELEASE ()
|    |    +--- org.springframework.cloud:spring-cloud-context:2.2.0.RELEASE
|    |    |    --- org.springframework.security:spring-security-crypto:5.2.1.RELEASE -> 5.3.4.RELEASE
|    |    +--- org.springframework.cloud:spring-cloud-commons:2.2.0.RELEASE
|    |    |    --- org.springframework.security:spring-security-crypto:5.2.1.RELEASE -> 5.3.4.RELEASE
|    |    --- org.springframework.security:spring-security-rsa:1.0.7.RELEASE
|    |         --- org.bouncycastle:bcpkix-jdk15on:1.60
|    |              --- org.bouncycastle:bcprov-jdk15on:1.60
|    +--- org.springframework.cloud:spring-cloud-openfeign-core:2.2.0.RELEASE
|    |    +--- org.springframework.boot:spring-boot-autoconfigure:2.2.1.RELEASE -> 2.3.3.RELEASE ()
|    |    +--- org.springframework.cloud:spring-cloud-netflix-ribbon:2.2.0.RELEASE
|    |    |    --- org.springframework.cloud:spring-cloud-netflix-archaius:2.2.0.RELEASE
|    |    +--- org.springframework.boot:spring-boot-starter-aop:2.2.1.RELEASE -> 2.3.3.RELEASE
|    |    |    +--- org.springframework.boot:spring-boot-starter:2.3.3.RELEASE ()
|    |    |    +--- org.springframework:spring-aop:5.2.8.RELEASE ()
|    |    |    --- org.aspectj:aspectjweaver:1.9.6
|    |    --- io.github.openfeign.form:feign-form-spring:3.8.0
|    |         +--- io.github.openfeign.form:feign-form:3.8.0
|    |         |    --- org.slf4j:slf4j-api:1.7.26 -> 1.7.30
|    |         +--- org.springframework:spring-web:5.1.5.RELEASE -> 5.2.8.RELEASE ()
|    |         +--- commons-fileupload:commons-fileupload:1.4
|    |         |    --- commons-io:commons-io:2.2
|    |         --- org.slf4j:slf4j-api:1.7.26 -> 1.7.30
|    +--- org.springframework:spring-web:5.2.1.RELEASE -> 5.2.8.RELEASE ()
|    +--- org.springframework.cloud:spring-cloud-commons:2.2.0.RELEASE ()
|    +--- io.github.openfeign:feign-core:10.4.0
|    +--- io.github.openfeign:feign-slf4j:10.4.0
|    |    +--- io.github.openfeign:feign-core:10.4.0
|    |    --- org.slf4j:slf4j-api:1.7.13 -> 1.7.30
|    +--- io.github.openfeign:feign-hystrix:10.4.0
|    |    +--- io.github.openfeign:feign-core:10.4.0
|    |    +--- com.netflix.archaius:archaius-core:0.7.6
|    |    --- com.netflix.hystrix:hystrix-core:1.5.18
|    |         +--- com.netflix.archaius:archaius-core:0.4.1 -> 0.7.6
|    |         +--- io.reactivex:rxjava:1.2.0 -> 1.3.8
|    |         --- org.hdrhistogram:HdrHistogram:2.1.9 -> 2.1.12
|    --- io.github.openfeign:feign-java8:10.4.0
|         --- io.github.openfeign:feign-core:10.4.0
+--- org.modelmapper:modelmapper:2.3.4
+--- com.googlecode.json-simple:json-simple:1.1
+--- com.google.api-ads:google-ads:24.0.0
|    +--- com.google.api:gax -> 2.10.0
|    |    +--- com.google.api:api-common:2.1.2 -> 1.8.1
|    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    +--- com.google.guava:guava:26.0-android -> 31.1-jre ()
|    |    |    --- javax.annotation:javax.annotation-api:1.3.2
|    |    +--- com.google.auth:google-auth-library-credentials:1.2.1 -> 1.14.0
|    |    --- org.threeten:threetenbp:1.5.0 -> 1.6.5
|    +--- com.google.api:gax-grpc -> 1.49.1
|    |    +--- com.google.api:gax:1.49.1 -> 2.10.0 ()
|    |    +--- io.grpc:grpc-stub:1.23.0 -> 1.52.1
|    |    |    +--- io.grpc:grpc-api:1.52.1
|    |    |    |    +--- io.grpc:grpc-context:1.52.1
|    |    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    |    --- com.google.errorprone:error_prone_annotations:2.14.0 -> 2.18.0
|    |    |    --- com.google.guava:guava:31.1-android -> 31.1-jre ()
|    |    +--- io.grpc:grpc-auth:1.23.0 -> 1.52.1
|    |    |    +--- io.grpc:grpc-api:1.52.1 ()
|    |    |    --- com.google.auth:google-auth-library-credentials:1.4.0 -> 1.14.0
|    |    +--- io.grpc:grpc-protobuf:1.23.0 -> 1.52.1
|    |    |    +--- io.grpc:grpc-api:1.52.1 ()
|    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    +--- com.google.protobuf:protobuf-java:3.21.7 -> 3.21.12
|    |    |    +--- com.google.api.grpc:proto-google-common-protos:2.9.0 -> 1.17.0
|    |    |    |    --- com.google.protobuf:protobuf-java:3.7.1 -> 3.21.12
|    |    |    --- io.grpc:grpc-protobuf-lite:1.52.1
|    |    |         --- io.grpc:grpc-api:1.52.1 ()
|    |    +--- com.google.guava:guava:28.1-android -> 31.1-jre ()
|    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    +--- org.threeten:threetenbp:1.3.3 -> 1.6.5
|    |    +--- com.google.auth:google-auth-library-oauth2-http:0.18.0
|    |    |    +--- com.google.auto.value:auto-value-annotations:1.6.6 -> 1.10.1
|    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    +--- com.google.auth:google-auth-library-credentials:0.18.0 -> 1.14.0
|    |    |    +--- com.google.http-client:google-http-client:1.32.1 -> 1.42.3
|    |    |    |    +--- org.apache.httpcomponents:httpclient:4.5.13 -> 4.5.2 ()
|    |    |    |    +--- org.apache.httpcomponents:httpcore:4.4.15 -> 4.4.13
|    |    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    |    +--- com.google.errorprone:error_prone_annotations:2.16 -> 2.18.0
|    |    |    |    +--- com.google.guava:guava:30.1.1-android -> 31.1-jre ()
|    |    |    |    +--- com.google.j2objc:j2objc-annotations:1.3
|    |    |    |    +--- io.opencensus:opencensus-api:0.31.1
|    |    |    |    |    --- io.grpc:grpc-context:1.27.2 -> 1.52.1
|    |    |    |    --- io.opencensus:opencensus-contrib-http-util:0.31.1
|    |    |    |         +--- io.opencensus:opencensus-api:0.31.1 ()
|    |    |    |         --- com.google.guava:guava:29.0-android -> 31.1-jre ()
|    |    |    +--- com.google.http-client:google-http-client-jackson2:1.32.1 -> 1.42.3
|    |    |    |    +--- com.google.http-client:google-http-client:1.42.3 ()
|    |    |    |    --- com.fasterxml.jackson.core:jackson-core:2.13.4 -> 2.11.2
|    |    |    --- com.google.guava:guava:28.1-android -> 31.1-jre ()
|    |    +--- com.google.auth:google-auth-library-credentials:0.18.0 -> 1.14.0
|    |    +--- com.google.api.grpc:proto-google-common-protos:1.15.0 -> 1.17.0 ()
|    |    +--- com.google.api:api-common:1.8.1 ()
|    |    +--- io.grpc:grpc-netty-shaded:1.23.0 -> 1.52.1
|    |    |    --- io.grpc:grpc-core:1.52.1
|    |    |         --- io.grpc:grpc-api:1.52.1 ()
|    |    --- io.grpc:grpc-alts:1.23.0 -> 1.52.1
|    |         +--- io.grpc:grpc-auth:1.52.1 ()
|    |         +--- io.grpc:grpc-grpclb:1.52.1
|    |         +--- io.grpc:grpc-protobuf:1.52.1 ()
|    |         +--- io.grpc:grpc-stub:1.52.1 ()
|    |         +--- com.google.protobuf:protobuf-java:3.21.7 -> 3.21.12
|    |         +--- org.conscrypt:conscrypt-openjdk-uber:2.5.2
|    |         +--- com.google.guava:guava:31.1-android -> 31.1-jre ()
|    |         +--- com.google.auth:google-auth-library-oauth2-http:1.4.0 -> 0.18.0 ()
|    |         --- io.grpc:grpc-netty-shaded:1.52.1 ()

Hi,
That error suggests you have some dependency conflicts with the Google Ads API library. Could you check if your project is overriding the version of any dependency of the library as follows?
For Maven:
mvn dependency:tree
For Gradle:
./gradlew dependencies
Thanks, Josh, Google Ads API Team

+--- org.projectlombok:lombok:1.18.20
+--- org.springframework.boot:spring-boot-starter-web -> 2.3.3.RELEASE
|    +--- org.springframework.boot:spring-boot-starter:2.3.3.RELEASE
|    |    +--- org.springframework.boot:spring-boot:2.3.3.RELEASE
|    |    |    +--- org.springframework:spring-core:5.2.8.RELEASE
|    |    |    |    --- org.springframework:spring-jcl:5.2.8.RELEASE
|    |    |    --- org.springframework:spring-context:5.2.8.RELEASE
|    |    |         +--- org.springframework:spring-aop:5.2.8.RELEASE
|    |    |         |    +--- org.springframework:spring-beans:5.2.8.RELEASE
|    |    |         |    |    --- org.springframework:spring-core:5.2.8.RELEASE ()
|    |    |         |    --- org.springframework:spring-core:5.2.8.RELEASE ()
|    |    |         +--- org.springframework:spring-beans:5.2.8.RELEASE ()
|    |    |         +--- org.springframework:spring-core:5.2.8.RELEASE ()
|    |    |         --- org.springframework:spring-expression:5.2.8.RELEASE
|    |    |              --- org.springframework:spring-core:5.2.8.RELEASE ()
|    |    +--- org.springframework.boot:spring-boot-autoconfigure:2.3.3.RELEASE
|    |    |    --- org.springframework.boot:spring-boot:2.3.3.RELEASE ()
|    |    +--- org.springframework.boot:spring-boot-starter-logging:2.3.3.RELEASE
|    |    |    +--- ch.qos.logback:logback-classic:1.2.3
|    |    |    |    +--- ch.qos.logback:logback-core:1.2.3
|    |    |    |    --- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
|    |    |    +--- org.apache.logging.log4j:log4j-to-slf4j:2.13.3
|    |    |    |    +--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
|    |    |    |    --- org.apache.logging.log4j:log4j-api:2.13.3
|    |    |    --- org.slf4j:jul-to-slf4j:1.7.30
|    |    |         --- org.slf4j:slf4j-api:1.7.30
|    |    +--- jakarta.annotation:jakarta.annotation-api:1.3.5
|    |    +--- org.springframework:spring-core:5.2.8.RELEASE ()
|    |    --- org.yaml:snakeyaml:1.26
|    +--- org.springframework.boot:spring-boot-starter-json:2.3.3.RELEASE
|    |    +--- org.springframework.boot:spring-boot-starter:2.3.3.RELEASE ()
|    |    +--- org.springframework:spring-web:5.2.8.RELEASE
|    |    |    +--- org.springframework:spring-beans:5.2.8.RELEASE ()
|    |    |    --- org.springframework:spring-core:5.2.8.RELEASE ()
|    |    +--- com.fasterxml.jackson.core:jackson-databind:2.11.2
|    |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.11.2
|    |    |    --- com.fasterxml.jackson.core:jackson-core:2.11.2
|    |    +--- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.11.2
|    |    |    +--- com.fasterxml.jackson.core:jackson-core:2.11.2
|    |    |    --- com.fasterxml.jackson.core:jackson-databind:2.11.2 ()
|    |    +--- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.11.2
|    |    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.11.2
|    |    |    +--- com.fasterxml.jackson.core:jackson-core:2.11.2
|    |    |    --- com.fasterxml.jackson.core:jackson-databind:2.11.2 ()
|    |    --- com.fasterxml.jackson.module:jackson-module-parameter-names:2.11.2
|    |         +--- com.fasterxml.jackson.core:jackson-core:2.11.2
|    |         --- com.fasterxml.jackson.core:jackson-databind:2.11.2 ()
|    +--- org.springframework.boot:spring-boot-starter-tomcat:2.3.3.RELEASE
|    |    +--- jakarta.annotation:jakarta.annotation-api:1.3.5
|    |    +--- org.apache.tomcat.embed:tomcat-embed-core:9.0.37
|    |    +--- org.glassfish:jakarta.el:3.0.3
|    |    --- org.apache.tomcat.embed:tomcat-embed-websocket:9.0.37
|    |         --- org.apache.tomcat.embed:tomcat-embed-core:9.0.37
|    +--- org.springframework:spring-web:5.2.8.RELEASE ()
|    --- org.springframework:spring-webmvc:5.2.8.RELEASE
|         +--- org.springframework:spring-aop:5.2.8.RELEASE ()
|         +--- org.springframework:spring-beans:5.2.8.RELEASE ()
|         +--- org.springframework:spring-context:5.2.8.RELEASE ()
|         +--- org.springframework:spring-core:5.2.8.RELEASE ()
|         +--- org.springframework:spring-expression:5.2.8.RELEASE ()
|         --- org.springframework:spring-web:5.2.8.RELEASE ()
+--- com.jayway.jsonpath:json-path:2.4.0
|    +--- net.minidev:json-smart:2.3
|    |    --- net.minidev:accessors-smart:1.2
|    |         --- org.ow2.asm:asm:5.0.4
|    --- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
+--- org.jboss.logging:jboss-logging:3.3.2.Final
+--- javax.validation:validation-api:2.0.1.Final
+--- io.springfox:springfox-swagger2:2.9.2
|    +--- io.swagger:swagger-annotations:1.5.20
|    +--- io.swagger:swagger-models:1.5.20
|    |    +--- com.fasterxml.jackson.core:jackson-annotations:2.9.5 -> 2.11.2
|    |    +--- org.slf4j:slf4j-api:1.7.22 -> 1.7.30
|    |    --- io.swagger:swagger-annotations:1.5.20
|    +--- io.springfox:springfox-spi:2.9.2
|    |    --- io.springfox:springfox-core:2.9.2
|    |         +--- net.bytebuddy:byte-buddy:1.8.12 -> 1.10.14
|    |         +--- com.google.guava:guava:20.0 -> 31.1-jre
|    |         |    +--- com.google.guava:failureaccess:1.0.1
|    |         |    +--- com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava
|    |         |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |         |    +--- org.checkerframework:checker-qual:3.12.0 -> 3.29.0
|    |         |    +--- com.google.errorprone:error_prone_annotations:2.11.0 -> 2.18.0
|    |         |    --- com.google.j2objc:j2objc-annotations:1.3
|    |         +--- com.fasterxml:classmate:1.4.0 -> 1.5.1
|    |         +--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
|    |         +--- org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE
|    |         |    +--- org.springframework:spring-beans:4.0.9.RELEASE -> 5.2.8.RELEASE ()
|    |         |    +--- org.springframework:spring-context:4.0.9.RELEASE -> 5.2.8.RELEASE ()
|    |         |    +--- org.springframework:spring-aop:4.0.9.RELEASE -> 5.2.8.RELEASE ()
|    |         |    --- org.slf4j:slf4j-api:1.7.10 -> 1.7.30
|    |         --- org.springframework.plugin:spring-plugin-metadata:1.2.0.RELEASE
|    |              +--- org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE ()
|    |              --- org.slf4j:slf4j-api:1.7.10 -> 1.7.30
|    +--- io.springfox:springfox-schema:2.9.2
|    |    +--- io.springfox:springfox-core:2.9.2 ()
|    |    --- io.springfox:springfox-spi:2.9.2 ()
|    +--- io.springfox:springfox-swagger-common:2.9.2
|    |    +--- io.swagger:swagger-annotations:1.5.20
|    |    +--- io.swagger:swagger-models:1.5.20 ()
|    |    +--- io.springfox:springfox-spi:2.9.2 ()
|    |    +--- io.springfox:springfox-schema:2.9.2 ()
|    |    +--- io.springfox:springfox-spring-web:2.9.2
|    |    |    +--- com.google.guava:guava:20.0 -> 31.1-jre ()
|    |    |    +--- com.fasterxml:classmate:1.4.0 -> 1.5.1
|    |    |    +--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
|    |    |    +--- org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE ()
|    |    |    +--- org.springframework.plugin:spring-plugin-metadata:1.2.0.RELEASE ()
|    |    |    --- io.springfox:springfox-spi:2.9.2 ()
|    |    +--- com.google.guava:guava:20.0 -> 31.1-jre ()
|    |    +--- com.fasterxml:classmate:1.4.0 -> 1.5.1
|    |    +--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
|    |    +--- org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE ()
|    |    --- org.springframework.plugin:spring-plugin-metadata:1.2.0.RELEASE ()
|    +--- io.springfox:springfox-spring-web:2.9.2 ()
|    +--- com.google.guava:guava:20.0 -> 31.1-jre ()
|    +--- com.fasterxml:classmate:1.4.0 -> 1.5.1
|    +--- org.slf4j:slf4j-api:1.7.25 -> 1.7.30
|    +--- org.springframework.plugin:spring-plugin-core:1.2.0.RELEASE ()
|    +--- org.springframework.plugin:spring-plugin-metadata:1.2.0.RELEASE ()
|    --- org.mapstruct:mapstruct:1.2.0.Final
+--- io.springfox:springfox-swagger-ui:2.9.2
|    --- io.springfox:springfox-spring-web:2.9.2 ()
+--- org.apache.httpcomponents:httpclient:4.5.2
|    +--- org.apache.httpcomponents:httpcore:4.4.4 -> 4.4.13
|    --- commons-codec:commons-codec:1.9 -> 1.14
+--- org.springframework.cloud:spring-cloud-starter-openfeign -> 2.2.0.RELEASE
|    +--- org.springframework.cloud:spring-cloud-starter:2.2.0.RELEASE
|    |    +--- org.springframework.boot:spring-boot-starter:2.2.1.RELEASE -> 2.3.3.RELEASE ()
|    |    +--- org.springframework.cloud:spring-cloud-context:2.2.0.RELEASE
|    |    |    --- org.springframework.security:spring-security-crypto:5.2.1.RELEASE -> 5.3.4.RELEASE
|    |    +--- org.springframework.cloud:spring-cloud-commons:2.2.0.RELEASE
|    |    |    --- org.springframework.security:spring-security-crypto:5.2.1.RELEASE -> 5.3.4.RELEASE
|    |    --- org.springframework.security:spring-security-rsa:1.0.7.RELEASE
|    |         --- org.bouncycastle:bcpkix-jdk15on:1.60
|    |              --- org.bouncycastle:bcprov-jdk15on:1.60
|    +--- org.springframework.cloud:spring-cloud-openfeign-core:2.2.0.RELEASE
|    |    +--- org.springframework.boot:spring-boot-autoconfigure:2.2.1.RELEASE -> 2.3.3.RELEASE ()
|    |    +--- org.springframework.cloud:spring-cloud-netflix-ribbon:2.2.0.RELEASE
|    |    |    --- org.springframework.cloud:spring-cloud-netflix-archaius:2.2.0.RELEASE
|    |    +--- org.springframework.boot:spring-boot-starter-aop:2.2.1.RELEASE -> 2.3.3.RELEASE
|    |    |    +--- org.springframework.boot:spring-boot-starter:2.3.3.RELEASE ()
|    |    |    +--- org.springframework:spring-aop:5.2.8.RELEASE ()
|    |    |    --- org.aspectj:aspectjweaver:1.9.6
|    |    --- io.github.openfeign.form:feign-form-spring:3.8.0
|    |         +--- io.github.openfeign.form:feign-form:3.8.0
|    |         |    --- org.slf4j:slf4j-api:1.7.26 -> 1.7.30
|    |         +--- org.springframework:spring-web:5.1.5.RELEASE -> 5.2.8.RELEASE ()
|    |         +--- commons-fileupload:commons-fileupload:1.4
|    |         |    --- commons-io:commons-io:2.2
|    |         --- org.slf4j:slf4j-api:1.7.26 -> 1.7.30
|    +--- org.springframework:spring-web:5.2.1.RELEASE -> 5.2.8.RELEASE ()
|    +--- org.springframework.cloud:spring-cloud-commons:2.2.0.RELEASE ()
|    +--- io.github.openfeign:feign-core:10.4.0
|    +--- io.github.openfeign:feign-slf4j:10.4.0
|    |    +--- io.github.openfeign:feign-core:10.4.0
|    |    --- org.slf4j:slf4j-api:1.7.13 -> 1.7.30
|    +--- io.github.openfeign:feign-hystrix:10.4.0
|    |    +--- io.github.openfeign:feign-core:10.4.0
|    |    +--- com.netflix.archaius:archaius-core:0.7.6
|    |    --- com.netflix.hystrix:hystrix-core:1.5.18
|    |         +--- com.netflix.archaius:archaius-core:0.4.1 -> 0.7.6
|    |         +--- io.reactivex:rxjava:1.2.0 -> 1.3.8
|    |         --- org.hdrhistogram:HdrHistogram:2.1.9 -> 2.1.12
|    --- io.github.openfeign:feign-java8:10.4.0
|         --- io.github.openfeign:feign-core:10.4.0
+--- org.modelmapper:modelmapper:2.3.4
+--- com.googlecode.json-simple:json-simple:1.1
+--- com.google.api-ads:google-ads:24.0.0
|    +--- com.google.api:gax -> 2.10.0
|    |    +--- com.google.api:api-common:2.1.2 -> 1.8.1
|    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    +--- com.google.guava:guava:26.0-android -> 31.1-jre ()
|    |    |    --- javax.annotation:javax.annotation-api:1.3.2
|    |    +--- com.google.auth:google-auth-library-credentials:1.2.1 -> 1.14.0
|    |    --- org.threeten:threetenbp:1.5.0 -> 1.6.5
|    +--- com.google.api:gax-grpc -> 1.49.1
|    |    +--- com.google.api:gax:1.49.1 -> 2.10.0 ()
|    |    +--- io.grpc:grpc-stub:1.23.0 -> 1.52.1
|    |    |    +--- io.grpc:grpc-api:1.52.1
|    |    |    |    +--- io.grpc:grpc-context:1.52.1
|    |    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    |    --- com.google.errorprone:error_prone_annotations:2.14.0 -> 2.18.0
|    |    |    --- com.google.guava:guava:31.1-android -> 31.1-jre ()
|    |    +--- io.grpc:grpc-auth:1.23.0 -> 1.52.1
|    |    |    +--- io.grpc:grpc-api:1.52.1 ()
|    |    |    --- com.google.auth:google-auth-library-credentials:1.4.0 -> 1.14.0
|    |    +--- io.grpc:grpc-protobuf:1.23.0 -> 1.52.1
|    |    |    +--- io.grpc:grpc-api:1.52.1 ()
|    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    +--- com.google.protobuf:protobuf-java:3.21.7 -> 3.21.12
|    |    |    +--- com.google.api.grpc:proto-google-common-protos:2.9.0 -> 1.17.0
|    |    |    |    --- com.google.protobuf:protobuf-java:3.7.1 -> 3.21.12
|    |    |    --- io.grpc:grpc-protobuf-lite:1.52.1
|    |    |         --- io.grpc:grpc-api:1.52.1 ()
|    |    +--- com.google.guava:guava:28.1-android -> 31.1-jre ()
|    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    +--- org.threeten:threetenbp:1.3.3 -> 1.6.5
|    |    +--- com.google.auth:google-auth-library-oauth2-http:0.18.0
|    |    |    +--- com.google.auto.value:auto-value-annotations:1.6.6 -> 1.10.1
|    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    +--- com.google.auth:google-auth-library-credentials:0.18.0 -> 1.14.0
|    |    |    +--- com.google.http-client:google-http-client:1.32.1 -> 1.42.3
|    |    |    |    +--- org.apache.httpcomponents:httpclient:4.5.13 -> 4.5.2 ()
|    |    |    |    +--- org.apache.httpcomponents:httpcore:4.4.15 -> 4.4.13
|    |    |    |    +--- com.google.code.findbugs:jsr305:3.0.2
|    |    |    |    +--- com.google.errorprone:error_prone_annotations:2.16 -> 2.18.0
|    |    |    |    +--- com.google.guava:guava:30.1.1-android -> 31.1-jre ()
|    |    |    |    +--- com.google.j2objc:j2objc-annotations:1.3
|    |    |    |    +--- io.opencensus:opencensus-api:0.31.1
|    |    |    |    |    --- io.grpc:grpc-context:1.27.2 -> 1.52.1
|    |    |    |    --- io.opencensus:opencensus-contrib-http-util:0.31.1
|    |    |    |         +--- io.opencensus:opencensus-api:0.31.1 ()
|    |    |    |         --- com.google.guava:guava:29.0-android -> 31.1-jre ()
|    |    |    +--- com.google.http-client:google-http-client-jackson2:1.32.1 -> 1.42.3
|    |    |    |    +--- com.google.http-client:google-http-client:1.42.3 ()
|    |    |    |    --- com.fasterxml.jackson.core:jackson-core:2.13.4 -> 2.11.2
|    |    |    --- com.google.guava:guava:28.1-android -> 31.1-jre ()
|    |    +--- com.google.auth:google-auth-library-credentials:0.18.0 -> 1.14.0
|    |    +--- com.google.api.grpc:proto-google-common-protos:1.15.0 -> 1.17.0 ()
|    |    +--- com.google.api:api-common:1.8.1 ()
|    |    +--- io.grpc:grpc-netty-shaded:1.23.0 -> 1.52.1
|    |    |    --- io.grpc:grpc-core:1.52.1
|    |    |         --- io.grpc:grpc-api:1.52.1 ()
|    |    --- io.grpc:grpc-alts:1.23.0 -> 1.52.1
|    |         +--- io.grpc:grpc-auth:1.52.1 ()
|    |         +--- io.grpc:grpc-grpclb:1.52.1
|    |         +--- io.grpc:grpc-protobuf:1.52.1 ()
|    |         +--- io.grpc:grpc-stub:1.52.1 ()
|    |         +--- com.google.protobuf:protobuf-java:3.21.7 -> 3.21.12
|    |         +--- org.conscrypt:conscrypt-openjdk-uber:2.5.2
|    |         +--- com.google.guava:guava:31.1-android -> 31.1-jre ()
|    |         +--- com.google.auth:google-auth-library-oauth2-http:1.4.0 -> 0.18.0 ()
|    |         --- io.grpc:grpc-netty-shaded:1.52.1 ()

Hi,
Closing this out since there hasn't been an update in a while. Please reopen if you're still facing issues.
Thanks

authors: jradcliff kushanihansika

repo: googleads/google-ads-java


text:
Adding new ad service to path lookup util.

Change-Id: I1690019f652beea5c5ea25a62fed417dc115cfef

👍

source: gharchive/pull-request

authors: mcloonan samphippen

repo: googleads/google-ads-ruby

license_type: permissive

license_source: bigquery


text:
App crashes if previousCuePoint is invalid

On this line:
https://github.com/googleads/googleads-ima-roku-dai/blob/d021039638d18e14a0f31b782ea56cc72b759c3c/advanced_example/components/Sdk.xml#L145
If the previousCuePoint is invalid, the application is crashing. Perhaps this line should be moved in the else block.

The moving into the else block would certainly resolve the issue, but would remove the debugging line for cuepoints that have already played. I'll refactor the if statement slightly to make things more explicit and solve this error

this is now resolved :)

source: gharchive/issue

repo: googleads/googleads-ima-roku-dai


text:
Spam log V/AudioManager(24809): getStreamMaxVolume

When I use the banner ad in my flutter app I infinitely get the following log in my console
V/AudioManager(24809): getStreamMaxVolume  treamType: 3
V/AudioManager(24809): getStreamVolume streamType: 3 volume: 13
This happens only on my physical android devices.
Im and using
Flutter version 2.2.3
Dart version 2.13.4
But it also happened in earlier versions of dart and flutter.

I have a code example here where it happens and I am using  google_mobile_ads: ^0.13.4
void main(List<String> args) {
  runApp(MaterialApp(home: TestPage()));
}

class TestPage extends StatelessWidget {
  const TestPage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: RepositoryProvider(
        create: (context) => AdMobRepository(),
        child: TestBannerAd(),
      ),
    );
  }
}

class TestBannerAd extends StatefulWidget {
  final Size defaultAdSize;
  final bool alternativeColors;

  const TestBannerAd({
    this.defaultAdSize = const Size(320, 100),
    this.alternativeColors = false,
  });

  @override
  _TestBannerAdState createState() => _TestBannerAdState();
}

class _TestBannerAdState extends State<TestBannerAd> {
  bool adLoaded = false;
  BannerAd? anchoredBanner;

  @override
  void initState() {
    final adRepo = context.read<AdMobRepository>();
    final bannerAd = adRepo.getBannerAd(
      size: AdSize.largeBanner,
      onFailedLoad: (ad, error) {
        ad.dispose();
      },
      onLoad: (ad) {
        setState(() {
          adLoaded = true;
          anchoredBanner = ad as BannerAd?;
        });
      },
    );

    bannerAd.load();
    super.initState();
  }

  @override
  void dispose() {
    anchoredBanner?.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    if (!adLoaded || anchoredBanner == null)
      return Container(
        width: widget.defaultAdSize.width,
        height: widget.defaultAdSize.height,
      );

    return Container(
      color: Colors.transparent,
      width: anchoredBanner!.size.width.toDouble(),
      height: anchoredBanner!.size.height.toDouble(),
      child: Center(
        child: Container(
          color: Colors.white,
          child: AdWidget(
            ad: anchoredBanner!,
          ),
        ),
      ),
    );
  }
}

class AdMobRepository {
  final isAndroid = Platform.isAndroid;
  final isDebug = !kReleaseMode;

  BannerAd getBannerAd({required AdSize size, void Function(Ad, LoadAdError)? onFailedLoad, void Function(Ad)? onLoad}) {
    return BannerAd(
      adUnitId: isDebug
          ? BannerAd.testAdUnitId
          : isAndroid
              ? Constants.androidBannedAdId
              : Constants.iosBannerAdId,
      request: AdRequest(),
      size: size,
      listener: BannerAdListener(
        onAdFailedToLoad: onFailedLoad ?? onFailedLoadFallback,
        onAdLoaded: onLoad,
      ),
    );
  }

  void onFailedLoadFallback(Ad ad, LoadAdError error) {
    ad.dispose();
  }
}

Could you also include the imports you are using? Could you see if the issue reproduces without any other plugins?

I second this problem, it must be specific to Huawei, so I don't think we'll get any fix for it any time soon, but it's definitely caused by the ads plugin. Luckily, for anybody that happens to find this thread searching for the same problem, there' an acceptable solution: fold these lines in the console. Pick one, right click, Fold Lines Like This. Trim it to a stable internal section of the line (getStreamMaxVolume and getStreamVolume, as two separate items, seem to do the trick). You can get back to this list also under Settings > Editor > General > Console. This doesn't eliminate them completely but almost.

authors: deakjahn duck-dev-go markusaksli-nc michael-ottink

repo: googleads/googleads-mobile-flutter

license_source: github-api


text:
Fix bug in playerDisposedListener

Someone tried to use what I assume is an attempt at es6 syntax...
http://es6-features.org/#ArrayMatching
They ended up creating a comma operator chain instead.

Thanks for the fix!

authors: KevinBrogan shawnbuso

repo: googleads/videojs-ima


text:
chore: 3.2.1 release proposal

Release Proposal

Lgtm
On Fri, Oct 12, 2018, 1:48 PM Kelvin Jin notifications@github.com wrote:

@kjin https://github.com/kjin requested review from
@googleapis/node-team on: #883
https://github.com/googleapis/cloud-trace-nodejs/pull/883 chore: 3.2.1
release proposal.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/googleapis/cloud-trace-nodejs/pull/883#event-1901670746,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAE0qVttBHNT43B7olDDEUlNgEaMbNtMks5ukQARgaJpZM4XaKmn
.

authors: kjin ofrobots

repo: googleapis/cloud-trace-nodejs


text:
Add specs for PagedEnumerable

[closes #217]

You add 125 lines of tests and code coverage still decreases by 0.01%...

Thanks a lot codecov. WTF are you doing anyway?

authors: blowmage dazuma

repo: googleapis/gax-ruby


text:
Release Google.Cloud.Firestore.Admin.V1 version 3.3.0

Changes in this release:
New features

Add CreateDatabase API (commit 09a1ae4)

Created release for Google.Cloud.Firestore.Admin.V1-3.3.0

I'll look into this tomorrow. Hopefully it'll just be a matter of rerunning the release build.

authors: jskeet yoshi-automation

repo: googleapis/google-cloud-dotnet


text:
[Not for submission, checking if tests are deflaked] Changes to FakeScheduller that might help with deflaking Spanner tests.

I think that if test are flaky after this change then we would need to evaluate the scenarios in wich no delay is schedulled in 100ms? Which I think are:

because of the test itself doing "a lot" inside the client.Scheduler.RunAsync but not calling anything that actually schedulles a delay (I haven't seen a test like that).
or because none of the threads get to the schedulling a delay point, which, by looking at the TargettedSessionPool code, seems improbable, even though all the (20 or 40) threads might be competing for the pool lock to get to the "fake spanner client" at least one of them should get through in 100ms I think.

Closing as this was never meant to be for submission.


text:
Release Spanner libraries version 3.14.0

Changes in Google.Cloud.Spanner.Data version 3.14.0:
New features

Add database dialect to Admin Database API (commit 721f908)
Add database dialect to Spanner V1 API (commit d345d55)
Add support for cross-region backup (commit 599f0a3)

Packages in this release:

Release Google.Cloud.Spanner.Admin.Database.V1 version 3.14.0
Release Google.Cloud.Spanner.Admin.Instance.V1 version 3.14.0
Release Google.Cloud.Spanner.Common.V1 version 3.14.0
Release Google.Cloud.Spanner.Data version 3.14.0
Release Google.Cloud.Spanner.V1 version 3.14.0

Created release for Google.Cloud.Spanner.Admin.Database.V1-3.14.0
Created release for Google.Cloud.Spanner.Admin.Instance.V1-3.14.0
Created release for Google.Cloud.Spanner.Common.V1-3.14.0
Created release for Google.Cloud.Spanner.Data-3.14.0
Created release for Google.Cloud.Spanner.V1-3.14.0


text:
Synthesis failed for profiler

Hello! Autosynth couldn't regenerate profiler. :broken_heart:
Please investigate and fix this issue within 5 business days.  While it remains broken,
this library cannot be updated with changes to the profiler API, and the library grows
stale.
See https://github.com/googleapis/synthtool/blob/master/autosynth/TroubleShooting.md
for trouble shooting tips.
Here's the output from running synth.py:
obtained by modifying arguments sha256 = "039d1ae5df886778170dbc38d6327f3dfad483cf93bd4e4fcda5e613779d55bd"
DEBUG: Repository rules_gapic instantiated at:
  /h/.cache/synthtool/googleapis/WORKSPACE:125:13: in <toplevel>
Repository rule http_archive defined at:
  /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
DEBUG: /h/.cache/bazel/_bazel_kbuilder/b5de94aa84a8cf499aaad6667c1b1a91/external/rules_python/python/pip.bzl:61:10: DEPRECATED: the pip_repositories rule has been replaced with pip_install, please see rules_python 0.1 release notes
Analyzing: target //google/devtools/cloudprofiler/v2:google-cloud-devtools-cloudprofiler-v2-php (1 packages loaded, 0 targets configured)
INFO: Analyzed target //google/devtools/cloudprofiler/v2:google-cloud-devtools-cloudprofiler-v2-php (1 packages loaded, 9 targets configured).
INFO: Found 1 target...
[0 / 2] [Prepa] BazelWorkspaceStatusAction stable-status.txt
INFO: From //google/devtools/cloudprofiler/v2:cloudprofiler_php_grpc: `bazel-out/host/bin/external/com_google_protobuf/protoc --include_source_info --experimental_allow_proto3_optional --plugin=protoc-gen-grpc=bazel-out/host/bin/external/com_github_grpc_grpc/src/compiler/grpc_php_plugin --grpc_out=class_suffix=GrpcClient:bazel-out/k8-fastbuild/bin/google/devtools/cloudprofiler/v2/cloudprofiler_php_grpc.srcjar.zip -Igoogle/devtools/cloudprofiler/v2/profiler.proto=google/devtools/cloudprofiler/v2/profiler.proto -Igoogle/api/annotations.proto=google/api/annotations.proto -Igoogle/api/http.proto=google/api/http.proto -Igoogle/protobuf/descriptor.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/descriptor_proto/google/protobuf/descriptor.proto -Igoogle/api/client.proto=google/api/client.proto -Igoogle/protobuf/duration.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/duration_proto/google/protobuf/duration.proto -Igoogle/protobuf/field_mask.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/field_mask_proto/google/protobuf/field_mask.proto google/devtools/cloudprofiler/v2/profiler.proto`:
--include_source_info only makes sense when combined with --descriptor_set_out.
INFO: From //google/devtools/cloudprofiler/v2:cloudprofiler_php_proto: `bazel-out/host/bin/external/com_google_protobuf/protoc --include_source_info --experimental_allow_proto3_optional --php_out=bazel-out/k8-fastbuild/bin/google/devtools/cloudprofiler/v2/cloudprofiler_php_proto.srcjar.zip -Igoogle/devtools/cloudprofiler/v2/profiler.proto=google/devtools/cloudprofiler/v2/profiler.proto -Igoogle/api/annotations.proto=google/api/annotations.proto -Igoogle/api/http.proto=google/api/http.proto -Igoogle/protobuf/descriptor.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/descriptor_proto/google/protobuf/descriptor.proto -Igoogle/api/client.proto=google/api/client.proto -Igoogle/protobuf/duration.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/duration_proto/google/protobuf/duration.proto -Igoogle/protobuf/field_mask.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/field_mask_proto/google/protobuf/field_mask.proto google/devtools/cloudprofiler/v2/profiler.proto`:
--include_source_info only makes sense when combined with --descriptor_set_out.
ERROR: /h/.cache/synthtool/googleapis/google/devtools/cloudprofiler/v2/BUILD.bazel:191:18: //google/devtools/cloudprofiler/v2:cloudprofiler_php_gapic_srcjar: `bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional --plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh --gapic_out=metadata,transport=grpc+rest,grpc_service_config=google/devtools/cloudprofiler/v2/cloudprofiler_grpc_service_config.json:bazel-out/k8-fastbuild/bin/google/devtools/cloudprofiler/v2/cloudprofiler_php_gapic_srcjar.srcjar.zip -Igoogle/devtools/cloudprofiler/v2/profiler.proto=google/devtools/cloudprofiler/v2/profiler.proto -Igoogle/api/annotations.proto=google/api/annotations.proto -Igoogle/api/http.proto=google/api/http.proto -Igoogle/protobuf/descriptor.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/descriptor_proto/google/protobuf/descriptor.proto -Igoogle/api/client.proto=google/api/client.proto -Igoogle/protobuf/duration.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/duration_proto/google/protobuf/duration.proto -Igoogle/protobuf/field_mask.proto=bazel-out/k8-fastbuild/bin/external/com_google_protobuf/_virtual_imports/field_mask_proto/google/protobuf/field_mask.proto -Igoogle/cloud/common_resources.proto=google/cloud/common_resources.proto -Igoogle/api/resource.proto=google/api/resource.proto google/devtools/cloudprofiler/v2/profiler.proto google/cloud/common_resources.proto` failed: (Exit 1): protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh' ... (remaining 12 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox protoc failed: error executing command bazel-out/host/bin/external/com_google_protobuf/protoc --experimental_allow_proto3_optional '--plugin=protoc-gen-gapic=bazel-out/host/bin/external/gapic_generator_php/rules_php_gapic/run.sh' ... (remaining 12 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
--gapic_out: protoc-gen-gapic: Plugin failed with status code 255.
Target //google/devtools/cloudprofiler/v2:google-cloud-devtools-cloudprofiler-v2-php failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.864s, Critical Path: 0.71s
INFO: 6 processes: 2 internal, 4 linux-sandbox.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
2021-09-01 08:41:21,822 synthtool [ERROR] > Failed executing bazel --max_idle_secs=240 build //google/devtools/cloudprofiler/v2:google-cloud-devtools-cloudprofiler-v2-php:

None
ERROR:synthtool:Failed executing bazel --max_idle_secs=240 build //google/devtools/cloudprofiler/v2:google-cloud-devtools-cloudprofiler-v2-php:

None
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/synthtool/__main__.py", line 102, in <module>
    main()
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/workspace/env/lib/python3.8/site-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/workspace/synthtool/__main__.py", line 94, in main
    spec.loader.exec_module(synth_module)  # type: ignore
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/h/.cache/synthtool/google-cloud-php/Profiler/synth.py", line 26, in <module>
    library = gapic.php_library(
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 66, in php_library
    return self._generate_code(service, version, "php", clean_build, **kwargs)
  File "/workspace/synthtool/gcp/gapic_bazel.py", line 204, in _generate_code
    shell.run(bazel_run_args, hide_output=False)
  File "/workspace/synthtool/shell.py", line 39, in run
    raise exc
  File "/workspace/synthtool/shell.py", line 27, in run
    return subprocess.run(
  File "/usr/local/lib/python3.8/subprocess.py", line 516, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['bazel', '--max_idle_secs=240', 'build', '//google/devtools/cloudprofiler/v2:google-cloud-devtools-cloudprofiler-v2-php']' returned non-zero exit status 1.
2021-09-01 08:41:21,869 autosynth [ERROR] > Synthesis failed
2021-09-01 08:41:21,870 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at cd45535b feat: deprecated SearchAssignments in favor of SearchAllAssignments
2021-09-01 08:41:21,926 autosynth [DEBUG] > Running: git checkout autosynth-profiler
Switched to branch 'autosynth-profiler'
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/workspace/autosynth/synth.py", line 359, in <module>
    main()
  File "/workspace/autosynth/synth.py", line 191, in main
    return _inner_main(temp_dir)
  File "/workspace/autosynth/synth.py", line 339, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/workspace/autosynth/synth.py", line 68, in synthesize_loop
    has_changes = toolbox.synthesize_version_in_new_branch(synthesizer, youngest)
  File "/workspace/autosynth/synth_toolbox.py", line 259, in synthesize_version_in_new_branch
    synthesizer.synthesize(synth_log_path, self.environ)
  File "/workspace/autosynth/synthesizer.py", line 120, in synthesize
    synth_proc.check_returncode()  # Raise an exception.
  File "/usr/local/lib/python3.8/subprocess.py", line 448, in check_returncode
    raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['/workspace/env/bin/python3', '-m', 'synthtool', '--metadata', 'synth.metadata', 'synth.py', '--']' returned non-zero exit status 1.

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:

repo: googleapis/google-cloud-php


text:
Using Structured Logging only

PROBLEM:
I want to use structured logging with google cloud, but I already have an agent running.
I'm running inside a docker container, so a project ID is not configured.
the only thing I want is do structured logging to stdout.. No need for authentication/project information
SOLUTION / FEATURE REQUEST
Allow using com.google.cloud.logging.logback.LoggingAppender
For structured logging ONLY
Using this configuration isredirectToStdOut is not enough:
+<configuration>
+    <!--
+    Structured logging for Google Cloud Logging
+    https://cloud.google.com/logging/docs/setup/java#logback_appender_for
+    -->
+    <appender name="GOOGLE_CLOUD" class="com.google.cloud.logging.logback.LoggingAppender">
+        <!-- Optional : filter logs at or above a level -->
+        <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
+            <level>INFO</level>
+        </filter>
+        <!-- We run the docker google-cloud logging driver gcplogs
+        So we dont want the appender to send it over API.
+        The reason to use the appender is structured logging
+        https://docs.docker.com/config/containers/logging/gcplogs/
+        https://cloud.google.com/blog/products/devops-sre/google-cloud-logging-java-client-library-new-features
+        -->
+        <redirectToStdout>true</redirectToStdout>
+    </appender>
+
+    <root level="info">
+        <appender-ref ref="GOOGLE_CLOUD" />
+    </root>
+</configuration>

@tjerkw, thanks for opening an issue and really sorry for late response. Can you please clarify what did you mean by "Using this configuration is redirectToStdOut is not enough"? Do you mean it is not working for you?
I believe the redirectToStdOut feature is designed to output structured logging into console and if it is not working for you, please let me know the exact steps to reproduce your problem. If the issue is that redirectToStdOut configuration was not picked up by your process, perhaps you can try call setRedirectToStdout function to see if you can at least see the structured logging in output?

The point is that I only want stdout logging.
But the problem is gcplogs driver from google , it’s outdated and does not
allow structured logging. as it wraps the JSON structure in a string.
So I abbandoned this approach , feel free to close this issue
On Tue, 11 Oct 2022 at 19:58, losalex @.***> wrote:

@tjerkw https://github.com/tjerkw, thanks for opening an issue and
really sorry for late response. Can you please clarify what did you mean by
"Using this configuration is redirectToStdOut is not enough"? Do you mean
it is not working for you?
I believe the redirectToStdOut feature is designed to output structured
logging into console and if it is not working for you, please let me know
the exact steps to reproduce your problem. If the issue is that
redirectToStdOut configuration was not picked up by your process, perhaps
you can try call setRedirectToStdout function to see if you can at least
see the structured logging in output?
—
Reply to this email directly, view it on GitHub
https://github.com/googleapis/java-logging-logback/issues/778#issuecomment-1275071420,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGH5MOLAHR3HXQLWR7MVRLWCWTDPANCNFSM5YJ7FH2A
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Tjerk Wolterink

Thanks @tjerkw for an answer and really sorry to hear you had troubles with using gcplogs. Can you please let me know what alternative solution you used?

@tjerkw , one more thing to mention - AFAIK the gcplogs is not a Google owned tool and as alternative you can use Logging Agent to redirect structured logging to GCP.
Closing this issue for now - please let me know if you have any more questions

authors: losalex tjerkw

repo: googleapis/java-logging-logback


text:
feat: automatic dialect detection

The dialect of the database that a DatabaseClient is connected to can be automatically detected:

DatabaseClient#getDialect() has been added. This method always returns the dialect of the underlying database. It will do so by executing a query that detects the dialect. This query can also be executed and cached automatically in the background during startup (see below).
SessionPoolOptions#setAutoDetectDialect(true) will cause the dialect detection query to be executed in the background automatically when a new client is created. This is disabled by default, except for when a Connection API connection (or anything that depends on that, such as JDBC) is opened. The reason for this default behavior is that a normal Spanner instance does normally not need to know what the dialect of the underlying database is, while the Connection API does. This reduces the number of times the detection query will be executed during production use.

Closing in favor of #1677

repo: googleapis/java-spanner


text:
[CHANGE ME] Re-generated  to pick up changes in the API or client library generator.

This PR was generated using Autosynth. :rainbow:
Here's the log from Synthtool:
synthtool > Cloning googleapis.
synthtool > Ensuring dependencies.
synthtool > Pulling artman image.
latest: Pulling from googleapis/artman
Digest: sha256:90f9d15e9bad675aeecd586725bce48f5667ffe7d5fc4d1e96d51ff34304815b
Status: Image is up to date for googleapis/artman:latest
synthtool > Running generator for google/cloud/dataproc/artman_dataproc_v1.yaml.
synthtool > Generated code into /home/kbuilder/.cache/synthtool/googleapis/artman-genfiles/js/dataproc-v1.
.circleci/config.yml
.circleci/npm-install-retry.js
.eslintignore
.eslintrc.yml
.github/CONTRIBUTING.md
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/ISSUE_TEMPLATE/support_request.md
.jsdoc.js
.kokoro/common.cfg
.kokoro/continuous/node10/common.cfg
.kokoro/continuous/node10/test.cfg
.kokoro/continuous/node11/common.cfg
.kokoro/continuous/node11/test.cfg
.kokoro/continuous/node6/common.cfg
.kokoro/continuous/node6/test.cfg
.kokoro/continuous/node8/common.cfg
.kokoro/continuous/node8/docs.cfg
.kokoro/continuous/node8/lint.cfg
.kokoro/continuous/node8/samples-test.cfg
.kokoro/continuous/node8/system-test.cfg
.kokoro/continuous/node8/test.cfg
.kokoro/docs.sh
.kokoro/lint.sh
.kokoro/presubmit/node10/common.cfg
.kokoro/presubmit/node10/test.cfg
.kokoro/presubmit/node11/common.cfg
.kokoro/presubmit/node11/test.cfg
.kokoro/presubmit/node6/common.cfg
.kokoro/presubmit/node6/test.cfg
.kokoro/presubmit/node8/common.cfg
.kokoro/presubmit/node8/docs.cfg
.kokoro/presubmit/node8/lint.cfg
.kokoro/presubmit/node8/samples-test.cfg
.kokoro/presubmit/node8/system-test.cfg
.kokoro/presubmit/node8/test.cfg
.kokoro/presubmit/windows/common.cfg
.kokoro/presubmit/windows/test.cfg
.kokoro/samples-test.sh
.kokoro/system-test.sh
.kokoro/test.bat
.kokoro/test.sh
.kokoro/trampoline.sh
.nycrc
CODE_OF_CONDUCT.md
codecov.yaml
npm WARN deprecated text-encoding@0.6.4: no longer maintained
npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor.

> grpc@1.16.1 install /tmpfs/src/git/autosynth/working_repo/node_modules/grpc
> node-pre-gyp install --fallback-to-build --library=static_library

node-pre-gyp WARN Using request for node-pre-gyp https download
[grpc] Success: "/tmpfs/src/git/autosynth/working_repo/node_modules/grpc/src/node/extension_binary/node-v57-linux-x64-glibc/grpc_node.node" is installed via remote

> protobufjs@6.8.8 postinstall /tmpfs/src/git/autosynth/working_repo/node_modules/protobufjs
> node scripts/postinstall

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1141 packages from 1274 contributors and audited 4409 packages in 20.161s
found 0 vulnerabilities

> @google-cloud/dataproc@0.3.0 prettier /tmpfs/src/git/autosynth/working_repo
> prettier --write src/*.js src/*/*.js samples/*.js samples/*/*.js test/*.js test/*/*.js system-test/*.js system-test/*/*.js smoke-test/*.js

src/index.js 78ms
src/v1/cluster_controller_client.js 79ms
src/v1/index.js 15ms
src/v1/job_controller_client.js 46ms
samples/quickstart.js 18ms
test/gapic-v1.js 290ms
system-test/dataproc.js 14ms
smoke-test/cluster_controller_smoke_test.js 30ms
synthtool > Cleaned up 2 temporary directories.
synthtool > Wrote metadata to synth.metadata.

Codecov Report

Merging #118 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #118   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines           4      4
=====================================
  Hits            4      4

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 95dda2d...ab38646. Read the comment docs.

authors: codecov-io yoshi-automation

repo: googleapis/nodejs-dataproc


text:
feat: Use small request dependency

Pass teeny-request to common.Service so we don't rely on
request.

Looks like npm from Node 6 can't install dependencies from branches the way it's specified.

I wrote teeny-request which we can use instead of request. My idea is that the client libraries pass teeny-request (or request if needed) to nodejs-common.
In the future, nodejs-common won't depend on request but use whatever is passed into it.
teeny-request has everything we need for nodejs-translate. I'll work through the other client libraries and add the functionality we need, or publish something like teeny-request-streams and so on.
I haven't worked through google-auth-library yet.

I love the idea, and I love the way that we could upgrade one package at a time to reduce risk.  A few thoughts/concerns:

This wouldn't actually get rid of the dependency on request in the common, right?  I'm thinking this would just end up with having no impact on the actual loading time of the module since we're still going to end up loading request in other places in common.
Scenario coverage.  I'm a little worried about the things we don't think about that request just does for us nicely.  Like proxies - I totally missed that when adopting axios.  Makes me wonder what else we're missing?  Do you have any ideas on how we could release something like this slowly to make sure we're not breaking folks?

This would get rid of request in common.

By default, libraries will use teeny-request, if users want more advanced options like proxies, they have to provide their own module, like request.

Got it! It's awesome that this helps us dump request.  On the users providing their own advanced request library....  this makes me kinda nervous.  We're now basically saying that the request interface is a part of our API design.  While it's nice that we're not tied down to a single request library, it does mean that we're exposing an interface that will be used for all HTTP requests.
I'm having trouble imagining that many users will want to BYO HTTP library when using our higher level libs.  It feels like we're leaking implementation details.
Instead of making this super open ended - could we just control the use of teeny-request vs regular-request via an env var, similar to what we're doing in grpc?  That way we could roll this out today, and let customers start trying it with the new env vars.  Realistically - do we think we will have 2 options for the transport layer (regular request, teeny request) or (n) options?

If we're providing all options that request offers, we'll end up with an equally large module. I want to provide a small module by default, with limited options. Users that need special options would need to use request.
Some libraries like nodejs-translate won't have the option to pass in a request module, because all it's uses are internal.
Other libraries currently expose request, or request.option to the user. I don't want to break the API, so we need to keep doing that.
Let's chat later in person!

Fixes: https://github.com/googleapis/nodejs-translate/pull/99

Before with request: 160 ms

With teeny-request: 90 ms

Is the plan to release this and treat translate as the canary in the coal mine?  🐦

The bird is already singing: https://github.com/GoogleCloudPlatform/cloud-profiler-nodejs/pull/283
But yes, probably better to get feedback earlier instead of breaking all libraries at once 🙈

authors: JustinBeckwith fhinkel

repo: googleapis/nodejs-translate


text:
Optionally relax sqlglot / ibis pin via env var for use in SQLMesh

https://github.com/googleapis/python-bigquery-dataframes/blob/04139644af0c30c10519397fb3be7bebf6ec813c/setup.py#L63
There is very strong synergy between bigframes and https://github.com/TobikoData/sqlmesh
However because of the sqlglot pin and the transitive sqlglot pin in the ibis pin, this library is incompatible with sqlmesh. (sqlmesh is built and maintained by creators of sqlglot and therefore usually has latest pin, and a strict one at that)
Since you are using setup.py, we should be able to use an env var or something similar to have an opt-in way to remove the version constraints on those two deps such that they can be defined by the consumer. We would accept that it opens one up to undefined behavior but by contrast it frees you from needing to constantly update your pins and allows more experimentation and adoption in the community.
You can see an example sqlmesh model using bigframes here https://github.com/TobikoData/sqlmesh/pull/2667/files

Since you are using setup.py, we should be able to use an env var or something similar to have an opt-in way to remove the version constraints on those two deps such that they can be defined by the consumer.

Do you have an example of another package using an environment variable for this purpose?
I'm personally a bit wary of of relaxing these pins without having fully tested against such versions, but an opt-in mechanism for folks who know what they are doing seems acceptable. Happy to accept a pull request if you want to mail something. :-)
P.S. We're actively working on an ibis (and sqlglot) upgrade in https://github.com/googleapis/python-bigquery-dataframes/pull/827. There's quite a bit that breaks in ibis 9.x, so our wariness is definitely warranted. It's quite likely that we'll end up "vendoring" much of the ibis package so that this kind of thing (relaxing ibis versions, or even removing ibis as a pip dependency altogether) will become much more feasible.

We'd love this too.

the SQLGlot version has been updated to  sqlglot >=23.6.3,<25.2 as part of the #827 merge, though it was still pined with a maximum version to align with ibis framework.

authors: chelsea-lin rubenvereecken tswast z3z1ma

repo: googleapis/python-bigquery-dataframes


text:
No DesignTimeAgent found for project python-docs-samples-*

We're hitting quota exceeded errors in samples testing. For example see build log here which has the following error.
429 Quota exceeded for quota metric 'Dialogflow Trial Edition text query operations' and limit 'Dialogflow Trial Edition text query operations per minute' of service 'dialogflow.googleapis.com'

I've opened PR https://github.com/googleapis/python-dialogflow/pull/438 to switch the samples testing to use multiple projects however, I'm getting an the following error with samples test test_detect_intent_texts_with_location:
>           raise _InactiveRpcError(state)
E           grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
E           	status = StatusCode.NOT_FOUND
E           	details = "com.google.apps.framework.request.NotFoundException: No DesignTimeAgent found for project 'python-docs-samples-tests-py36'."
E           	debug_error_string = "{"created":"@1636716471.750347840","description":"Error received from peer ipv4:74.125.142.95:443","file":"src/core/lib/surface/call.cc","file_line":1069,"grpc_message":"com.google.apps.framework.request.NotFoundException: No DesignTimeAgent found for project 'python-docs-samples-tests-py36'.","grpc_status":5}"
E           >

.nox/py-3-6/lib/python3.6/site-packages/grpc/_channel.py:849: _InactiveRpcError

The above exception was the direct cause of the following exception:

capsys = <_pytest.capture.CaptureFixture object at 0x7f53eb7af048>

    def test_detect_intent_texts_with_location(capsys):
        detect_intent_texts_with_location(
>           PROJECT_ID, LOCATION_ID, SESSION_ID, TEXTS, "en-GB"
        )

detect_intent_texts_with_location_test.py:39:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
detect_intent_texts_with_location.py:55: in detect_intent_texts_with_location
    request={"session": session, "query_input": query_input}
../../google/cloud/dialogflow_v2/services/sessions/client.py:525: in detect_intent
    response = rpc(request, retry=retry, timeout=timeout, metadata=metadata,)
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/gapic_v1/method.py:154: in __call__
    return wrapped_func(*args, **kwargs)
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/retry.py:288: in retry_wrapped_func
    on_error=on_error,
.nox/py-3-6/lib/python3.6/site-packages/google/api_core/retry.py:190: in retry_target
    return target()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

args = (session: "projects/python-docs-samples-tests-py36/locations/europe-west2/agent/sessions/test_15a7f7c7-a764-4604-8e1a-7fabaf8427af"
query_input {
  text {
    text: "hello"
    language_code: "en-GB"
  }
}
,)
kwargs = {'metadata': [('x-goog-request-params', 'session=projects/python-docs-samples-tests-py36/locations/europe-west2/agent/...t_15a7f7c7-a764-4604-8e1a-7fabaf8427af'), ('x-goog-api-client', 'gl-python/3.6.15 grpc/1.41.1 gax/2.2.2 gapic/2.9.1')]}

    @functools.wraps(callable_)
    def error_remapped_callable(*args, **kwargs):
        try:
            return callable_(*args, **kwargs)
        except grpc.RpcError as exc:
>           raise exceptions.from_grpc_error(exc) from exc
E           google.api_core.exceptions.NotFound: 404 com.google.apps.framework.request.NotFoundException: No DesignTimeAgent found for project 'python-docs-samples-test

All other samples tests pass. It's just this one test that is failing. See build log here.

the No DesignTimeAgent found for project 'python-docs-samples-test means that there is not agent for that project, so it either is getting deleted somewhere or not created

This is resolved now. Thanks for solving this @galz10 !
The fix was to make an additional agent in EU-West since you can have agents in different locations.

repo: googleapis/python-dialogflow


text:
resourcemanager_v3.GetIamPolicyRequest type is not defined in the package but is described in the public doc example

https://github.com/googleapis/python-resource-manager/blob/4694fea88edc731f637e1e6d6e2bd860ac06c3a1/google/cloud/resourcemanager_v3/services/projects/client.py#L1464
Public Doc: https://cloud.google.com/python/docs/reference/cloudresourcemanager/latest/google.cloud.resourcemanager_v3.services.projects.ProjectsClient#google_cloud_resourcemanager_v3_services_projects_ProjectsClient_get_iam_policy

FYI this is a snippetgen issue that's not unique to this repo (the changes came from https://github.com/googleapis/python-resource-manager/blob/97fb2649ed629650b1d2bd718f702351ee59aef6/samples/generated_samples/cloudresourcemanager_v3_generated_projects_get_iam_policy_sync.py#L35). Moving this over to gapic-generator-python to better assist with this issue.

authors: dandhlee milanmenezes

repo: googleapis/python-resource-manager


text:
fix: use the GitHub release label to help find the correct PR

Looks for PRs with the autorelease: tagged label when considering release PRs. This helps prevent
creating release PRs that include every change in the repository as opposed to changes since the
last release when the main branch has been rebased or has had other issues.
The change to findMergedReleasePR means it is possible to manually update the tags on merged PRs
to either have them included or excluded from the list of candidates used to find the last release.
This also changes test imports to use resolve so that they can be run more easily from IDEs and
tools such as wallaby.js.
Based on my testing, this looks like a safe change to make, but perhaps it should be placed behind a
command line/feature flag?
Fixes #713

I can also add the wallaby.js config I have that seems to be working if that would be useful for anyone.

I can also add the wallaby.js config I have that seems to be working if that would be useful for anyone.

@safarmer thank you for the contribution 👏
You've caught us right in the middle of a refactor that might remove this logic entirely, instead looking for prior tags using GraphQL -- which I think would similarly solve your problem.
Regarding wallaby.js where does its configuration live? we're mainly vscode users here, but if it's in a reasonable home like .editors, I'm open to adding the config.

@safarmer thank you for the contribution 👏
You've caught us right in the middle of a refactor that might remove this logic entirely, instead looking for prior tags using GraphQL -- which I think would similarly solve your problem.
Regarding wallaby.js where does its configuration live? we're mainly vscode users here, but if it's in a reasonable home like .editors, I'm open to adding the config.

@safarmer thank you for the contribution
You've caught us right in the middle of a refactor that might remove this logic entirely, instead looking for prior tags using GraphQL -- which I think would similarly solve your problem.
Regarding wallaby.js where does its configuration live? we're mainly vscode users here, but if it's in a reasonable home like .editors, I'm open to adding the config.

The config lives in $root/wallaby.js. The tool runs inside VSCode/WebStorm/IntelliJ giving test feedback. It should not interfere with editor setup.

@safarmer thank you for the contribution
You've caught us right in the middle of a refactor that might remove this logic entirely, instead looking for prior tags using GraphQL -- which I think would similarly solve your problem.
Regarding wallaby.js where does its configuration live? we're mainly vscode users here, but if it's in a reasonable home like .editors, I'm open to adding the config.

The config lives in $root/wallaby.js. The tool runs inside VSCode/WebStorm/IntelliJ giving test feedback. It should not interfere with editor setup.

@bcoe @joeldodge79 I have created a new PR (#715) with the resolve change and a wallaby.js config file since they still seem like useful changes.
@jdpedrie re your suggestion: I cannot think of any reason that won't work off the top of my head. I would need to make sure the stable release branch was protected so as not to be auto-deleted on merge.
I have added some more details with an example repo in the issue #713

@bcoe @joeldodge79 I have created a new PR (#715) with the resolve change and a wallaby.js config file since they still seem like useful changes.
@jdpedrie re your suggestion: I cannot think of any reason that won't work off the top of my head. I would need to make sure the stable release branch was protected so as not to be auto-deleted on merge.
I have added some more details with an example repo in the issue #713

@safarmer an update, I think @chingor13's work here can address #715, it proposes moving towards a stable branch name when finding release PRs.

@safarmer perhaps you can confirm against this branch that it does the trick for you? (or can do the trick for you).

authors: bcoe safarmer

repo: googleapis/release-please


text:
Do not validate empty string for optional path template fields.

We should allow empty path for optional path template fields.
This should fix: https://github.com/googleapis/toolkit/issues/389

LGTM

authors: garrettjonesgoogle shinfan

repo: googleapis/toolkit


text:
startPurchaseFlow method no resolved

As title

Yes this is old but doing searches for this problem was limited and wanted to put the solution here. The problem is that when you are following the codelab instructions it is quite easy to copy and paste the code from step 4 into the BillingManager class and inadvertantly overwrite the startPurchaseFlow method which is located there. The startPurchaseFlow method is not in the  SkusAdapter class. Hope this helps someone....

repo: googlecodelabs/play-billing-codelab


text:
Grouping multiple images as single class

I was just wondering if it would be possible to use multiple images as a single class.
For example:
Image1,Image2, Image3 (Class 1)
Image4,Image5, Image6 (Class 1)
Image7,Image8, Image9 (Class 2)
Image9,Image10, Image11 (Class 2)
Thank you.

Hi @gokhandilek could you be a bit more explicit about the question? I'm not sure I follow. Do you mean when you're training in the Teachable Machine app? Or when you're running an inference using the API?

Hello,
When you are training in the Teachable Machine app, you can only have single category image in a class.
I would like to place multiple category images in a single class.
For example.. I want to place cats, dogs and birds in the same class as animals.
I want to place kids and adults as humans in the same category.
Would this be possible?
Or do you recommend to initially train each subcategory like cats. Then train it for animals?

Hi, @gokhandilek I think that a better solution for this would be to keep the individual sub-category like cats, dogs or a bird in different classes while training and then while prediction you can programmatically add conditions such as if its a "dog", return "animal".That will give better accuracy as compared to keeping everything in one class called "animal". This will work if the number of unique sub-categories like dog, cat or rabbit is limited(not many) and known but if you want to generalize it for all possible animals then you should try a different approach.

Thanks for clarifying that.
How about the kind of dogs? For example, Golden retrievers & chihuahuas etc..
Would I need a class per type of dog as well?
Do I need three seperate models which will predict that it is an animal, it is a dog & it is chihuahua?
And how would you chain these models if this is the case?

If you're specifically looking to classify dog breeds you might be better off just using mobilenet classes.
https://github.com/tensorflow/tfjs-models/tree/master/mobilenet
Checkout all the labels here: https://github.com/tensorflow/tfjs-models/blob/master/mobilenet/src/imagenet_classes.ts

authors: gokhandilek irealva mstale007


text:
ABeeZee camelcase still not allowed

I allowed ABeeZee in #3569
Version used is 0.8.6
But report still failing for the camelcase name. Or maybe I am missing something in the sources or I should have done something more in Fontbakery… I don't know.
cf https://github.com/google/fonts/issues/4227#issuecomment-1027736423

yeah, that's right. I have jut figured out the problem. I'm working on a fix now. Thanks, @RosaWagner

authors: RosaWagner felipesanches

repo: googlefonts/fontbakery


text:
[packager] Add font to project1 (Traffic Jam) when does PR

I don't know if it is possible, but would be a nice feature.
Eventually could add the labels "Ready for review" + "Font upgrade" or "New Font" according if the font is already on GF or not.

I'm pretty sure it's possible

authors: RosaWagner graphicore

repo: googlefonts/gftools


text:
Carrier switched from AT&T to Digicel in release 8.8.1

Language: Java.
I have a unit test running daily and testing the carrier for a given number.
We are always using the last release version of libphonenumber
With release 8.8.1, the number 17585198712 switched from AT&T to Digicel.
Code
Phonenumber.PhoneNumber phoneNumber = PhoneNumberUtil.getInstance().parse("17585198712", "US");
String carrier = PhoneNumberToCarrierMapper.getInstance().getNameForNumber(phoneNumber, Locale.ENGLISH);
Until version 8.8.0 carrier was AT&T.
Since 8.8.1  it is Digicel.
Is this expected?
I don't know how to verify if the change in the Carrier range is a conscious update or a bug?

We update the metadata frequently, and it is expected that different versions will give different results.
If there is a specific carrier change that you think it’s different and don't do so
in the latest release, please file an issue with all the details. See our
contribution guidelines  to determine whether something is a real issue, and the details we need to be
able to fix it.

I'll close this as it's not an issue with the library. Please consider joining
the discussion group if you'd like to discuss this further.


text:
Please make .OTF generation reproducible.

Whilst working on the Reproducible Builds effort, we noticed that ufo2ft generates .otf files that are not reproducible.
For example, here is showotf output of the league-spartan font:
│ │ │ │ │  HEAD table (at 188)
│ │ │ │ │  	Version=1
│ │ │ │ │  	fontRevision=2
│ │ │ │ │ -	checksumAdj=e32dbbe4
│ │ │ │ │ +	checksumAdj=e3309724
│ │ │ │ │  	magicNumber=5f0f3cf5 (0x5f0f3cf5, diff=0)
│ │ │ │ │  	flags=3 baseline_at_0 lsb_at_0
│ │ │ │ │  	unitsPerEm=1250
│ │ │ │ │  	create[0]=0
│ │ │ │ │ -	 create[1]=d580d7b0
│ │ │ │ │ -	File created: Tue Jul  4 05:27:12 2017
│ │ │ │ │ +	 create[1]=d57f6a10
│ │ │ │ │ +	File created: Mon Jul  3 03:27:12 2017

… which shows that it varies on the local timezone.
This has also been filed in Debian as #890280

Python 2 failing.. can't recall the incantation there! :)

I don't think there's a one-line way to do this in Python 2. Easiest way may be to implement timezone.utc locally, as in the example here: https://docs.python.org/2/library/datetime.html#tzinfo-objects (under "Example tzinfo classes:").

@jamesgk Thanks for that. I have updated the PR to match and now I read:

All checks have passed

:)

@anthrotype and/or @moyogo, want to review before merging? And maybe we should add a unit test.

Thanks!

Thanks @lamby for this PR! (hi @jamesgk! :hand:)
Yeah, this is a problem with the UFO spec, which doesn't make it clear whether dates and times should be interpreted as UTC or local time:
https://github.com/unified-font-object/ufo-spec/issues/54
Both you and I would interpret such "naive" UFO datetimes (without explicit timezone info) as UTC, however the author of ufo2fdk (from which ufo2ft was forked) seems to have interpreted them as local times. I only infer this from the fact that the code is using time.mktime, and the latter expects a time tuple that is expressed as local time (it's the inverse of time.localtime).
With your patch, you made this datetime object "aware" by giving it an explicit UTC tzinfo.
But if we agree that all dates and times in UFO (lacking an explicit +HHMM offset) should be understood as UTC, I think an even simpler solution is to avoid using time.mktime altogether and instead use calendar.timegm to convert the time struct to a timestamp. This is the inverse of time.gmtime (for historic reason it happens to be in the calendar module), it takes a time struct or tuple expressed as UTC, and converts it to a UNIX timestamp (integer):
https://docs.python.org/3.6/library/calendar.html#calendar.timegm
I'll send a PR for that.

authors: anthrotype jamesgk lamby

license: mit


text:
Added edit OU console, implemented delete, update, and create functionality

Added a console to the bottom of the page where user can choose to delete, update, or create OUs. Implemented functionality for delete (update and create in future PRs).

Newest commits add the functionality for update and create to this PR.


text:
docs(README): fix package name in migration section

In the migration section, the package name was misspelled.
Thank you for opening a Pull Request!

Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[yes] Make sure to open a GitHub issue as a bug/feature request before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[n/a] Ensure the tests and linter pass
[n/a] Code coverage does not decrease (if any source code was changed)
[yes] Appropriate docs were updated (if necessary)

Fixes #319  🦕

@yuethomas Please take a moment to fill out this short survey. Thank you!
This is an automated message, feel free to ignore.

authors: jpoehnelt yuethomas

repo: googlemaps/js-markerclusterer


text:
NavigationMap - Android: When there is a route with many destinations and each destination has a marker on the map, the first marker will not fire the onMarkerClick event.

Description
When there is a route with many destinations and each destination has a marker on the map, the first marker will not fire the onMarkerClick event.
Environment details
Library version and other environment information:

react-native-navigation-sdk version: 0.6.1

OS type and version

iOS: 18.1, 18.0
Android: 35

Steps to reproduce

Pull down this branch.
Install the dependencies.
Run yarn start
Run yarn ios or yarn android
Click on navigate button
When the map, route and markers are load click on each of the markers. You should see a log in the console firing onMarkerClick. On iOS this works as expected and the onMarkerClick will fire.
On Android, click on the first marker or marker.id of "m0" and the onMarkerClick will not fire, however all the other markers will fire the onMarkerClick.

Code example
Link to Code example
Images / Media

Thanks for reporting this issue!

I was able to trigger the m0 marker for Android clicking around/within the gray dot.

@jokerttu  Can you please take a look?

Hi,
I was able to reproduce this issue,
The problem is that when marker that is over the currently active route leg is clicked, the event is captured by the SDK (for route leg click handling) and is not propagated to the marker click listener.
As this package is just a wrapper for Navigation SDK for Android and iOS platforms, only features available on the SDK can and should be implemented to the plugin itself.
I will continue investigating if there is possiblity to control how route click events are handled, but this might not be possible with current Navigation SDK version for Android.

authors: caio1985 jokerttu rhinkle

repo: googlemaps/react-native-navigation-sdk


text:
Added entry for CVE-2020-13991 to README.md

Found by Ao Wang.

Great, thanks!

authors: ArayzWang saelo

repo: googleprojectzero/fuzzilli


text:
Problem with import 3-rd party shared library

I have this one build.gradle
apply plugin: 'com.android.model.application'

// Root of 3rd party lib(s): location could be anywhere on the host system
def lib_distribution_root = '../distribution'
def ffmpeg_root = '../ffmpeg'
def ffmpegLibraries = ['libavcodec','libavfilter','libavformat','libavutil','libswresample','libswscale'];
def supportedAbis = ['armeabi'];
model {
    repositories {
        libs(PrebuiltLibraries) {
//             Configure one pre-built lib: shared
            gmath {
                // Inform Android Studio where header file dir for this lib
                headers.srcDir "${lib_distribution_root}/gmath/include"
                // Inform Android Studio where lib is -- each ABI should have a lib file
                binaries.withType(SharedLibraryBinary) {
                    sharedLibraryFile = file("${lib_distribution_root}/gmath/lib/${targetPlatform.getName()}/libgmath.so")
                }
            }
            gperf {
                headers.srcDir "${lib_distribution_root}/gperf/include"
                binaries.withType(SharedLibraryBinary) {
                    println("${lib_distribution_root}/gperf/lib/${targetPlatform.getName()}/libgperf.so")
                    sharedLibraryFile = file("${lib_distribution_root}/gperf/lib/${targetPlatform.getName()}/libgperf.so")
                }
            }
            libavcodec {
                headers.srcDir "${ffmpeg_root}/libavcodec/include"
                binaries.withType(SharedLibraryBinary) {
                    println("${ffmpeg_root}/libavcodec/${targetPlatform.getName()}/libavcodec.so")
                    sharedLibraryFile = file("${ffmpeg_root}/libavcodec/lib/${targetPlatform.getName()}/libavcodec.so")
                }
            }
        }
    }
    android {
        compileSdkVersion = 24
        buildToolsVersion = '24.0.0'

        defaultConfig {
            applicationId = 'com.example.hellolibs'
            minSdkVersion.apiLevel = 9
            targetSdkVersion.apiLevel = 24
            versionCode = 1
            versionName = '1.0'
        }
        ndk {
            platformVersion = 21
            moduleName = 'hello-libs'
            toolchain = 'clang'
            stl = 'gnustl_static'
            //CFlags.addAll([]) // any c flags
            cppFlags.addAll(['-std=c++11','-fexceptions'])
            ldLibs.addAll(['android', 'log'])
            // build a default combined apk including all ABIs.
            abiFilters.addAll(supportedAbis)
        }
        sources {
            //noinspection GroovyAssignabilityCheck
            main {
                jni {
                    dependencies {
                        // if gperf were *.a, change shared --> static
                        // ['libavcodec','libavfilter','libavformat','libavutil','libswresample','libswscale']
                        library 'gmath' linkage 'shared'
                        library 'gperf' linkage 'shared'
                        library 'libavcodec' linkage 'shared'
                    }
                }
                jniLibs {
                    // for shared lib, lib need to be pushed to the target too
                    // Once libs are copied into app/src/main/jniLibs directory,
                    // Android Studio will pack them into APK's lib/ directory
                    // Here we like to avoid another duplication by pointing
                    // to the files that containing our libs' distribution location
                    // so the same file is used by compiler at host, also packed
                    // into APk to be used at Target (phone/tablet)
                    source {
                        srcDir "${lib_distribution_root}/gmath/lib"
                        srcDir "${lib_distribution_root}/gperf/lib"
                        // ['libavcodec','libavfilter','libavformat','libavutil','libswresample','libswscale']
                        srcDir "${ffmpeg_root}/libavcodec/lib"
                    }
                }
            }
        }
        buildTypes {
            release {
                minifyEnabled false
                proguardFiles.add(file('proguard-android.txt'))
            }
        }
    }
}

dependencies {
    println rootProject.getName()
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:24.0.0'
}

//  Unnecessary dependency management:
//  Make sure the libs are available when begin compiling application project
//  This could be ignored because in real scenario, the pre-built libs are
//  already given to us before creating application.
tasks.whenTaskAdded { task ->
    if (task.name.contains('compile')) {
        task.dependsOn ':gmath:distributeLib'
        task.dependsOn ':gperf:distributeLib'
    }
}

Other parts of sample i don't edit.
So, problem is when i add this one line library 'libavcodec' linkage 'shared' project not builds and i get
Error:(32, 12) error: unknown type name 'JNIEXPORT'
Error:(32, 29) error: expected ';' after top level declarator
extern "C" JNIEXPORT jstring JNICALL

AS can't find JNIEXPORT and etc.
Sample based on Hello-libs sample.
Can anybody suggest me how to deal with it?
Thanks.
P.S.
I saw this and this issues.

I figure out what was the problem.
It was random solution - the problem was with imports (includes)
I failed with this line headers.srcDir "${ffmpeg_root}/libavcodec/include".
So, reader be careful!

repo: googlesamples/android-ndk


text:
Local module descriptor class for com.google.android.gms.vision.dynamite not found

On my device, face tracking fails with errors: same with https://github.com/googlesamples/android-vision/issues/164
do you have any progress?
W/DynamiteModule( 1417): Local module descriptor class for com.google.android.gms.vision.dynamite not found.
I/DynamiteModule( 1417): Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:801
I/DynamiteModule( 1417): Selected remote version of com.google.android.gms.vision.dynamite, version >= 801
W/DynamiteModule( 1417): Local module descriptor class for com.google.android.gms.vision.dynamite not found.
I/DynamiteModule( 1417): Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:801
I/DynamiteModule( 1417): Selected remote version of com.google.android.gms.vision.dynamite, version >= 801
D/CameraHardware( 207): CameraHardware::previewThread: posting preview frame...

any solution !!!!
2 days i stuck at this step

On my device, face tracking fails with errors: same with #164
do you have any progress?
W/DynamiteModule( 1417): Local module descriptor class for com.google.android.gms.vision.dynamite not found.
I/DynamiteModule( 1417): Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:801
I/DynamiteModule( 1417): Selected remote version of com.google.android.gms.vision.dynamite, version >= 801
W/DynamiteModule( 1417): Local module descriptor class for com.google.android.gms.vision.dynamite not found.
I/DynamiteModule( 1417): Considering local module com.google.android.gms.vision.dynamite:0 and remote module com.google.android.gms.vision.dynamite:801
I/DynamiteModule( 1417): Selected remote version of com.google.android.gms.vision.dynamite, version >= 801
D/CameraHardware( 207): CameraHardware::previewThread: posting preview frame...

any solution !!!!
2 days i stuck at this step

any solution !!!!
2 days i stuck at this step

Same problem. Any solution ?

Same problem guys. Im using mac m1. Any solution?

authors: DYDEN YunusEmreKazan changshasha farzad-sedaghatbin

repo: googlesamples/android-vision


text:
How to get dob,gender,location from GoogleSignInResult

How can I get dob,gender,location from GoogleSignInResult ? So far I am able to get id,Name,prof pic id.
I am using the latest build 8.4.0

That information is not contained in GoogleSignInResult and does not fall under the basic "profile" scope.  If you need that information, you will either have to prompt the user or request the Google+ Profile scope and use the `getCurrentPerson

repo: googlesamples/google-services


text:
iOS Dark SignIn button looks terrible

Describe your environment

Device: iPhone X & iPhone Xr (Simulator)
OS version: 12.3.1 & 13.0 beta
SDK version: 5.0.0

Describe the problem:
The dark SignIn button in iOS looks terrible; The G logo is bigger than its container and leaves white stripe above it.
Steps to reproduce:

Create Google SignIn button.
Set its colorScheme property to .dark/kGIDSignInButtonColorSchemeDark.
Look at it (when its on a dark background).

@samtstern Anything new?


text:
🛑 goormEDU is down

In b510467, goormEDU (https://edu.goorm.io) was down:

HTTP code: 403
Response time: 785 ms

Resolved: goormEDU is back up in aba2620 after 19 minutes.

repo: goorm-dev/goorm-status

license: MIT


text:
🛑 goormEDU is down

In ecc6ad1, goormEDU (https://edu.goorm.io) was down:

HTTP code: 403
Response time: 1337 ms

Resolved: goormEDU is back up in e0464a9 after 7 minutes.


text:
🛑 goormEDU is down

In 3e0fca0, goormEDU (https://edu.goorm.io) was down:

HTTP code: 403
Response time: 734 ms

Resolved: goormEDU is back up in 82e459a after 19 minutes.


text:
🐛 [Bug] Digital Ocean App Server Cannot Find .env

Before feedback (在反馈之前)

[X] I've searched the existing Issues, Discussions and Google (我已经搜索了现有的 Issues, Discussions 和 Google)
[X] The problem can be stably reproduced (这个问题可以被稳定复现)
[ ] The problem is generated after upgrading (问题是在升级之后产生的)

Operating System (操作系统)
Linux
Golang Version (Go 版本)
1.20.x
Goravel Version (Goravel 版本)
1.13
Describe The Problem (描述问题)
When creating a Digital Ocean App on their App Platform, Goravel is unable to find the environment.
Because of this the application is unable to finish deploying.
Reproduction Code (复现代码或截图)
[2023-09-20 03:35:47] Please create .env and initialize it first.
[2023-09-20 03:35:47] Example command:
[2023-09-20 03:35:47] cp .env.example .env && go run . artisan key:generate

You need to add these files with your compiled application to the server:

but there isn't an actual .env file because the Environment configs are handled by the Digital Ocean panel.

For this situation, you need to implement your own route_service_provider.go and cover the system‘s.

app.Singleton(Binding, func(app foundation.Application) (any, error) {
    return {{Your own instance}}, nil
})

I'm new to GoLang. Is there an existing package to support this?

No, I think to add a .env file is the easy way for you.

It’s not possible without including it in Git. And then you cannot use the
dynamic services.
On Wed, Sep 20, 2023 at 8:16 PM Wenbo Han @.***> wrote:

No, I think to add a .env file is the easy way for you.
—
Reply to this email directly, view it on GitHub
https://github.com/goravel/goravel/issues/258#issuecomment-1728582800,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMJASBQNPU2HHB6PLU6CX3X3OBMJANCNFSM6AAAAAA47HYN4M
.
You are receiving this because you were mentioned.Message ID:
@.***>

Which service of Digital Ocean are you using?

Digital Ocean App Platform is what it’s call
On Wed, Sep 20, 2023 at 8:54 PM Wenbo Han @.***> wrote:

Which service of Digital Ocean are you using?
—
Reply to this email directly, view it on GitHub
https://github.com/goravel/goravel/issues/258#issuecomment-1728608103,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMJASCWE3JG5ADGD6BWGJDX3OF6BANCNFSM6AAAAAA47HYN4M
.
You are receiving this because you were mentioned.Message ID:
@.***>

Okay, I'll have a try, can you simply describe your deployment process?

Simply make an App Server from your repo and it will detect the environment
and setup the build accordingly. I did it without the Dockerfile.
On Wed, Sep 20, 2023 at 9:23 PM Wenbo Han @.***> wrote:

Okay, I'll have a try, can you simply describe your deployment process?
—
Reply to this email directly, view it on GitHub
https://github.com/goravel/goravel/issues/258#issuecomment-1728626893,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMJASBVJFBAECYE3BNPYTTX3OJKZANCNFSM6AAAAAA47HYN4M
.
You are receiving this because you were mentioned.Message ID:
@.***>

I appreciate you helping me, here is a bit more step-by-step guide.

https://cloud.digitalocean.com/apps/new
Select your Git repository and branch
You can click Edit Plan and select their Basic $5 monthly plan
Just click next through the rest of the steps and it should start deploying.

Related to https://github.com/goravel/goravel/issues/265, close this one.

authors: hwbrzzl jjjrmy

repo: goravel/goravel


text:
SDKError is raised when a Shippo Account is successfully created

https://github.com/goshippo/shippo-python-sdk/blob/c26003ab931a99c2a7426a9635a39dfb085efa61/src/shippo/shippo_accounts.py#L138
This line should expect a 201 status code instead of 200 since the create method's HTTP response code is 201. Currently, this condition is causing the SDK to raise an SDKError with the error message below:
https://github.com/goshippo/shippo-python-sdk/blob/c26003ab931a99c2a7426a9635a39dfb085efa61/src/shippo/shippo_accounts.py#L149

fixed in https://pypi.org/project/shippo/3.4.3/

@shippo-lueders thank you, Mike!

authors: shippo-lueders tarikozket

repo: goshippo/shippo-python-sdk