Re: OSError[Error 5]

2007-05-23 Thread SamG
On May 23, 1:39 am, Miki [EMAIL PROTECTED] wrote:
 Hello SamG,

  I do this on PowerPC..

   import os
   os.listdir('/usr/bin')

  And endup getting this ...

  OSError: [Error 5] Input/output error:/usr/bin

 What happens when you run ls /usr/bin in the terminal?

 HTH,
 --
 Miki [EMAIL PROTECTED]http://pythonwise.blogspot.com


I get a perfect listing of /usr/bin folder.

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


OSError[Error 5]

2007-05-22 Thread SamG
Hi,

I do this on PowerPC..

 import os
 os.listdir('/usr/bin')

And endup getting this ...

OSError: [Error 5] Input/output error:/usr/bin

I use python 2.4.4 (Framework edition)

Could anybody help

PS: I have clean listing with python 2.3.5 but my requirement is for
python 2.4.4.

Thanx in advance.

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


Re: OSError[Error 5]

2007-05-22 Thread Miki
Hello SamG,

 I do this on PowerPC..

  import os
  os.listdir('/usr/bin')

 And endup getting this ...

 OSError: [Error 5] Input/output error:/usr/bin
What happens when you run ls /usr/bin in the terminal?

HTH,
--
Miki [EMAIL PROTECTED]
http://pythonwise.blogspot.com

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


Re: OSError[Error 5]

2007-05-22 Thread kaens
Try adding a trailing slash?

On 22 May 2007 03:52:23 -0700, SamG [EMAIL PROTECTED] wrote:
 Hi,

 I do this on PowerPC..

  import os
  os.listdir('/usr/bin')

 And endup getting this ...

 OSError: [Error 5] Input/output error:/usr/bin

 I use python 2.4.4 (Framework edition)

 Could anybody help

 PS: I have clean listing with python 2.3.5 but my requirement is for
 python 2.4.4.

 Thanx in advance.

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

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