IOError: [Errno 28] No space left on device

hong zhang henryzhang62 at yahoo.com
Wed Nov 18 16:08:34 EST 2009



--- On Wed, 11/18/09, Grant Edwards <invalid at invalid.invalid> wrote:

> From: Grant Edwards <invalid at invalid.invalid>
> Subject: Re: IOError: [Errno 28] No space left on device
> To: python-list at python.org
> Date: Wednesday, November 18, 2009, 2:00 PM
> On 2009-11-18, Diez B. Roggisch
> <deets at nospam.web.de>
> 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, then what's your
> problem?
> >> 
> >> But error comes from following, above is good.
> That is point here.
> >> 
> >> 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/ieee80211/phy*/iwlagn/data/continuous_tx'):
> >> with open(i, 'w') as f: print >>f, cont_tx
> --
> >
> > "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.

> http://mail.python.org/mailman/listinfo/python-list
> 


      



More information about the Python-list mailing list