Re: Re: Bug
David Clymer <david-LEGOU7lN1jbY0TyS/[email protected]> Thu, 05 Jan 2006 20:09:38 -0500
| Newsgroups | gmane.comp.games.mud.client.lyntin |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2006-01-05 at 17:08 -0500, Eric Davis wrote:
> Basically, the thread is trying to communicate with lyntin when you have
> no engine object. I have a fix for this:
>
> 420 in net.py to be these 2 lines:
>
> if not self._shutdownflag:
> self._config.change("mudecho", "on")
>
> # output message so the user knows what happened.
> event.OutputEvent(message.Message("Lost connection to: %s\n" %
> self._host)).enqueue()
I believe there was a discussion of this a while ago, and the theory was
that a race condition existed such that the engine thread could shutdown
before the UI thread. It looks like Eugene modified things back in
November so that the UI is the main thread (rather than the lyntin
engine), meaning this should no longer happen. I just tried out cursesui
and I no longer get the error. You may want to try the latest from CVS.
-davidc
--
gpg-key: http://www.zettazebra.com/files/key.gpg
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQBDvcNS2XpGgG+SNaERAjEvAKDXCVk9A2RWiCyNg4qP0+Vd2jmtWgCdGzLj BSxK1JjSOlqGILxV8Gc4frg= =OVOG -----END PGP SIGNATURE-----