[Zope-CMF] help! can't list folder contents anymore

larry_prikockis@NatureServe.org larry_prikockis@NatureServe.org
Wed, 14 Nov 2001 15:46:43 -0500


I hate to keep asking silly questions... but I'm kinda stuck...
I've been working with Zope 2.4.3 and the latest CMF 
all of a sudden, I get the following error when I try to "list folder
contents" from within a CMF portal.

Occurred at http://mysite/folder_contents
Error: Type and Traceback (innermost last):
  File /home/zoper/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/Publish.py,
line 171, in publish
  File /home/zoper/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/mapply.py,
line 160, in mapply
    (Object: folder_contents)
  File /home/zoper/Zope-2.4.1-linux2-x86/lib/python/ZPublisher/Publish.py,
line 112, in call_object
    (Object: folder_contents)
  File /home/zoper/zope/lib/python/Products/CMFCore/FSDTMLMethod.py, line
182, in __call__
    (Object: folder_contents)
  File
/home/zoper/Zope-2.4.1-linux2-x86/lib/python/DocumentTemplate/DT_String.py,
line 546, in __call__
    (Object: folder_contents)
  File
/home/zoper/Zope-2.4.1-linux2-x86/lib/python/DocumentTemplate/DT_Let.py,
line 148, in render
    (Object: filterString="REQUEST.get( 'folderfilter', '' )"
          filter="decodeFolderFilter( filterString )")
  File /home/zoper/zope/lib/python/DocumentTemplate/DT_In.py, line 669, in
renderwb
    (Object: listFolderContents( contentFilter=filter ))
  File
/home/zoper/Zope-2.4.1-linux2-x86/lib/python/DocumentTemplate/DT_Let.py,
line 148, in render
    (Object: obj="_.getitem('sequence-item', 0 )"
           folderish=isPrincipiaFolderish
           portalish="_.hasattr( obj, 'isPortalContent' )
                     and obj.isPortalContent"
           methodID="folderish and '/folder_contents' or ( portalish
                     and '/view' or '' )"
           getIcon="_.hasattr(obj, 'getIcon') and obj.getIcon()"
           icon="getIcon or _.getattr(obj, 'icon', '')")
  File /home/zoper/zope/lib/python/DocumentTemplate/DT_Var.py, line 280, in
render
    (Object: Type)
KeyError: Type

-----------------
Any idea what broke and/or how to fix it?

much thanks!
Larry

+
Larry J. Prikockis
Internet Systems Specialist, ABI
(effective in November, ABI will be known as NatureServe) 
ph:703-908-1833 / fax:703-908-1917 / Email:larry_prikockis@abi.org
www.abi.org * www.natureserve.org * www.infornatura.org
+
All parts should go together without forcing.  You must remember that the
parts you are reassembling were disassembled by you.  Therefore, if you
can't get them together again, there must be a reason.  By all means, do not
use a hammer.
	 -- IBM maintenance manual, 1925