RE: please help me to debud my local chat network program

2012-11-30 Thread Prasad, Ramit
Minh Dang wrote: > > can anyone help me? Chris Angelico has given you some good comments which should give you a direction to investigate. This list is a global list and you seem a tad impatient. It is normal to hear back from a few hours to a day or two. Even if I wanted to help, without cont

Re: please help me to debud my local chat network program

2012-11-29 Thread Chris Angelico
On Thu, Nov 29, 2012 at 8:03 PM, Minh Dang wrote: > can anyone help me? Look over my previous posts. I've made several suggestions that you haven't followed up on. Also, check out ESR's article on asking questions, which I also linked you to earlier. Take its advice. You'll help yourself, AND it

Re: please help me to debud my local chat network program

2012-11-29 Thread Minh Dang
can anyone help me? -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
ok, here is my code, zip http://www.mediafire.com/?ob4kokda81fj6xc -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Jorgen Grahn
On Wed, 2012-11-28, Chris Angelico wrote: > On Wed, Nov 28, 2012 at 1:50 PM, Minh Dang wrote: >> Hello everybody, i am doing my project: local network chat using python >> here is my file >> http://www.mediafire.com/?cc2g9tmsju0ba2m > > Hmm. Might I recommend some other means of sharing your code?

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
there are still these 2 problems and i don't know how to solve it -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Chris Angelico
On Thu, Nov 29, 2012 at 1:10 AM, Minh Dang wrote: > File "C:\Users\MINH_IT\workspace\project\src\project\client.py", line 60, > in main > rQueue, wQueue, xQueue = select.select(inputs, [], []) > OSError: [WinError 10038] An operation was attempted on something that is not > a socket Have

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
yes, it's run but appear: in server: Server is ready. Accepted connection from ('127.0.0.1', 5000) End connection from ('127.0.0.1', 5000) after connected, server close. in client: Connected to server at 127.0.0.1 : 4000 Traceback (most recent call last): File "C:\Users\MINH_IT\workspace\proje

Re: please help me to debud my local chat network program

2012-11-28 Thread Chris Angelico
On Wed, Nov 28, 2012 at 10:57 PM, Minh Dang wrote: > please help me, after changing broadcast, there are 2 bugs: > if __name__ == "__main__": > sys.exit(main()) > and > > rQueue, wQueue, xQueue = select.select(inputs, [], []) > please help me By "bug", I'm guessing you mean one of two things:

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
please help me, after changing broadcast, there are 2 bugs: if __name__ == "__main__": sys.exit(main()) and rQueue, wQueue, xQueue = select.select(inputs, [], []) please help me -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
yes, still have 2 bugs: sys.exit(main()) rQueue, wQueue, xQueue = select.select(inputs, [], []) -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Chris Angelico
On Wed, Nov 28, 2012 at 10:10 PM, Minh Dang wrote: > ok, in client.py, i change broadcastIP = "broadcast" to broadcastIP = > "127.0.0.1" but there are some bugs I doubt that that will work either. And you may need to be a little clearer on what you mean by "there are some bugs" - is it doing wha

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
ok, in client.py, i change broadcastIP = "broadcast" to broadcastIP = "127.0.0.1",it's ok, but there are some bugs sys.exit(main()) rQueue, wQueue, xQueue = select.select(inputs, [], []) -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Chris Angelico
On Wed, Nov 28, 2012 at 9:52 PM, Minh Dang wrote: > but, how can I fix it? I can't say that for sure, but did you read the bit at the end of my last post beginning "I think you probably want"? Try doing that, see what happens. ChrisA -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
ok, in client.py, i change broadcastIP = "broadcast" to broadcastIP = "127.0.0.1" but there are some bugs sys.exit(main()) rQueue, wQueue, xQueue = select.select(inputs, [], []) -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-28 Thread Minh Dang
but, how can I fix it? -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-27 Thread Chris Angelico
On Wed, Nov 28, 2012 at 4:47 PM, Minh Dang wrote: > ok, here is my code, zip > http://www.mediafire.com/?ob4kokda81fj6xc Thanks! That's a distinct improvement :) That code doesn't exactly match the traceback, though; there's client.py not pclient.py and the line numbers don't match. So I have to

Re: please help me to debud my local chat network program

2012-11-27 Thread Minh Dang
ok, here is my code, zip http://www.mediafire.com/?ob4kokda81fj6xc -- http://mail.python.org/mailman/listinfo/python-list

Re: please help me to debud my local chat network program

2012-11-27 Thread Chris Angelico
On Wed, Nov 28, 2012 at 1:50 PM, Minh Dang wrote: > Hello everybody, i am doing my project: local network chat using python > here is my file > http://www.mediafire.com/?cc2g9tmsju0ba2m Hmm. Might I recommend some other means of sharing your code? The unrar-free utility from the Debian repo won't

Re: please help me to debud my local chat network program

2012-11-27 Thread Terry Reedy
On 11/27/2012 9:50 PM, Minh Dang wrote: Hello everybody, i am doing my project: local network chat using python here is my file http://www.mediafire.com/?cc2g9tmsju0ba2m I am not familiar with .rar files and whether I can open them. Better to upload a standard .zip. when i compile client.py