durusmail: quixote-users: Re: Help with using medusa
Help with using medusa
2004-06-18
2004-06-18
2004-06-18
2004-06-18
2004-06-18
2004-06-18
2004-06-18
2004-06-18
2004-06-18
Re: Help with using medusa
2004-06-18
2004-06-18
2004-06-18
2004-06-18
2004-06-19
2004-06-19
2004-06-19
2004-06-19
2004-06-20
Re: Help with using medusa
Vineet Jain
2004-06-19
Deleting the medusa\asyncore.py fixed the problem.

Thanks for all the amazing help. I've spent quite a bit of time on many
mailing lists but this one has to be one of the best.

Vineet

-----Original Message-----
From: quixote-users-bounces@mems-exchange.org
[mailto:quixote-users-bounces@mems-exchange.org]On Behalf Of Graham
Fawcett
Sent: Friday, June 18, 2004 9:22 PM
To: quixote-users@mems-exchange.org
Cc: quixote-users@mems-exchange.org
Subject: [Quixote-users] Re: Help with using medusa


Andrew nailed it -- there are two asyncore libraries on Vineet's computer.
Look
carefully at these two segements of Vineet's trace: you can see the tail of
the
filenames.

Here's where the http_server is added to the socket map of medusa.asyncore:

> es\medusa\asyncore.py:250 >>>           self.socket.setblocking(0)
> es\medusa\asyncore.py:251 >>>           self._fileno =
self.socket.fileno()
> es\medusa\asyncore.py:252 >>>           self.add_channel()

And here's the loop() call, in python23/lib/asyncore.

> ----------------------------------------------------------------------
> starting loop
> hon23\lib\asyncore.py:180 >>> def loop(timeout=30.0, use_poll=0,
map=None):
> hon23\lib\asyncore.py:181 >>>     if map is None:
> hon23\lib\asyncore.py:182 >>>         map = socket_map
> hon23\lib\asyncore.py:184 >>>     if use_poll:
> hon23\lib\asyncore.py:190 >>>         poll_fun = poll
> hon23\lib\asyncore.py:192 >>>     while map:
> hon23\lib\asyncore.py:192 >>>     while map:
> ----------------------------------------------------------------------
> stopping loop


Advice: delete medusa\asyncore.py, so that you're only dealing with the
standard-library installation; and all will be well.

-- Graham

_______________________________________________
Quixote-users mailing list
Quixote-users@mems-exchange.org
http://mail.mems-exchange.org/mailman/listinfo/quixote-users


reply