Skip to content
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

Issue with dropbox_get() #6

Open
BERENZ opened this issue Feb 3, 2013 · 5 comments
Open

Issue with dropbox_get() #6

BERENZ opened this issue Feb 3, 2013 · 5 comments

Comments

@BERENZ
Copy link

BERENZ commented Feb 3, 2013

Hi there,

I have problem with dropbox_get function. I have connected to my dropbox and there is no problem using function dropbox_save, but when I want to download csv file, I get an error.

Could you help me with that? I would be very grateful!

library(rDrop)
drop_token<-dropbox_auth('key','secret_key',ssl.verifypeer=FALSE)

Use the Web browser to grant permission to this code
to access Dropbox on your behalf.
When you see 'Success!', hit enter in R
Dropbox authentication completed successfully.

exists.in.dropbox(drop_token,'kgh.csv',ssl.verifypeer=FALSE)
[1] TRUE

df2<-dropbox_get(drop_token,'kgh.csv',ssl.verifypeer=FALSE)

Error in function (type, msg, asError = TRUE)  : 
  SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

db.read.csv do not work either...and I get this error:

Error in fromJSON(OAuthRequest(cred, "https://api.dropbox.com/1/search/dropbox/",  : 
  error in evaluating the argument 'content' in selecting a method for function 'fromJSON': Error in function (type, msg, asError = TRUE)  : 
  SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

I work on Windows 7 64 bit and here is my session.info.

R version 2.15.2 (2012-10-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)

locale:
[1] LC_COLLATE=Polish_Poland.1250  LC_CTYPE=Polish_Poland.1250    LC_MONETARY=Polish_Poland.1250 LC_NUMERIC=C                   LC_TIME=Polish_Poland.1250    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] rDrop_0.3        stringr_0.6.2    colorspace_1.2-1 Rcpp_0.10.2      plyr_1.8         ROAuth_0.92.0    digest_0.6.2     RCurl_1.95-3     bitops_1.0-5     RJSONIO_1.0-1   

loaded via a namespace (and not attached):
[1] tools_2.15.2

edit:
dropbox_media do not work either.

@karthik
Copy link
Owner

karthik commented Feb 6, 2013

Hi Maceij,
Thanks for posting this issue. I won't have a chance to get on it till early next week but will ping you then.

On Sunday, February 3, 2013 at 12:10 PM, Maciej Beręsewicz wrote:

Hi there,
I have problem with dropbox_get function. I have connected to my dropbox and there is no problem using function dropbox_save, but when I want to download csv file, I get an error.
Could you help me with that? I would be very grateful!
library(rDrop) drop_token<-dropbox_auth('key','secret_key',ssl.verifypeer=FALSE) Use the Web browser to grant permission to this code to access Dropbox on your behalf. When you see 'Success!', hit enter in R Dropbox authentication completed successfully. exists.in.dropbox(drop_token,'kgh.csv',ssl.verifypeer=FALSE) [1] TRUE df2<-dropbox_get(drop_token,'kgh.csv',ssl.verifypeer=FALSE) Error in function (type, msg, asError = TRUE) : SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

db.read.csv do not work either...and I get this error:
Error in fromJSON(OAuthRequest(cred, "https://api.dropbox.com/1/search/dropbox/", : error in evaluating the argument 'content' in selecting a method for function 'fromJSON': Error in function (type, msg, asError = TRUE) : SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

I work on Windows 7 64 bit and here is my session.info (http://session.info).
R version 2.15.2 (2012-10-26) Platform: x86_64-w64-mingw32/x64 (64-bit) locale: [1] LC_COLLATE=Polish_Poland.1250 LC_CTYPE=Polish_Poland.1250 LC_MONETARY=Polish_Poland.1250 LC_NUMERIC=C LC_TIME=Polish_Poland.1250 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] rDrop_0.3 stringr_0.6.2 colorspace_1.2-1 Rcpp_0.10.2 plyr_1.8 ROAuth_0.92.0 digest_0.6.2 RCurl_1.95-3 bitops_1.0-5 RJSONIO_1.0-1 loaded via a namespace (and not attached): [1] tools_2.15.2


Reply to this email directly or view it on GitHub (#6).

@BERENZ
Copy link
Author

BERENZ commented Feb 7, 2013

Hi Karthik,
I would be very grateful if this issue can be resolved, it will be very helpful for my work. :)

@BERENZ
Copy link
Author

BERENZ commented Feb 18, 2013

Hi Karthik,
I would like to kindly ask you if you have time to look into my problem with dropbox_get function?

@karthik
Copy link
Owner

karthik commented Feb 19, 2013

Thanks for the reminder Maciej. I'll be back on this ASAP.  Will get back to you before Wednesday.

On Mon, Feb 18, 2013 at 4:46 AM, Maciej Beręsewicz
notifications@github.com wrote:

Hi Karthik,

I would like to kindly ask you if you have time to look into my problem with dropbox_get function?

Reply to this email directly or view it on GitHub:
#6 (comment)

@BERENZ BERENZ closed this as completed Feb 19, 2013
@BERENZ BERENZ reopened this Feb 19, 2013
@BERENZ
Copy link
Author

BERENZ commented Feb 19, 2013

Thank you very much :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants