Re: [Zope-dev] Medusa Asyncore patch
In article <003601c182e1$78ec9e70$3e28011c@rag2>, Dirk Datzert <[EMAIL PROTECTED]> wrote: >Hi, > >after applying the patch zope won't restart correclty for my version. >(python 2.1.1, zope 2.4.3) > >Traceback: > >2001-12-12T07:45:49 PANIC(300) z2 Startup exception >Traceback (innermost last): > File z2.py, line 625, in ? > File /usr/src/packages/BUILD/Zope-2.4.3-src/ZServer/HTTPServer.py, line >396, in >__init__ > File /usr/src/packages/BUILD/Zope-2.4.3-src/ZServer/medusa/http_server.py, >line >562, in __init__ > File /usr/src/packages/BUILD/Zope-2.4.3-src/ZServer/HTTPServer.py, line >410, in >create_socket >TypeError: unbound method create_socket() must be called with instance as >first ar >gument 1) I got the same problem. I managed to get Zope restarted by applying the patch directly on /usr/lib/python2.1/asyncore.py or Zope/lib/python2.1/asyncore.py 2) After successfully applying the patch, my server went down eventually after 12h: 2001-12-12T13:02:17 ERROR(200) ZServer uncaptured python exception, closing channel (exceptions.OSError:[Errno 11] Resource temporarily unavailable [/home/zope2/Zope/lib/python2.1/asyncore.py|poll|103] [/home/zope2/Zope/lib/python2.1/asyncore.py|handle_read_event|391] [/home/zope2/Zope-2.4.3-linux2-x86/ZServer/medusa/thread/select_trigger.py|handle_read|77] [/home/zope2/Zope/lib/python2.1/asyncore.py|recv|343] [/home/zope2/Zope/lib/python2.1/asyncore.py|recv|525]) (Same error I hoped I had corrected with the patch). S. -- Stéfane Fermigier, Tel: +33 (0)6 63 04 12 77 (mobile). http://nuxeo.com/ & http://portalux.com/ & http://aful.org/ ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Medusa Asyncore patch
Hi, after applying the patch zope won't restart correclty for my version. (python 2.1.1, zope 2.4.3) Traceback: 2001-12-12T07:45:49 PANIC(300) z2 Startup exception Traceback (innermost last): File z2.py, line 625, in ? File /usr/src/packages/BUILD/Zope-2.4.3-src/ZServer/HTTPServer.py, line 396, in __init__ File /usr/src/packages/BUILD/Zope-2.4.3-src/ZServer/medusa/http_server.py, line 562, in __init__ File /usr/src/packages/BUILD/Zope-2.4.3-src/ZServer/HTTPServer.py, line 410, in create_socket TypeError: unbound method create_socket() must be called with instance as first ar gument Dirk - Original Message - From: "Matthew T. Kromer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 11, 2001 5:50 PM Subject: [Zope-dev] Medusa Asyncore patch > > People having problems with medusa on Linux and Solaris (particularly > solaris) can try running this patch: > > http://www.zope.org/Members/matt/patchMedusa-asyncore.py > > Run it from your Zope root. It will copy asyncore.py from the python > lib and patch it using the "patch" command. > > > ___ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] Medusa Asyncore patch
People having problems with medusa on Linux and Solaris (particularly solaris) can try running this patch: http://www.zope.org/Members/matt/patchMedusa-asyncore.py Run it from your Zope root. It will copy asyncore.py from the python lib and patch it using the "patch" command. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )