Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: IOError: [Errno 28] No space left on device

Reply
Thread Tools

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

 
 
Diez B. Roggisch
Guest
Posts: n/a
 
      11-18-2009
hong zhang wrote:

>
>
> --- On Wed, 11/18/09, Grant Edwards <(E-Mail Removed)> wrote:
>
>> From: Grant Edwards <(E-Mail Removed)>
>> Subject: Re: IOError: [Errno 28] No space left on device
>> To: http://www.velocityreviews.com/forums/(E-Mail Removed)
>> Date: Wednesday, November 18, 2009, 9:22 AM
>> On 2009-11-18, hong zhang <(E-Mail Removed)>
>> 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
>> 65357380¬*¬*¬*7% /
>>
>> That doesn't matter.¬* /sys doesn't contain real
>> files.¬* It's an
>> API to access kernel internals.
>>
>> > 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.

Diez
 
Reply With Quote
 
 
 
 
Grant Edwards
Guest
Posts: n/a
 
      11-18-2009
On 2009-11-18, Diez B. Roggisch <(E-Mail Removed)> 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.

--
Grant Edwards grante Yow! My mind is making
at ashtrays in Dayton ...
visi.com
 
Reply With Quote
 
 
 
 
Terry Reedy
Guest
Posts: n/a
 
      11-19-2009
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: IOError: [Errno 28] No space left on device hong zhang Python 2 11-18-2009 08:57 AM
IOError: [Errno 28] No space left on device hong zhang Python 2 11-18-2009 01:47 AM
Install Error: No space left on device - write (Errno::ENOSP Kurtis Rainbolt-greene Ruby 6 10-20-2009 03:40 PM
Space left on device sir_alex Python 1 01-16-2006 04:40 PM
Space left on device sir_alex Python 0 01-16-2006 03:52 PM



Advertisments