[kupu-dev] kupu 1.4 and smart folders error
sisi
sisi at foei.org
Mon Dec 11 16:38:26 CET 2006
Hi kupu-ers,
(apologies if this is not the right mailing list.)
I am getting an AttributeError: getNavTypes while trying to add a
location value criteria to a smart folder.
I add a smart folder anywhere in my site, and then in the criteria tab
select location. When I click on the browse button to choose my location
I get the following error:
Error 500 loading
http://10.0.0.25:8080/foeiMultisiteFolder/insite/kupumyitems.xml?instance=fca174ce9e5669a8eab4361e7740273c&resource_type=Topic.crit__path_ATPathCriterion_value
clicking on any of the folders (such as recent items) produces the same
result.
In addition to this, I get an error when I click on the "links" tab in
the kupu configlet. I will send that error in a separate email but
wanted to mention it here in case they are related (the error is
AttributeError: kupu_references)
I have "Link using UIDs" and "Allow captioned images" selected in my
kupu conf.
I have searched this list, the plone users list and done a google
search, as well as searching the main plone bug tracker, and the kupu
bug tracker. I have the idea something went wrong when I upgraded. I
replaced kupu 1.3 by grabbing 1.4 from svn, and reinstalling in the ZMI.
I also originally thought that the problems were because I did not have
xsltproc installed but I have since installed that, restarted zope and
reinstalled kupu in the ZMI. The error persists. (Maybe I have to make
sure xsltproc is in my path or reinstall kupu on the filesystem, but I
can't find any documentation about that)
Any enlightening information would be very gratefully received!
Cheers,
sisi
Version information:
Plone version: 2.1.4
Zope version: (Zope 2.8.6-final, python 2.3.5, linux2)
Browser: Firefox/1.5.0.4
Debug mode: No
kupu 1.4 (beta 2) installed (from svn)
Traceback:
Traceback (innermost last):
Module ZPublisher.Publish, line 114, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 40, in call_object
Module Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 195, in _exec
Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
Module Products.PageTemplates.PageTemplate, line 104, in pt_render
- <FSPageTemplate at /foeiMultisiteFolder/insite/kupumyitems.xml>
Module TAL.TALInterpreter, line 206, in __call__
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 711, in do_useMacro
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 734, in do_defineSlot
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 426, in do_optTag_tal
Module TAL.TALInterpreter, line 411, in do_optTag
Module TAL.TALInterpreter, line 406, in no_tag
Module TAL.TALInterpreter, line 250, in interpret
Module TAL.TALInterpreter, line 481, in do_setGlobal_tal
Module Products.PageTemplates.TALES, line 221, in evaluate
- URL: file:kupu/plone/kupu_plone_layer/kupumyitems.xml.pt
- Line 28, Column 7
- Expression: standard:'context/kupu_library_tool/getMyItems'
- Names:
{'container': <PloneSite at /foeiMultisiteFolder/insite>,
'context': <PloneSite at /foeiMultisiteFolder/insite>,
'default': <Products.PageTemplates.TALES.Default instance at
0x40ba5b2c>,
'here': <PloneSite at /foeiMultisiteFolder/insite>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at
0x47eb440c>,
'modules':
<Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
0x40bb6a2c>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at
0x47eb440c>,
'request': <HTTPRequest,
URL=http://10.0.0.25:8080/foeiMultisiteFolder/insite/kupumyitems.xml>,
'root': <Application at >,
'template': <FSPageTemplate at
/foeiMultisiteFolder/insite/kupumyitems.xml>,
'traverse_subpath': [],
'user': admin}
Module Products.PageTemplates.Expressions, line 185, in __call__
Module Products.PageTemplates.Expressions, line 180, in _eval
Module Products.PageTemplates.Expressions, line 85, in render
Module Products.kupu.plone.plonedrawers, line 635, in getMyItems
Module Products.kupu.plone.plonedrawers, line 666, in infoForQuery
Module Products.kupu.plone.plonedrawers, line 104, in getQuery
Module Products.kupu.plone.plonedrawers, line 96, in get_portal_types
AttributeError: getNavTypes
--
# sisi nutt # extranet coordinator
# Friends of the Earth International
# PO Box 19199 # 1000 GD Amsterdam # The Netherlands
# Tel 31 20 6221369 # Fax 31 20 6392181 # http://www.foei.org
# email sisi at foei.org # skype foei_sisi
More information about the kupu-dev
mailing list