From inhahe at gmail.com Thu Apr 24 23:52:35 2008 From: inhahe at gmail.com (inhahe) Date: Thu, 24 Apr 2008 17:52:35 -0400 Subject: [Medusa-dev] medusa not working, because i'm on windows? Message-ID: hi, i'm having a problem running medusa on windows. i get this error. C:\temp\medusa-0.5.4\medusa-0.5.4>cd demo C:\temp\medusa-0.5.4\medusa-0.5.4\demo>start_medusa.py warning: Computing default hostname info: Medusa (V1.11) started at Thu Apr 24 17:37:52 2008 Hostname: bitzip Port:80 info: FTP server started at Thu Apr 24 17:37:52 2008 Authorizer: Hostname: bitzip Port: 21 Traceback (most recent call last): File "C:\temp\medusa-0.5.4\medusa-0.5.4\demo\start_medusa.py", line 145, in ms = monitor.secure_monitor_server ('fnord', '127.0.0.1', MONITOR_PORT) File "C:\Python25\Lib\site-packages\medusa\monitor.py", line 262, in __init__ monitor_server.__init__ (self, hostname, port) File "C:\Python25\Lib\site-packages\medusa\monitor.py", line 165, in __init__ self.create_socket (socket.AF_INET, socket.SOCK_STREAM) File "C:\Python25\lib\asyncore.py", line 260, in create_socket self.add_channel() File "C:\Python25\lib\asyncore.py", line 243, in add_channel map = self._map File "C:\Python25\lib\asyncore.py", line 365, in __getattr__ return getattr(self.socket, attr) AttributeError: '_socketobject' object has no attribute '_map' i think it's because fnord is supposed to be some kind of loopback and i guess windows doesn't have that. how do i run medusa on windows? -------------- next part -------------- An HTML attachment was scrubbed... URL: From janssen at parc.com Thu Oct 9 02:51:50 2008 From: janssen at parc.com (Bill Janssen) Date: Wed, 8 Oct 2008 17:51:50 PDT Subject: [Medusa-dev] [Python-Dev] asyncore fixes in Python 2.6 broke Zope's version of medusa Message-ID: <16126.1223513510@parc.com> I thought I'd forward this along... Bill -------------- next part -------------- An embedded message was scrubbed... From: "Josiah Carlson" Subject: Re: [Python-Dev] asyncore fixes in Python 2.6 broke Zope's version of medusa Date: Wed, 8 Oct 2008 14:26:00 PDT Size: 5111 URL: From janssen at parc.com Fri Nov 28 20:47:56 2008 From: janssen at parc.com (Bill Janssen) Date: Fri, 28 Nov 2008 11:47:56 PST Subject: [Medusa-dev] medusa & asyncore.loop -- termination & GUI In-Reply-To: <3E94B37C.4010200@dtor.com> References: <3E94B37C.4010200@dtor.com> Message-ID: <60239.1227901676@parc.com> The Medusa http_server.http_request class makes a number of calls to "self.log_info", but has no "log_info" method. Here's a simple patch which adds one. Bill *** http_server.py 2003-07-03 17:24:02.000000000 -0700 --- http_server.py.fixed 2008-11-28 11:45:01.000000000 -0800 *************** *** 277,282 **** --- 277,285 ---- return time.strftime ( '%d/%b/%Y:%H:%M:%S ', gmt) + offset + def log_info (self, msg, level): + self.channel.log_info(msg, level) + def log (self, bytes): self.channel.server.logger.log ( self.channel.addr[0],