Stephen Warren <[EMAIL PROTECTED]> writes:

> I'll try to get direct access to a Mac from somebody at the local
> Linux Users Group to see if I can debug this more directly - not
> that I mind in any way debugging through you by proxy, but I figure
> this way we can get a result more quickly and it's less hassle for
> you!

Sure, if you're having fun working on this. Otherwise I wouldn't worry
about it as the chance of someone hosting tmda-ofmipd on OS X with the
--ssl option (remember that --tls works) isn't that likely I don't think.

> That looks like more of the same Python 2.5 issue with the new
> GeneratorExit exception. My patch for this only changed the one place it
> appeared to cause a problem, but there are possibly many places that
> need to be patched/audited. It's on the tlslite guy's TODO list, but
> perhaps I should take a stab at it.
>
> Perhaps you can retry on Python 2.3/2.4 and see if something different
> happens.

Here's Python 2.4 - 2.3 looks the same:

nadja:~/svn/tmda/trunk jasonrm$ python2.4 bin/tmda-ofmipd -f -d --ssl 
--ssl-cert=~/.tmda/nadja.pem  --ssl-key=~/.tmda/nadja.pem 
tmda-ofmipd started at Sun, 04 Mar 2007 15:31:22 -0700
        Listening on nadja:8025
TlsRecordLayer.__init__: Set self.closed at startup
Incoming connection from: ('172.18.3.101', 36958)
Incoming connection to: ('172.18.3.17', 8025)
error: uncaptured python exception, closing channel <__main__.SMTPServer 
listening nadja:8025 at 0x1338328> (exceptions.AssertionError: 
[/sw/lib/python2.4/asyncore.py|read|69] 
[/sw/lib/python2.4/asyncore.py|handle_read_event|385] 
[bin/tmda-ofmipd|handle_accept|1370] [bin/tmda-ofmipd|__init__|737] 
[bin/tmda-ofmipd|signon|762] [bin/tmda-ofmipd|push|767] 
[/sw/lib/python2.4/asynchat.py|push|160] 
[/sw/lib/python2.4/asynchat.py|initiate_send|219] [bin/tmda-ofmipd|send|502] 
[/sw/lib/python2.4/site-packages/tlslite/integration/AsyncStateMachine.py|setWriteOp|229]
 
[/sw/lib/python2.4/site-packages/tlslite/integration/AsyncStateMachine.py|_checkAssert|62])
TLSRecordLayer.writeAsync: Raise: Closed
TLSRecordLayer.writeAsync: Exception:
Traceback (most recent call last):
  File "/sw/lib/python2.4/site-packages/tlslite/TLSRecordLayer.py", line 272, 
in writeAsync
    raise ValueError()
ValueError
TlsRecordLayer._shutdown: Set self.closed
error: uncaptured python exception, closing channel <__main__.SMTPSession 
connected 172.18.3.101:36958 at 0x13383c8> (exceptions.ValueError: 
[/sw/lib/python2.4/asyncore.py|write|77] 
[/sw/lib/python2.4/asyncore.py|handle_write_event|398] 
[bin/tmda-ofmipd|handle_write|465] 
[/sw/lib/python2.4/site-packages/tlslite/integration/AsyncStateMachine.py|inWriteEvent|150]
 [bin/tmda-ofmipd|outWriteEvent|488] 
[/sw/lib/python2.4/asynchat.py|handle_write|153] 
[/sw/lib/python2.4/asynchat.py|initiate_send|219] [bin/tmda-ofmipd|send|502] 
[/sw/lib/python2.4/site-packages/tlslite/integration/AsyncStateMachine.py|setWriteOp|231]
 
[/sw/lib/python2.4/site-packages/tlslite/integration/AsyncStateMachine.py|_doWriteOp|181]
 [/sw/lib/python2.4/site-packages/tlslite/TLSRecordLayer.py|writeAsync|272])

_________________________________________________
tmda-workers mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to