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


Groups > comp.lang.python > #28408

Re: Error 32 - Broken Pipe . Please Help!!

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <gandalf@shopzeus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'broken': 0.03; 'exception': 0.03; 'output': 0.04; 'error:': 0.05; 'skip:" 60': 0.05; 'subject:Error': 0.07; '#print': 0.09; 'indicates': 0.09; 'subject:Help': 0.10; 'thread': 0.11; '24,': 0.16; 'skip:" 70': 0.16; 'subject:Broken': 0.16; 'threading': 0.16; 'skip:" 30': 0.20; 'pipe': 0.22; 'raise': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; '(most': 0.27; 'possibility': 0.27; 'module.': 0.27; 'run': 0.28; 'case,': 0.29; 'skip:_ 10': 0.29; 'code': 0.31; 'file': 0.32; 'print': 0.32; 'traceback': 0.33; 'to:addr:python-list': 0.33; 'another': 0.33; 'program,': 0.34; 'received:192.168.0': 0.35; 'subject:Please': 0.36; 'should': 0.36; 'subject:: ': 0.38; 'shows': 0.38; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'received:192.168': 0.40; 'your': 0.60; 'range': 0.60; 'received:62': 0.62; 'more': 0.63; 'received:192.168.0.101': 0.84; 'received:192.168.13': 0.84; 'received:62.179': 0.84; 'received:62.179.121': 0.84; 'received:upcmail.net': 0.84; 'self.run()': 0.84; 'subject: . ': 0.84; 'hopes': 0.91; 'subject:!!': 0.91; 'yours.': 0.93
X-SourceIP 89.134.225.226
Date Tue, 04 Sep 2012 19:21:54 +0200
From Laszlo Nagy <gandalf@shopzeus.com>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Error 32 - Broken Pipe . Please Help!!
References <a4c3d8fe-b5d6-46aa-b97f-9f8af00bdf2d@googlegroups.com>
In-Reply-To <a4c3d8fe-b5d6-46aa-b97f-9f8af00bdf2d@googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 8bit
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.182.1346779324.27098.python-list@python.org> (permalink)
Lines 47
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1346779324 news.xs4all.nl 6899 [2001:888:2000:d::a6]:54042
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:28408

Show key headers only | View raw


2012.09.04. 19:08 keltezéssel, Sreenath k írta:
> Error:
>
>
> Exception in thread Thread-1:
> Traceback (most recent call last):
>    File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
>      self.run()
>    File "/usr/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/monitor.py", line 575, in run
>      already_pickled=True)
>    File "/usr/lib/python2.7/dist-packages/spyderlib/utils/bsdsocket.py", line 24, in write_packet
>      sock.send(struct.pack("l", len(sent_data)) + sent_data)
> error: [Errno 32] Broken pipe
>
> Code :
>
> #code
>
> s=1
> f=0
> c=0
>
> for i in range (1,100):
>      c=0
>      for j in (1,i):
>          s+=j
>          c=0
>          for k in range(1,(s/2+1)):
>              #print s
>              t=s%k
>              if t==0:
>                  c+=1
>                  if c>=5:
>                      f=1
>                      print s
>                      break
>
> print s
>      
> #code ends.
>
> The program is runnning. It has been more than 10 minutes ( currently). Should I raise my hopes for an answer ?
It must not be your full program. The traceback shows "Thread-1" which 
indicates that you are using the threading module. The other possibility 
is that you are feeding the output of your program into another program 
with a pipeline. In that case, the exception might have occured in the 
other program, not yours.

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


Thread

Error 32 - Broken Pipe . Please Help!! Sreenath k <sreenathk17296@gmail.com> - 2012-09-04 10:08 -0700
  Re: Error 32 - Broken Pipe . Please Help!! Laszlo Nagy <gandalf@shopzeus.com> - 2012-09-04 19:21 +0200
  Re: Error 32 - Broken Pipe . Please Help!! Emile van Sebille <emile@fenx.com> - 2012-09-04 10:26 -0700
  Re: Error 32 - Broken Pipe . Please Help!! Ramchandra Apte <maniandram01@gmail.com> - 2012-09-04 20:40 -0700
    Re: Error 32 - Broken Pipe . Please Help!! Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-05 01:33 -0400
    Re: Error 32 - Broken Pipe . Please Help!! Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-05 08:38 +0100

csiph-web