On Tue, 5 Apr 2011 08:03:59 -0700 (PDT)
VR <[email protected]> wrote:

> On 5 Apr., 01:03, Terry Brown <[email protected]> wrote:
> > On Mon, 4 Apr 2011 15:04:42 -0700 (PDT)
> >
> > lewis <[email protected]> wrote:
> > > ImportError: No module named SimpleHTTPServer
> >
> > That's a python 2/3 issue, (I noticed you're running 3.2) but I suspect
> > mod_http doesn't work in 2.x either.  I can't remember exactly what it was 
> > supposed to do.
> 
> The plug-in started without any errors or warnings on Python 2.7.1
> even before revision 3949.

Does it show this message:

  1. Start Leo with the plugin enabled. You will see a purple message
   that says something like::
  
      "http serving enabled on port 8080, version 0.91"

(from the docstring)?

Glancing at it it seems kind of heavy code, having written 3-4
SimpleHTTPServer based things myself, one of those might be easier to
rewrite than fix kind of things.

At some point someone needs to write a jQuery based AJAX ui for
Leo :-)  I guess read only would be ok at first, although I could see
people would want write access.  I wonder if threading issues could be
avoided by communicating with the main Leo thread through a queue
processed onIdle, or whatever that callback's called.

Cheers -Terry

> However when trying to access http://localhost:8080/ the browser page
> *never* returns *nor*
> timeouts ...
> 
> With kind regards,
> 
> VR
> 
> PS: The reason I am interested in 'mod_http' is using it in
> combination with @rst nodes
>        as a kind of a personal Wiki ...
> 

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to