Re: [Tutor] An attribute error problem

2005-03-29 Thread Kevin
Well I think I am going to learn how to create small little server the will just send and recive a message from a client. I just want to know is it easier to use twistedmatrix or just plain socket to create servers? Thanks Kevin On Tue, 29 Mar 2005 06:11:46 -0500, Kent Johnson <[EMAIL PROTECTED]

Re: [Tutor] An attribute error problem

2005-03-29 Thread Kent Johnson
Kevin wrote: Well I just noticed somthing about the entire sServer.py file. All the code under each def is not indented sServer.py mixes tabs and spaces for indentation. If you view it in an editor that indents 8 spaces for a tab it is fine. You might be interested in the reindent.py and untabify

Re: [Tutor] An attribute error problem

2005-03-28 Thread Kevin
Well I just noticed somthing about the entire sServer.py file. All the code under each def is not indented, after I fixed all the indentation I got a host of other errors when I try to log in. I posted the files on my site if you want to take a look at it. There are to many problems with it right n

Re: [Tutor] An attribute error problem

2005-03-28 Thread Kent Johnson
Kevin wrote: Here is the entire error message: Traceback (most recent call last): File "C:\Documents and Settings\Kevin\Desktop\New Folder\mudmaker\mmaker.py", line 55, in ? server.checkConnections(0.1) File "C:\Documents and Settings\Kevin\Desktop\New Folder\mudmaker\sServer.py", line 73,

Re: [Tutor] An attribute error problem

2005-03-28 Thread Kevin
Here is the entire error message: Traceback (most recent call last): File "C:\Documents and Settings\Kevin\Desktop\New Folder\mudmaker\mmaker.py", line 55, in ? server.checkConnections(0.1) File "C:\Documents and Settings\Kevin\Desktop\New Folder\mudmaker\sServer.py", line 73, in checkConn

Re: [Tutor] An attribute error problem

2005-03-28 Thread Kent Johnson
Kevin wrote: Nope it will still give the same Attribute error. Please post the entire error including the stack trace and the whole error message. Copy and paste the whole thing, don't transcribe it. Kent On Mon, 28 Mar 2005 13:50:07 -0500, Kent Johnson <[EMAIL PROTECTED]> wrote: Kevin wrote: Hi

Re: [Tutor] An attribute error problem

2005-03-28 Thread Kevin
Nope it will still give the same Attribute error. On Mon, 28 Mar 2005 13:50:07 -0500, Kent Johnson <[EMAIL PROTECTED]> wrote: > Kevin wrote: > > Hi, > > > > I fond this game on the internet I was able to fix most of the errors > > that it was giving and it will > > now start up ok. However when y

Re: [Tutor] An attribute error problem

2005-03-28 Thread Kent Johnson
Kevin wrote: Hi, I fond this game on the internet I was able to fix most of the errors that it was giving and it will now start up ok. However when you try to enter a name to login to the game it will crash and give this: in sServer.py line 42, in removeConnection self._descriptors.remove(conn.

[Tutor] An attribute error problem

2005-03-28 Thread Kevin
Hi, I fond this game on the internet I was able to fix most of the errors that it was giving and it will now start up ok. However when you try to enter a name to login to the game it will crash and give this: in sServer.py line 42, in removeConnection self._descriptors.remove(conn._fd) Attrib