RE: Local web server

> -----Original Message-----
> From: Michael[tm] Smith [mailto:mike@w3.org]
> Sent: Friday, March 25, 2016 1:26 PM
> To: Jim Schaad <ietf@augustcellars.com>
> Cc: public-webcrypto@w3.org
> Subject: Re: Local web server
> 
> Hi Jim,
> 
> Jim Schaad <ietf@augustcellars.com>, 2016-03-25 12:47 -0700:
> >
> > Right - so my first fail was using the wrong command line.  I was
> > running the built in simple server from python.  (python -m
> > simpleHTTPServer)
> 
> Yeah, sorry, I needn’t have mentioned that at all on the telcon, because you
> don’t have to care how the server is implemented. So it’s just distracting info—
> the only thing you ever actually need to do to start the server is just to run the
> `server` executable in the root directory.
> 
> > My second fail is that the scripts are setup to use python 2.7 and 3.4
> > will not work for a number of reasons (syntax error, urllib2 no longer
> > existing, ...)
> 
> Yeah, that limitation at least is documented relatively clearly:
> 
>   https://github.com/w3c/web-platform-tests#running-the-tests
> 
> > My third fail is that I do not have openssl my command line and the
> > application quietly fails without telling me that.
> 
> 
> That one also we have documented at the URL above and in more details at
> https://github.com/w3c/web-platform-tests#windows-notes

My problem is not a lack of openssl, but an excess of it.  I have multiple copies on my computer.  Remember that I am a crypto person.  And it is not on my path so I don't get the wrong version at any given time when I am doing various types of testing.

> 
> The gist of it is that you need to use the Shining Light installer:
> 
>   http://slproweb.com/products/Win32OpenSSL.html
> 
> > When I get a chance I will see if I can get to a fourth fail.
> 
> OK, please do ping me when you get there

Turns out that the lack of openssl on my computer, while a problem, was not the actual problem that I was having at the time.   After trying to debug things and pounding my head on the table, I noticed that there was not anybody calling the function main in serve.py.  I have no idea of how you are getting this done, but without an explicit call to main it does not work for me.  Rather it compiles the code and exits.

Jim

> 
>   —Mike
> 
> --
> Michael[tm] Smith https://people.w3.org/mike

Received on Friday, 25 March 2016 22:08:32 UTC