gojiplus / tuber

:sweet_potato: Access YouTube from R
http://gojiplus.github.io/tuber
Other
184 stars 55 forks source link

tuber Error: Error in readRDS(token) : error reading from connection #14

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi, I'm new using tuber.

I've created an APP and I already have the ID and KEY to that APP, but when I try to connect by using "yt_oauth" I get the Error in readRDS(token) : error reading from connection.

What am I doing wrong?

By the way, these are my key and ID:

my.youtube <- "487857702734-ch0kfe72akgk5158sojbggidsfsq8nqc.apps.googleusercontent.com" my.youtubeS <- "b51BRuBGvD6gD6jkuBTxXI7b" yt_oauth(my.youtube, my.youtubeS)

Thanks in advance.

soodoku commented 7 years ago

Dear @alexkreamas: Don't share your key etc. on a public site. I will investigate and get back asap.

ghost commented 7 years ago

Oh!, shame on me L

Thanks in advance. J

From: soodoku [mailto:notifications@github.com] Sent: martes, 17 de enero de 2017 12:45 p.m. To: soodoku/tuber Cc: alexkreamas; Mention Subject: Re: [soodoku/tuber] tuber Error: Error in readRDS(token) : error reading from connection (#14)

Dear @alexkreamas https://github.com/alexkreamas : Don't share your key etc. on a public site. I will investigate and get back asap.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/soodoku/tuber/issues/14#issuecomment-273260315 , or mute the thread https://github.com/notifications/unsubscribe-auth/AYADm9CYIwa0wQ7-YeHxcvc-gqaCI24dks5rTQw0gaJpZM4LlO3k .Description: Image removed by sender.


El software de antivirus Avast ha analizado este correo electrónico en busca de virus. https://www.avast.com/antivirus

soodoku commented 7 years ago

Good thing about oauth is that people can't still exploit this. But just as a general principle don't share these things.

ghost commented 7 years ago

Understood J

Thanks in advance.

From: soodoku [mailto:notifications@github.com] Sent: martes, 17 de enero de 2017 03:00 p.m. To: soodoku/tuber Cc: alexkreamas; Mention Subject: Re: [soodoku/tuber] tuber Error: Error in readRDS(token) : error reading from connection (#14)

Good thing about oauth is that people can't still exploit this. But just as a general principle don't share these things.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/soodoku/tuber/issues/14#issuecomment-273297818 , or mute the thread https://github.com/notifications/unsubscribe-auth/AYADm46f_Atr8yTvZJGJloDvvjRd2dtQks5rTSvTgaJpZM4LlO3k .Description: Image removed by sender.


El software de antivirus Avast ha analizado este correo electrónico en busca de virus. https://www.avast.com/antivirus

mikedehalpert commented 7 years ago

Hi - was there ever an answer on this one?

Thanks

ghost commented 7 years ago

Unfortunately not at this time :(

From: mikedehalpert [mailto:notifications@github.com] Sent: domingo, 19 de marzo de 2017 7:15 To: soodoku/tuber tuber@noreply.github.com Cc: alexkreamas alejandrorc@kreamas.com.mx; Mention mention@noreply.github.com Subject: Re: [soodoku/tuber] tuber Error: Error in readRDS(token) : error reading from connection (#14)

Hi - was there ever an answer on this one?

Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/soodoku/tuber/issues/14#issuecomment-287615909 , or mute the thread https://github.com/notifications/unsubscribe-auth/AYADm-jyVEZ__hKDpkNr292UBwtKmvYVks5rnSo-gaJpZM4LlO3k .

soodoku commented 7 years ago

This fell off my list because I haven't been able to replicate the issue at my end. It would be great if you could add further details. I would love to what version of tuber, what other packages you have installed, what version of R etc.

msched commented 7 years ago

Hey,

I get the same error - the R-version is 3.3.3 and here is the list of installed packages:

        Package   Version
          abind     1.4-5
        aplpack     1.3.0
            arm     1.9-3
     assertthat       0.1
      backports     1.0.5
      base64enc     0.1-3
             BH  1.62.0-1
            bit    1.1-12
          bit64     0.9-5
         bitops     1.0-6
            car     2.1-4
        caTools    1.17.1
      checkmate     1.8.2
           coda    0.19-1
            DBI       0.6
      dichromat     2.0-0
         digest    0.6.12
     doParallel    1.0.10
          e1071     1.6-8
        effects     3.1-2
       evaluate      0.10
        foreach     1.4.3
        formatR       1.4
        Formula     1.2-1
        ggplot2     2.2.1
       gridBase     0.4-7
      gridExtra     2.2.1
         gtable     0.2.0
          highr       0.6
      htmlTable       1.9
      htmltools     0.3.5
    htmlwidgets       0.8
         httpuv     1.3.3
           httr     1.2.1
         igraph     1.0.1
         instaR     0.2.4
          irlba     2.1.2
      iterators     1.0.8
          knitr    1.15.1
       labeling       0.3
   latticeExtra    0.6-28
       lazyeval     0.2.0
          leaps       3.0
           lme4    1.1-12
         lmtest    0.9-35
       magrittr       1.5
       markdown     0.7.7
     matrixcalc     1.0-3
   MatrixModels     0.4-1
             mi       1.0
           mime       0.5
          minqa     1.2.4
       multcomp     1.4-6
        munsell     0.4.3
        mvtnorm     1.0-6
         nloptr     1.0.4
            NLP    0.1-10
            NMF    0.20.6
        nortest     1.0-4
        openssl     0.9.6
       pbkrtest     0.4-7
       pkgmaker      0.22
           plyr     1.8.4
       quantreg      5.29
             R6     2.2.0
          Rcmdr     2.3-2
      RcmdrMisc     1.0-5
   RColorBrewer     1.1-2
      RcppEigen 0.3.2.9.1
          RCurl  1.95-4.8
         readxl     0.1.1
       registry       0.3
         relimp     1.0-5
       reshape2     1.4.2
      Rfacebook    0.6.11
            rgl    0.98.1
      rglwidget     0.2.1
          rjson    0.2.15
      rmarkdown       1.0
       rngtools     1.2.4
      rprojroot       1.2
       sandwich     2.3-4
            sem     3.1-8
          shiny     1.0.0
           slam    0.1-40
 SocialMediaLab    0.23.0
    sourcetools     0.1.5
        SparseM      1.76
        stringr     1.2.0
         tcltk2    1.2-11
        TH.data     1.0-8
         tibble       1.2
             tm     0.7-1
          tuber     0.7.0
        twitteR     1.1.9
        viridis     0.3.4
         xtable     1.8-2
           yaml    2.1.14
            zoo    1.7-14
   translations     3.3.3

Thank you in advance!

soodoku commented 7 years ago

@schedl thanks. are you on a mac or a PC?

msched commented 7 years ago

i'm on win10 -------- Ursprüngliche Nachricht --------Von: soodoku notifications@github.com Datum: 25.03.17 19:20 (GMT+01:00) An: soodoku/tuber tuber@noreply.github.com Cc: schedl mirko.schedlbauer@gmail.com, Mention mention@noreply.github.com Betreff: Re: [soodoku/tuber] tuber Error: Error in readRDS(token) : error reading from connection (#14) @schedl thanks. are you on a mac or a PC?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/soodoku/tuber","title":"soodoku/tuber","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/soodoku/tuber"}},"updates":{"snippets":[{"icon":"PERSON","message":"@soodoku in #14: @schedl thanks. are you on a mac or a PC?"}],"action":{"name":"View Issue","url":"https://github.com/soodoku/tuber/issues/14#issuecomment-289229757"}}}

soodoku commented 7 years ago

I have added specific error handling that allows us to track whether the program was able to read the token from the file or not. So please use the install_devtools version to install that as if the local token file is the problem.

Another idea would be to delete local .httr-oauth and try again.