RSelenium icon indicating copy to clipboard operation
RSelenium copied to clipboard

Error in subprocess::process_kill(seleniumdrv)

Open nbarsch opened this issue 7 years ago • 4 comments

I am trying to scrape brooks baseball pitchfx data using RSelenium. I have R 3.5 installed, but installed binman, wdman, and RSelenium via github.

Seemingly randomly within my RSelenium code (it happens at different parts of the code) I get the ERROR:

Error in subprocess::process_kill(seleniumdrv) : 
  system kill() failed: Operation not permitted

This kills my remDr and crashes my loop code.

I've looked everywhere and can't find a solution, thank you in advance!

I launch the VM using:

  rD <- rsDriver()
  remDr <- rD$client
  remDr$setImplicitWaitTimeout(10000)
  remDr$navigate("http://www.brooksbaseball.net/pfxVB/pfx.php")

nbarsch avatar May 19 '18 22:05 nbarsch

I'm having this issue as well.

shubhamgandhi avatar Aug 19 '18 23:08 shubhamgandhi

@nbarsch What does your loop code look like?

juyeongkim avatar Sep 06 '18 01:09 juyeongkim

I am facing this issue too. Any workaround would be very helpful. Thanks,

ghost avatar Sep 21 '18 18:09 ghost

@Bogaso could you share a reproducible example (reprex).

juyeongkim avatar Sep 21 '18 18:09 juyeongkim