GithubHelp home page GithubHelp logo

Google Auth change ! about gtfs-viz HOT 12 CLOSED

vasile avatar vasile commented on July 3, 2024
Google Auth change !

from gtfs-viz.

Comments (12)

dkjeune avatar dkjeune commented on July 3, 2024

GData::Client::AuthorizationError: request error 404: https://developers.google.com/accounts/docs/AuthForInstalledApps

from gtfs-viz.

Vedolin avatar Vedolin commented on July 3, 2024

@dkjeune, I just reached the same problem. If yoy need any test, let me know. I know noting of ruby or even fusion tables, but I'll try to learn as I try to get a workaround.

from gtfs-viz.

dkjeune avatar dkjeune commented on July 3, 2024

Hi, if you find a solution, let me know, i'm blocked.

from gtfs-viz.

vasile avatar vasile commented on July 3, 2024

Which fusion_tables gem version do you guys use ? /cc @dkjeune @Vedolin
Google deprecated some of the authentication APIs, i.e. you can't anymore auth via user/password, so you might need to install a previous version of the gems

from gtfs-viz.

dkjeune avatar dkjeune commented on July 3, 2024

Is there an other solution to run this script ?

from gtfs-viz.

vasile avatar vasile commented on July 3, 2024

Yes, there is but I need to know which version of these gems you guys are running. Also if you can add --trace to the rake task that fails and paste the content here would be helpful for debugging

from gtfs-viz.

dkjeune avatar dkjeune commented on July 3, 2024

here the errors

vzi noureddine$ rake project:deploy_fusiontables --trace
** Invoke project:deploy_fusiontables (first_time)
** Execute project:deploy_fusiontables
01:01:58 +0 : START Fusion Tables INSERTs
rake aborted!
GData::Client::AuthorizationError: request error 404: https://developers.google.com/accounts/docs/AuthForInstalledApps
/Library/Ruby/Gems/2.0.0/gems/gdata_19-1.1.5/lib/gdata/auth/clientlogin.rb:85:in get_token' /Library/Ruby/Gems/2.0.0/gems/gdata_19-1.1.5/lib/gdata/client/base.rb:157:inclientlogin'
/Users/noureddine/Documents/tomcat/webapps/vzi/inc/ft.rb:10:in init' /Users/noureddine/Documents/tomcat/webapps/vzi/inc/ft.rb:99:ingetTable'
/Users/noureddine/Documents/tomcat/webapps/vzi/inc/ft.rb:28:in update' /Users/noureddine/Documents/tomcat/webapps/vzi/Rakefile:435:inblock (3 levels) in <top (required)>'
/Users/noureddine/Documents/tomcat/webapps/vzi/Rakefile:434:in each' /Users/noureddine/Documents/tomcat/webapps/vzi/Rakefile:434:inblock (2 levels) in <top (required)>'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:240:in call' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:240:inblock in execute'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:235:in each' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:235:inexecute'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:179:in block in invoke_with_call_chain' /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/monitor.rb:211:inmon_synchronize'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:172:in invoke_with_call_chain' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/task.rb:165:ininvoke'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:150:in invoke_task' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:106:inblock (2 levels) in top_level'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:106:in each' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:106:inblock in top_level'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:115:in run_with_threads' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:100:intop_level'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:78:in block in run' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:176:instandard_exception_handling'
/Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:75:in run' /Library/Ruby/Gems/2.0.0/gems/rake-10.4.2/bin/rake:33:in<top (required)>'
/usr/bin/rake:23:in load' /usr/bin/rake:23:in

'
Tasks: TOP => project:deploy_fusiontables

from gtfs-viz.

umairakhtar123 avatar umairakhtar123 commented on July 3, 2024

Here is the list of my GEMS (just for your info)

GEM LIST

bigdecimal (1.2.0)
bouncy-castle-java (1.5.0147)
bundler (1.5.3)
bundler-unload (1.0.2)
executable-hooks (1.3.1)
fusion_tables (0.4.1, 0.4.0, 0.3.2)
gdata (1.1.2)
gdata_19 (1.1.5)
google-auth (0.0.2)
gem-wrappers (1.2.4)
hashie (3.4.2)
io-console (0.4.2)
jruby-openssl (0.9.4)
json (1.8.1, 1.7.7)
minitest (4.3.2)
multi_json (1.11.2)
oauth (0.4.7)
omniauth (1.2.2)
omniauth-google (1.0.2)
omniauth-oauth (1.1.0)
psych (2.0.0)
rack (1.6.4)
rake (10.1.1, 0.9.6)
rdoc (4.0.0)
rubygems-bundler (1.4.2)
rvm (1.11.3.9)
sqlite3 (1.3.9)
test-unit (2.0.0.0)

from gtfs-viz.

vivek2007 avatar vivek2007 commented on July 3, 2024

Hi @vasile
I am facing same issue, gem verion --- fusion_tables (0.4.1)

from gtfs-viz.

vivek2007 avatar vivek2007 commented on July 3, 2024

Hi @vasile now I am going upgrade the OAuth version 1.0 to OAuth 2.0 I followed below guidelines
https://developers.google.com/identity/protocols/OAuth_ref?hl=en#migration

and I added keys in login file, but still i am getting above same error
gem verion --- fusion_tables (0.4.1)

Thanks in advance

from gtfs-viz.

kalon33 avatar kalon33 commented on July 3, 2024

Hello everybody,

Any update on this ?

Thanks :)

from gtfs-viz.

vasile avatar vasile commented on July 3, 2024

Fixed with 78a8562
Sorry for taking so long, please give it a spin and let me know if it's working

from gtfs-viz.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.