Giter Site home page Giter Site logo

Comments (7)

craigcitro avatar craigcitro commented on May 16, 2024

does it happen immediately or after an hour or so?

from bigrquery.

giacecco avatar giacecco commented on May 16, 2024

Immediately.

from bigrquery.

craigcitro avatar craigcitro commented on May 16, 2024

yowza -- i just tried the same thing and i got a segfault. stacktrace:

Waiting for authentication in browser...
Authentication complete.

 *** caught segfault ***
address 0x18, cause 'memory not mapped'

Traceback:
 1: .Call("R_fromJSON", content, as.integer(sum(simplify)), nullValue,     
     as.logical(simplifyWithNames), enc, stringFun, stringFunType)
 2: fromJSON(content, handler, default.size, depth, allowComments,     
     asText = FALSE, data, maxChar, simplify = simplify, ...,     
     nullValue = nullValue, simplifyWithNames = simplifyWithNames,     
     encoding = encoding, stringFun = stringFun)
 3: fromJSON(content, handler, default.size, depth, allowComments,     
     asText = FALSE, data, maxChar, simplify = simplify, ...,     
     nullValue = nullValue, simplifyWithNames = simplifyWithNames,     
     encoding = encoding, stringFun = stringFun)
 4: RJSONIO::fromJSON(parse_text(x, encoding = "UTF-8"), simplifyWithNames = 
     simplifyWithNames, ...)
 5: RJSONIO::fromJSON(parse_text(x, encoding = "UTF-8"), simplifyWithNames = 
     simplifyWithNames, ...)
 6: parser(content, ...)
 7: parse_auto(x$content, type, encoding, ...)
 8: content(req, type = type)
 9: oauth2.0_token(google, bigqr, scope = "https://www.googleapis.com/auth/bigquery")
10: get_access_cred()
11: paste("Bearer", access_token)
12: add_headers(Authorization = paste("Bearer", access_token))
13: sign_oauth2.0(get_access_cred()$access_token)
14: get_sig()
15: bq_post(url, body)
16: insert_query_job(project, dataset, query, billing)
17: query_exec("clitest", "another_ds", "SELECT COUNT(*) FROM [test]",
      billing = "clitest")

Segmentation fault: 11 (core dumped)

i'll try and look into this soon ... @hadley, does it work for you?

from bigrquery.

wsurles avatar wsurles commented on May 16, 2024

Same issue here

Waiting for authentication in browser...
Authentication complete.
Error: Invalid access credentials have been reset. Please try again.

from bigrquery.

hadley avatar hadley commented on May 16, 2024

I'm in the middle of an OAuth 2.0 overhaul in httr - once that's done, I'll take a look at this. I think it should be a relatively straightforward fix.

from bigrquery.

Mullefa avatar Mullefa commented on May 16, 2024

Same issue for me.

from bigrquery.

craigcitro avatar craigcitro commented on May 16, 2024

For anyone else who ran into this issue: I didn't bother trying to dig out the original cause, but I have another pull request out that makes everything work nicely with the new version of httr. Once that's merged, we should be back up and running.

from bigrquery.

Related Issues (20)

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.