← Back to team overview

zim-wiki team mailing list archive

Re: error starting web server

 

On Fri, Feb 22, 2013 at 11:07 AM, Xu Wang <xu4wang@xxxxxxxxx> wrote:
> I'm running zim from source code on windows using below command:
>
> D:\portable\zim>python zim.py --server -D
>
> the log file is as below:
>
> INFO: Locale set to: en_GB.cp936
> INFO: This is zim 0.59
> DEBUG: Python version is sys.version_info(major=2, minor=7, micro=2,
> releaseleve
> l='final', serial=0)
> DEBUG: Platform is nt
> DEBUG: Zim revision is:
>   branch: pyzim-trunk
>   revision: 636 pardus@xxxxxxxx-20130123210740-rquhot1l1yzx9w0i
>   date: 2013-01-23 22:07:40 +0100
> DEBUG: Running from a source dir: D:\portable\zim
>
> .....
> DEBUG: Loaded plugin "versioncontrol" (<VersionControlPlugin object at
> 0x1d9af58
>  (zim+plugins+PluginClass at 0xe4d1f0)>)
> INFO: Server starting at port 8080
> Traceback (most recent call last):
>   File "D:\portable\zim\zim\www.py", line 382, in <lambda>
>     lambda *a: self.do_accept_request())
>   File "D:\portable\zim\zim\www.py", line 414, in do_accept_request
>     requestline = rfile.readline()
>   File "d:\python27\lib\socket.py", line 447, in readline
>     data = self._sock.recv(self._rbufsize)
> socket.error: [Errno 10035] A non-blocking socket operation could not be
> complet
> ed immediately
>
> Is there anything wrong in my configuration or this is a bug?

Afraid this is a known issue, see the bug tracker. Need to rewrite
webserver to use more highlevel socket access.

> PS. the GUI version works with a lot of good features, but a little bit
> slow. So I'm trying to use the web interface for browsing and pyGTK GUI for
> editing.

Would be helpful if you could file a bug report with details what
exactly is working slow. In general web interface will never be faster
than a GUI interface unless there is a bug in the GUI code.

Regards,

Jaap


References