[Zope-CMF] Custom Skins --getObjectFSPath KeyError

Martijn Pieters mj@digicool.com
Mon, 23 Apr 2001 10:27:59 +0200


On Sun, Apr 22, 2001 at 02:56:53AM -0400, marc lindahl wrote:
> I was digging into:
>  http://cmf.zope.org/PTK/Members/jshell/News/PrintablePage/view
> 
> but in step 2, I get this error...
> using zope 2.3.1 and CMF 1.0 with current updates from CVS.
> 
> 
> Anyone have an idea how to fix that??
> 
> 
> big ugly error output:
> -----------------------
> 
> An exception occurred in a DTML method or document.
> 
>          Error type: KeyError
>          Error value: getObjectFSPath

Hmm.. this sounds like you have a CVS checkout of CMF that either isn't
the most recent or complete, or you didn't restart your Zope server after
a CVS update.

The FS* family of objects (of which FSDTMLMethod is but one) has been
refactored in CVS, and the management screen you tried to call now tries
to access the new method name for determining the path for the file-based
DTML file it represents. The old version of the object doesn't define that
method, however.

Could you try a CVS update and a restart of your server, and let us know
if that helped?

-- 
Martijn Pieters
| Software Engineer  mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope   http://www.zope.org/
---------------------------------------------