Re: IOError: [Errno 28] No space left on device

2009-11-18 Thread Terry Reedy
hong zhang wrote: "cont_x --" doesn't work. So the above can't be the actual code. You never want to post the actual code you're running. That would make it too easy for people to help. It is typo. To avoid typos, copy and paste, as has been suggested many times. -- http://mail.python.

Re: IOError: [Errno 28] No space left on device

2009-11-18 Thread hong zhang
--- On Wed, 11/18/09, Grant Edwards wrote: > From: Grant Edwards > Subject: Re: IOError: [Errno 28] No space left on device > To: python-list@python.org > Date: Wednesday, November 18, 2009, 2:00 PM > On 2009-11-18, Diez B. Roggisch > > wrote: > > hong zhan

Re: IOError: [Errno 28] No space left on device

2009-11-18 Thread Grant Edwards
On 2009-11-18, Diez B. Roggisch wrote: > hong zhang wrote: >>> >>> > but following is good. >>> > >>> > cont_tx = 1 >>> > for i in >>> glob.glob('/sys/kernel/debug/ieee80211/phy*/iwlagn/data/continuous_tx'): >>> >with open(i, 'w') as f: >>> >print >>f, >>> cont_tx >>> >>> Well, if that works, th

Re: IOError: [Errno 28] No space left on device

2009-11-18 Thread hong zhang
--- On Wed, 11/18/09, Diez B. Roggisch wrote: > From: Diez B. Roggisch > Subject: Re: IOError: [Errno 28] No space left on device > To: python-list@python.org > Date: Wednesday, November 18, 2009, 12:11 PM > hong zhang wrote: > > > > > > > --- On W

Re: IOError: [Errno 28] No space left on device

2009-11-18 Thread hong zhang
--- On Wed, 11/18/09, Grant Edwards wrote: > From: Grant Edwards > Subject: Re: IOError: [Errno 28] No space left on device > To: python-list@python.org > Date: Wednesday, November 18, 2009, 9:22 AM > On 2009-11-18, hong zhang > wrote: > > >> Apparently the

Re: IOError: [Errno 28] No space left on device

2009-11-18 Thread Diez B. Roggisch
hong zhang wrote: > > > --- On Wed, 11/18/09, Grant Edwards wrote: > >> From: Grant Edwards >> Subject: Re: IOError: [Errno 28] No space left on device >> To: python-list@python.org >> Date: Wednesday, November 18, 2009, 9:22 AM >> On 2009-11-18,

Re: IOError: [Errno 28] No space left on device

2009-11-18 Thread hong zhang
--- On Wed, 11/18/09, Grant Edwards wrote: > From: Grant Edwards > Subject: Re: IOError: [Errno 28] No space left on device > To: python-list@python.org > Date: Wednesday, November 18, 2009, 9:22 AM > On 2009-11-18, hong zhang > wrote: > > >> Apparently the

Re: IOError: [Errno 28] No space left on device

2009-11-18 Thread Grant Edwards
On 2009-11-18, hong zhang wrote: >> Apparently the harddisk where you stored the file is full? It's not a real file, and takes up no space. > I have plenty space see: > $ df -l > Filesystem 1K-blocks Used Available Use% Mounted on > /dev/sda1 74027808 4910016 65357

Re: IOError: [Errno 28] No space left on device

2009-11-18 Thread Diez B. Roggisch
Lie Ryan schrieb: hong zhang wrote: --- On Tue, 11/17/09, Tim Chase wrote: From: Tim Chase Subject: Re: IOError: [Errno 28] No space left on device To: "Lie Ryan" Cc: python-list@python.org Date: Tuesday, November 17, 2009, 7:47 PM for i in glob.glob('/sys/kernel/debu

Re: IOError: [Errno 28] No space left on device

2009-11-17 Thread Lie Ryan
hong zhang wrote: --- On Tue, 11/17/09, Tim Chase wrote: From: Tim Chase Subject: Re: IOError: [Errno 28] No space left on device To: "Lie Ryan" Cc: python-list@python.org Date: Tuesday, November 17, 2009, 7:47 PM for i in glob.glob('/sys/kernel/debug/ieee80211/p

Re: IOError: [Errno 28] No space left on device

2009-11-17 Thread hong zhang
--- On Tue, 11/17/09, Tim Chase wrote: > From: Tim Chase > Subject: Re: IOError: [Errno 28] No space left on device > To: "Lie Ryan" > Cc: python-list@python.org > Date: Tuesday, November 17, 2009, 7:47 PM > >> for i in > glob.glob('/sys/kernel/debu

Re: IOError: [Errno 28] No space left on device

2009-11-17 Thread Tim Chase
for i in glob.glob('/sys/kernel/debug/ieee80211/phy*/iwlagn/data/continuous_tx'): with open(i, 'w') as f: print >>f, cont_tx work perfectly. But following get error like: print >>f, cont_tx IOError: [Errno 28] No space left on device A

Re: IOError: [Errno 28] No space left on device

2009-11-17 Thread hong zhang
--- On Tue, 11/17/09, Lie Ryan wrote: > From: Lie Ryan > Subject: Re: IOError: [Errno 28] No space left on device > To: python-list@python.org > Date: Tuesday, November 17, 2009, 6:59 PM > hong zhang wrote: > > List, > > > > My python script has a strange er

Re: IOError: [Errno 28] No space left on device

2009-11-17 Thread Lie Ryan
r like: print >>f, cont_tx IOError: [Errno 28] No space left on device def do_cont_tx( is_start): global cont_tx_started, stdscr if is_start == START and not cont_tx_started: cont_tx = 1 for i in glob.glob('/sys/kernel/debug/iee

IOError: [Errno 28] No space left on device

2009-11-17 Thread hong zhang
List, My python script has a strange error. cont_tx = 1 for i in glob.glob('/sys/kernel/debug/ieee80211/phy*/iwlagn/data/continuous_tx'): with open(i, 'w') as f: print >>f, cont_tx work perfectly. But following get error like: print >>f