relenium icon indicating copy to clipboard operation
relenium copied to clipboard

Error creating new object

Open rpremraj opened this issue 11 years ago • 12 comments

Hi --- using the example in the demo, I simply tried creating a new object and ran into the error below. Any suggestions on how to fix it?

Many thanks!

> library(relenium)
> library(XML)
> firefox <- firefoxClass$new()
Error in exceptionTable[, 1] : subscript out of bounds
> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages:
[1] XML_3.95-0.2   relenium_0.3.0 devtools_1.4.1 rJava_0.9-5   

loaded via a namespace (and not attached):
 [1] digest_0.6.4     evaluate_0.5.1   httr_0.2         memoise_0.1      parallel_3.0.2   RCurl_1.95-4.1  
 [7] seleniumJars_0.2 stringr_0.6.2    tools_3.0.2      whisker_0.3-2   

rpremraj avatar Jan 04 '14 19:01 rpremraj

Dear Rahul,

it seems a new version of selenium (the module that relenium is importing) is needed and we have to update it. We will do it briefly.

Sorry for the inconveniece

Aleix

On Sat, Jan 4, 2014 at 8:28 PM, Rahul Premraj [email protected]:

Hi --- using the example in the demo, I simply tried creating a new object and ran into the error below. Any suggestions on how to fix it?

Many thanks!

library(relenium) library(XML) firefox <- firefoxClass$new() Error in exceptionTable[, 1] : subscript out of bounds sessionInfo() R version 3.0.2 (2013-09-25) Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages: [1] XML_3.95-0.2 relenium_0.3.0 devtools_1.4.1 rJava_0.9-5

loaded via a namespace (and not attached): [1] digest_0.6.4 evaluate_0.5.1 httr_0.2 memoise_0.1 parallel_3.0.2 RCurl_1.95-4.1 [7] seleniumJars_0.2 stringr_0.6.2 tools_3.0.2 whisker_0.3-2

— Reply to this email directly or view it on GitHubhttps://github.com/LluisRamon/relenium/issues/8 .

Premature optimization is the root of all evil (Knuth, D.)

Aleix Ruiz de Villa Robert

aleixrvr avatar Jan 05 '14 00:01 aleixrvr

No worries! I look fwd to testing (and using) it. Would you be so kind as to ping me once you have updated the package?

Thanks again for your efforts, Rahul

On Sunday, January 5, 2014, aleixrvr wrote:

Dear Rahul,

it seems a new version of selenium (the module that relenium is importing) is needed and we have to update it. We will do it briefly.

Sorry for the inconveniece

Aleix

On Sat, Jan 4, 2014 at 8:28 PM, Rahul Premraj <[email protected]<javascript:_e({}, 'cvml', '[email protected]');>>wrote:

Hi --- using the example in the demo, I simply tried creating a new object and ran into the error below. Any suggestions on how to fix it?

Many thanks!

library(relenium) library(XML) firefox <- firefoxClass$new() Error in exceptionTable[, 1] : subscript out of bounds sessionInfo() R version 3.0.2 (2013-09-25) Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages: [1] XML_3.95-0.2 relenium_0.3.0 devtools_1.4.1 rJava_0.9-5

loaded via a namespace (and not attached): [1] digest_0.6.4 evaluate_0.5.1 httr_0.2 memoise_0.1 parallel_3.0.2 RCurl_1.95-4.1 [7] seleniumJars_0.2 stringr_0.6.2 tools_3.0.2 whisker_0.3-2

— Reply to this email directly or view it on GitHub< https://github.com/LluisRamon/relenium/issues/8> .

Premature optimization is the root of all evil (Knuth, D.)

Aleix Ruiz de Villa Robert

— Reply to this email directly or view it on GitHubhttps://github.com/LluisRamon/relenium/issues/8#issuecomment-31592603 .

rpremraj avatar Jan 05 '14 07:01 rpremraj

Ok!

We will tell you.

Enviado desde mi iPhone

El 05/01/2014, a las 08:13, Rahul Premraj [email protected] escribió:

No worries! I look fwd to testing (and using) it. Would you be so kind as to ping me once you have updated the package?

Thanks again for your efforts, Rahul

On Sunday, January 5, 2014, aleixrvr wrote:

Dear Rahul,

it seems a new version of selenium (the module that relenium is importing) is needed and we have to update it. We will do it briefly.

Sorry for the inconveniece

Aleix

On Sat, Jan 4, 2014 at 8:28 PM, Rahul Premraj <[email protected]<javascript:_e({}, 'cvml', '[email protected]');>>wrote:

Hi --- using the example in the demo, I simply tried creating a new object and ran into the error below. Any suggestions on how to fix it?

Many thanks!

library(relenium) library(XML) firefox <- firefoxClass$new() Error in exceptionTable[, 1] : subscript out of bounds sessionInfo() R version 3.0.2 (2013-09-25) Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages: [1] XML_3.95-0.2 relenium_0.3.0 devtools_1.4.1 rJava_0.9-5

loaded via a namespace (and not attached): [1] digest_0.6.4 evaluate_0.5.1 httr_0.2 memoise_0.1 parallel_3.0.2 RCurl_1.95-4.1 [7] seleniumJars_0.2 stringr_0.6.2 tools_3.0.2 whisker_0.3-2

— Reply to this email directly or view it on GitHub< https://github.com/LluisRamon/relenium/issues/8> .

Premature optimization is the root of all evil (Knuth, D.)

Aleix Ruiz de Villa Robert

— Reply to this email directly or view it on GitHubhttps://github.com/LluisRamon/relenium/issues/8#issuecomment-31592603 .

— Reply to this email directly or view it on GitHub.

aleixrvr avatar Jan 05 '14 10:01 aleixrvr

Rahul,

seleniumJars is updated. It seems to work now.

For any comments/bugs/suggestions, please don't hesitate to contact us!

Thanks, Aleix

On Sun, Jan 5, 2014 at 11:52 AM, Aleix Ruiz De Villa [email protected]:

Ok!

We will tell you.

Enviado desde mi iPhone

El 05/01/2014, a las 08:13, Rahul Premraj [email protected] escribió:

No worries! I look fwd to testing (and using) it. Would you be so kind as to ping me once you have updated the package?

Thanks again for your efforts, Rahul

On Sunday, January 5, 2014, aleixrvr wrote:

Dear Rahul,

it seems a new version of selenium (the module that relenium is importing) is needed and we have to update it. We will do it briefly.

Sorry for the inconveniece

Aleix

On Sat, Jan 4, 2014 at 8:28 PM, Rahul Premraj <[email protected]<javascript:_e({}, 'cvml', '[email protected]');>>wrote:

Hi --- using the example in the demo, I simply tried creating a new object and ran into the error below. Any suggestions on how to fix it?

Many thanks!

library(relenium) library(XML) firefox <- firefoxClass$new() Error in exceptionTable[, 1] : subscript out of bounds sessionInfo() R version 3.0.2 (2013-09-25) Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages: [1] XML_3.95-0.2 relenium_0.3.0 devtools_1.4.1 rJava_0.9-5

loaded via a namespace (and not attached): [1] digest_0.6.4 evaluate_0.5.1 httr_0.2 memoise_0.1 parallel_3.0.2 RCurl_1.95-4.1 [7] seleniumJars_0.2 stringr_0.6.2 tools_3.0.2 whisker_0.3-2

— Reply to this email directly or view it on GitHub< https://github.com/LluisRamon/relenium/issues/8> .

Premature optimization is the root of all evil (Knuth, D.)

Aleix Ruiz de Villa Robert

— Reply to this email directly or view it on GitHub< https://github.com/LluisRamon/relenium/issues/8#issuecomment-31592603> .

— Reply to this email directly or view it on GitHubhttps://github.com/LluisRamon/relenium/issues/8#issuecomment-31598239 .

Premature optimization is the root of all evil (Knuth, D.)

Aleix Ruiz de Villa Robert

aleixrvr avatar Jan 05 '14 11:01 aleixrvr

Hi folks,

Unfortunately, the issue persists...

> library(relenium)
> library(XML)
> firefox <- firefoxClass$new()
Error in exceptionTable[, 1] : subscript out of bounds
> 
> traceback()
8: lapply(X = X, FUN = FUN, ...)
7: sapply(exceptionTable[, 1], function(excpName) {
       grepl(excpName, javaWarMes)
   })
6: .self$tryExc(.jnew("org.openqa.selenium.firefox.FirefoxDriver"))
5: .Object$initialize(...)
4: initialize(value, ...)
3: initialize(value, ...)
2: methods::new(def, ...)
1: firefoxClass$new()
> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-apple-darwin10.8.0 (64-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages:
[1] XML_3.95-0.2   relenium_0.3.0

loaded via a namespace (and not attached):
[1] rJava_0.9-6        seleniumJars_0.3.0 tools_3.0.2  

rpremraj avatar Jan 05 '14 22:01 rpremraj

Please disregard the above post... the package works charmingly on my machine now :-)

Many thanks! Rahul

rpremraj avatar Jan 05 '14 22:01 rpremraj

Great!

Enviado desde mi iPhone

El 05/01/2014, a las 23:50, Rahul Premraj [email protected] escribió:

Please disregard the above post... the package works charmingly on my machine now :-)

Many thanks!

Rahul — Reply to this email directly or view it on GitHub.

aleixrvr avatar Jan 05 '14 23:01 aleixrvr

Hi @rpremraj, what have you done to solve this problem? I have the same problem that you had.

> firefox <- firefoxClass$new()
Error in exceptionTable[, 1] : subscript out of bounds
> traceback()
8: lapply(X = X, FUN = FUN, ...)
7: sapply(exceptionTable[, 1], function(excpName) {
       grepl(excpName, javaWarMes)
     ...
6: .self$tryExc(.jnew("org.openqa.selenium.firefox.FirefoxDriver"))
5: .Object$initialize(...)
4: initialize(value, ...)
3: initialize(value, ...)
2: methods::new(def, ...)
1: firefoxClass$new()

BTW, I am on OSX 10.9, R 3.1.0.

randy3k avatar Apr 22 '14 06:04 randy3k

Randy,

I think we have to update selenium. It worked last time. We will do it in brief.

Aleix

On Tue, Apr 22, 2014 at 8:05 AM, Randy Lai [email protected] wrote:

Hi @rpremraj https://github.com/rpremraj, what have you done to solve this problem? I have the same problem with you had.

firefox <- firefoxClass$new() Error in exceptionTable[, 1] : subscript out of bounds traceback() 8: lapply(X = X, FUN = FUN, ...) 7: sapply(exceptionTable[, 1], function(excpName) { grepl(excpName, javaWarMes) ... 6: .self$tryExc(.jnew("org.openqa.selenium.firefox.FirefoxDriver")) 5: .Object$initialize(...) 4: initialize(value, ...) 3: initialize(value, ...) 2: methods::new(def, ...) 1: firefoxClass$new()

Reply to this email directly or view it on GitHubhttps://github.com/LluisRamon/relenium/issues/8#issuecomment-41006692 .

Aleix Ruiz de Villa Robert

aleixrvr avatar Apr 23 '14 13:04 aleixrvr

Hi Randy,

I didn't notice about your issue because it was a closed issue. Sorry.

I have updated seleniumJars with the current selenium version 2.41.

Can you try it again with the updated version?

LluisRamon avatar May 02 '14 15:05 LluisRamon

Hi Randy,

I cannot explain why, but I re-installed Firefox on my Mac and the package worked just fine. Perhaps you could give this a shot.

Cheers, Rahul

rpremraj avatar May 02 '14 16:05 rpremraj

the last week, this problem back.

firefox <- firefoxClass$new() Error in exceptionTable[, 1] : subscript out of bounds

FernandoFelipe avatar Aug 05 '14 18:08 FernandoFelipe