Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #33993

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

Path csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.001
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'context': 0.05; 'everybody,': 0.05; 'skip:" 60': 0.05; 'subject:help': 0.07; 'python': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'terry': 0.09; 'bug': 0.10; '42,': 0.16; 'elsewhere,': 0.16; 'elsewhere.': 0.16; 'oserror:': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject:program': 0.16; 'wrote:': 0.17; 'jan': 0.18; 'defined': 0.22; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; '(most': 0.27; 'necessary.': 0.27; 'subject:please': 0.27; 'header:X-Complaints-To:1': 0.28; 'project:': 0.29; 'usually': 0.30; 'file': 0.32; 'traceback': 0.33; 'to:addr:python-list': 0.33; 'whatever': 0.35; 'open': 0.35; 'doing': 0.35; 'pm,': 0.35; 'there': 0.35; 'received:org': 0.36; 'skip:u 20': 0.36; 'should': 0.36; 'subject:: ': 0.38; 'files': 0.38; 'some': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'address': 0.60; 'here': 0.65; 'broadcast': 0.65; 'dang': 0.84; 'received:fios.verizon.net': 0.84; 'subject:chat': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: please help me to debud my local chat network program
Date Tue, 27 Nov 2012 22:48:16 -0500
References <8edb652f-c48f-4758-a315-3ecc8070267d@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host pool-173-75-251-66.phlapa.fios.verizon.net
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2
In-Reply-To <8edb652f-c48f-4758-a315-3ecc8070267d@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.327.1354074525.29569.python-list@python.org> (permalink)
Lines 27
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1354074525 news.xs4all.nl 6861 [2001:888:2000:d::a6]:43945
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:33993

Show key headers only | View raw


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, there is some bug
> Traceback (most recent call last):
> File "C:\Users\MINH_IT\workspace\project\src\project\pclient.py", line 303, in <module>
> sys.exit(main())

sys.exit is not usually necessary. Just 'main()' should be sufficient.

> File "C:\Users\MINH_IT\workspace\project\src\project\pclient.py", line 42, in main
> servIP = broadcast()
> File "C:\Users\MINH_IT\workspace\project\src\project\pclient.py", line 79, in broadcast
> udpSock.bind((broadcastIP, broadcastPort))
> OSError: [WinError 10049] The requested address is not valid in its context

The broadcastIP, which you defined elsewhere, whatever it is, is not 
valid for udpSock, also defined elsewhere.

-- 
Terry Jan Reedy

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-27 18:50 -0800
  Re: please help me to debud my local chat network program Terry Reedy <tjreedy@udel.edu> - 2012-11-27 22:48 -0500
  Re: please help me to debud my local chat network program Chris Angelico <rosuav@gmail.com> - 2012-11-28 15:03 +1100
    Re: please help me to debud my local chat network program Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-11-28 21:12 +0000
      Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 18:48 -0800
  Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-27 21:47 -0800
    Re: please help me to debud my local chat network program Chris Angelico <rosuav@gmail.com> - 2012-11-28 17:33 +1100
  Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 02:52 -0800
    Re: please help me to debud my local chat network program Chris Angelico <rosuav@gmail.com> - 2012-11-28 22:16 +1100
      Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 03:17 -0800
      Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 03:17 -0800
  Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 03:10 -0800
    Re: please help me to debud my local chat network program Chris Angelico <rosuav@gmail.com> - 2012-11-28 22:17 +1100
  Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 03:23 -0800
  Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 03:57 -0800
    Re: please help me to debud my local chat network program Chris Angelico <rosuav@gmail.com> - 2012-11-28 23:24 +1100
      Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 06:10 -0800
        Re: please help me to debud my local chat network program Chris Angelico <rosuav@gmail.com> - 2012-11-29 01:21 +1100
          Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 07:27 -0800
          Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 07:27 -0800
      Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-28 06:10 -0800
  Re: please help me to debud my local chat network program Minh Dang <dangbaminh.it@gmail.com> - 2012-11-29 01:03 -0800
    Re: please help me to debud my local chat network program Chris Angelico <rosuav@gmail.com> - 2012-11-29 20:13 +1100
    RE: please help me to debud my local chat network program "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-11-30 20:11 +0000

csiph-web