Hello,
Some code using RGoogleDocs, which had been working smoothly since the
summer, just stopped working. I know that it worked on November 3rd, but it
doesn't work today. I've confirmed that the login and password still work
when I log in manually. I've confirmed that the URL gives the same error
when I paste it into Firefox. I don't know enough about this web service to
figure out the problem myself, alas...
Here's the error and other info (login/password omitted):
> ss.con <- getGoogleDocsConnection(login=gd.login, password=gd.password,
service='wise', error=FALSE)
Error: Forbidden
Enter a frame number, or 0 to exit
1: getGoogleDocsConnection(login = gd.login, password = gd.password, service
= "wise", error = FALSE)
2: getGoogleAuth(..., error = error)
3: getForm("https://www.google.com/accounts/ClientLogin", accountType =
"HOSTED_OR_GOOGLE", Email = login, Passw
4: getURLContent(uri, .opts = .opts, .encoding = .encoding, binary = binary,
curl = curl)
5: stop.if.HTTP.error(http.header)
Selection: 4
Called from: eval(expr, envir, enclos)
Browse[1]> http.header
Content-Type
Cache-control Pragma
"text/plain" "no-cache,
no-store" "no-cache"
Expires Date
X-Content-Type-Options
"Mon, 01-Jan-1990 00:00:00 GMT" "Wed, 10 Nov 2010 15:24:39
GMT" "nosniff"
X-XSS-Protection
Content-Length Server
"1; mode=block"
"24" "GSE"
status statusMessage
"403" "Forbidden\r\n"
Browse[1]> url
[1] "
https://www.google.com/accounts/ClientLogin?accountType=HOSTED%5FOR%5FGOOGLE&Email=***&Passwd=***&service=wise&source=R%2DGoogleDocs%2D0%2E1
"
Browse[1]> .opts
$ssl.verifypeer
[1] FALSE
> R.Version()
$platform
[1] "i386-apple-darwin9.8.0"
$arch
[1] "i386"
$os
[1] "darwin9.8.0"
$system
[1] "i386, darwin9.8.0"
$status
[1] ""
$major
[1] "2"
$minor
[1] "10.1"
$year
[1] "2009"
$month
[1] "12"
$day
[1] "14"
$`svn rev`
[1] "50720"
$language
[1] "R"
$version.string
[1] "R version 2.10.1 (2009-12-14)"
> installed.packages()[c('RCurl', 'RGoogleDocs'), ]
Package
LibPath Version Priority Bundle
Contains
RCurl "RCurl"
"/Users/hharris/Library/R/2.10/library" "1.4-3" NA NA
NA
RGoogleDocs "RGoogleDocs"
"/Library/Frameworks/R.framework/Resources/library" "0.4-1" NA NA
NA
Depends Imports LinkingTo Suggests
Enhances OS_type License Built
RCurl "R (>= 2.7.0), methods, bitops" NA NA "Rcompression"
NA NA "BSD" "2.10.1"
RGoogleDocs "RCurl, XML, methods" NA NA NA
NA NA "BSD" "2.10.1"
Any ideas? Thank you!
-Harlan
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.