[racket] C:\Program Files (x86)\Racket\collects\web-server\private\dispatch-server-unit.rkt:96:6: tcp-write: error writing system error: Unknown error; errno=10053
I'm sorry Jo, I don't fully understand your question. It seems to be
about the OS's default browser setting? Or is it the DrRacket browser
setting (which can be changed in the preferences)? The error message
you see is innocuous and was removed from Racket a while ago... what
version are you using?
Jay
On Tue, Mar 12, 2013 at 2:19 AM, jo <etaoinbe at yahoo.com> wrote:
> program below does direct browser to the site requested but at same time
> also gives an error.
> How can I work around this error ? Used this with chrome as default
> browser. Is there a way to select different browsers without having to
> change default browser setting?
>
> #lang racket
>
> (require (planet esilkensen/yaml:2:=1))
> (require (planet dyoo/browser-evaluate:1:0))
> (require (planet gh/sha:1:1))
>
> (define (go-site url)
> (let* ( (code (format " window.location.href ='~a'; $SUCC(1);" url )) )
> (write (format "exec ~a" code ))
> (js-evaluate code ) ))
>
> ;
> (go-site "https://www.coursera.org/")
>
> fails with
>
> (evaluated "" "1" 1 "Chrome 25/Windows")
> . . C:\Program Files
> (x86)\Racket\collects\web-server\private\dispatch-server-unit.rkt:96:6:
> tcp-write: error writing
> system error: Unknown error; errno=10053
>>
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay
"The glory of God is Intelligence" - D&C 93