-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling client.service.offline_user_data_job results in NameError: uninitialized constant Gapic::ServiceStub::ChannelPool
#464
Comments
Hi, just by changing the I think the issue is in https://github.com/googleads/google-ads-ruby/blob/main/google-ads-googleads.gemspec#L37 , the version needs to be adjusted for Until the gemspec gets fixed, simply add following line in your local Gemfile and run
|
^ ^ Thanks for figuring out the cause! I tried the above and things started working. However, this seems to require googleauth 1.0.0. Our code base also uses google_drive 3.0.7, which requires googleauth < 1.0.0. I'm assuming even when gemspec gets fixed, this conflict would still remain. Does anybody know? |
Thank you for the report. I tested older versions of I will make a release once thats merged. |
Version |
Amazing! Thanks so much @danielfrg! |
For anyone tracking this issue, 25.0.2 was released today to address a dependency issue in 25.0.1. Things are working on my end now. |
Describe the bug:
Calling client.service.offline_user_data_job results in
NameError: uninitialized constant Gapic::ServiceStub::ChannelPool
Steps to Reproduce:
Expected behavior:
Return a new instance of
offline_user_data_job
Client library version and API version:
Client library version: 25.0.0
Google Ads API version: v15
Gemfile.lock gems/dependencies:
Request/Response Logs:
NameError: uninitialized constant Gapic::ServiceStub::ChannelPool
/home/vagrant/.rvm/gems/ruby-2.6.3@automator/gems/google-ads-googleads-25.0.0/lib/google/ads/google_ads/v15/services/offline_user_data_job_service/operations.rb:721:in
channel_pool' /home/vagrant/.rvm/gems/ruby-2.6.3@automator/gems/google-ads-googleads-25.0.0/lib/google/ads/google_ads/v15/services/offline_user_data_job_service/operations.rb:98:in
initialize'/home/vagrant/.rvm/gems/ruby-2.6.3@automator/gems/google-ads-googleads-25.0.0/lib/google/ads/google_ads/v15/services/offline_user_data_job_service/client.rb:135:in
new' /home/vagrant/.rvm/gems/ruby-2.6.3@automator/gems/google-ads-googleads-25.0.0/lib/google/ads/google_ads/v15/services/offline_user_data_job_service/client.rb:135:in
initialize'/home/vagrant/.rvm/gems/ruby-2.6.3@automator/gems/google-ads-googleads-25.0.0/lib/google/ads/google_ads/factories/v15/services.rb:1966:in
new' /home/vagrant/.rvm/gems/ruby-2.6.3@automator/gems/google-ads-googleads-25.0.0/lib/google/ads/google_ads/factories/v15/services.rb:1966:in
offline_user_data_job'Anything else we should know about your project / environment:
The exact same code snippet provided above works perfectly when using v13 / client library 22.0, as well as v14 / client library 24.0. It only fails for v15 / client library 25.0.
The text was updated successfully, but these errors were encountered: