[Zope-CMF] Missing skin files saga continues

seb bacon seb@jamkit.com
Wed, 13 Jun 2001 13:40:16 +0100


I'm now finding one of my skins directories is apparently empty on my
Linux box.  I dived in, armed only with pdb and a snorkel, and got:

> /mnt/zope/ProtoExtranet-2/Products/CMFCore/FSImage.py(130)_readFile()
-> try: data = file.read()
(Pdb) 
IOError: (2, 'No such file or directory')
> /mnt/zope/ProtoExtranet-2/Products/CMFCore/FSImage.py(130)_readFile()
-> try: data = file.read()
(Pdb) p file
<open file '/mnt/zope/ProtoExtranet-2/Products/JamkitTypes/skins/jamkit/mailin.png', mode 'rb' at 0x8a50f30>
(Pdb) p file.read()
*** IOError: <exceptions.IOError instance at 0x8a4d154>

Now, this was working before :S  The perms on that file are:

[seb@lenin ProtoExtranet-2]$ ls -l /mnt/zope/ProtoExtranet-2/Products/JamkitTypes/skins/jamkit/mailin.png 
-rwxr-xr-x    1 seb      users         274 Jun 13 12:46 /mnt/zope/ProtoExtranet-2/Products/JamkitTypes/skins/jamkit/mailin.png

So, the file exists, it's been opened, but reading it throws an error.

Investigations are continuing.  <deep breath>

seb