View Single Post
Old 06-06-2010, 11:46 PM   #9
q345
Member
q345 began at the beginning.
 
Posts: 23
Karma: 10
Join Date: May 2010
Device: none
This line works (problem is it tries to open file for writing)

Hi Kovid !

This line works. Thanks

I wound out that the problem (for some reason) is that it tries to open file for writing) I inserted before line 221 )

ff = open(path, 'r')
print ff
ff.close()

it print filename OK

but

ff = open(path, 'w')
print ff
ff.close()

Cries Errno 2 - No such file.

Again, I didn't check if it's the same for local directory or only for mountpoint. I don't have this problem for other metadata

I can't understand why it can't open this particular file for writing. Is locking might be involved. it was mounted with mount -t cifs
q345 is offline   Reply With Quote