IOError: [Errno 28] No space left on device

Lie Ryan lie.1296 at gmail.com
Tue Nov 17 19:59:08 EST 2009


hong zhang wrote:
> 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, 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/ieee80211/phy*/iwlagn/data/continuous_tx'):
> 			with open(i, 'w') as f:
> 				print >>f, cont_tx
> 
> Too many layers?
> Thanks for help.

Apparently the harddisk where you stored the file is full?



More information about the Python-list mailing list