Hello,
in my buildout I use Plone from egg's, so I use newes Plone 3.2rc1.
borg.project I also use from egg.
When I try to add borg.project to my Plone site, I see this error:
2008-12-27 02:18:29 ERROR Zope.SiteErrorLog
http://localhost:8080/kenis/+/borg.project.Project
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module zope.formlib.form, line 770, in __call__
Module zope.formlib.form, line 885, in render
Module zope.formlib.form, line 764, in render
Module plone.app.form._named, line 26, in __call__
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
Module Products.PageTemplates.PageTemplate, line 98, in pt_render
Module zope.pagetemplate.pagetemplate, line 117, in pt_render
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 891, in do_useMacro
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 957, in do_defineSlot
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 861, in do_defineMacro
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 957, in do_defineSlot
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 534, in do_optTag_tal
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 949, in do_defineSlot
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 891, in do_useMacro
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 861, in do_defineMacro
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 957, in do_defineSlot
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 525, in do_optTag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 824, in do_loop_tal
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 536, in do_optTag_tal
Module zope.tal.talinterpreter, line 521, in do_optTag
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 745, in do_insertStructure_tal
Module Products.PageTemplates.Expressions, line 221, in evaluateStructure
Module zope.tales.tales, line 696, in evaluate
- URL: index
- Line 114, Column 10
- Expression: <PathExpr standard:'widget'>
- Names:
{'container': <+ at /kenis/+>,
'context': <+ at /kenis/+>,
'default': <object object at 0x32528>,
'here': <+ at /kenis/+>,
'loop': {'widget':
<Products.PageTemplates.Expressions.PathIterator object at 0x78f80f0>},
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object
at 0x78a0760>,
'request': <HTTPRequest,
URL=http://localhost:8080/kenis/+/borg.project.Project>,
'root': <Application at >,
'template': <ImplicitAcquirerWrapper object at 0x78c56d0>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>,
'view': <Products.Five.metaclass.ProjectAddForm object at 0x76e4250>,
'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
object at 0x78c5790>}
Module zope.tales.expressions, line 217, in __call__
Module Products.PageTemplates.Expressions, line 161, in _eval
Module Products.PageTemplates.Expressions, line 123, in render
Module plone.app.form.widgets.uberselectionwidget, line 84, in __call__
Module zope.app.pagetemplate.viewpagetemplatefile, line 83, in __call__
Module zope.app.pagetemplate.viewpagetemplatefile, line 51, in __call__
Module zope.pagetemplate.pagetemplate, line 117, in pt_render
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 408, in do_startTag
Module zope.tal.talinterpreter, line 485, in attrAction_tal
Module zope.tales.tales, line 704, in evaluateText
Module zope.tales.tales, line 696, in evaluate
- URL:
/Users/jaro/Dev/kenis/eggs/plone.app.form-1.1.6-py2.4.egg/plone/app/form/widgets/ubermultiselectionwidget.pt
- Line 15, Column 2
- Expression: <PythonExpr (len(options['value']) == 0 and 'display:
none' or None)>
- Names:
{'args': (),
'context': <zope.schema._field.List object at 0x78caa10>,
'default': <object object at 0x32528>,
'loop': {},
'nothing': None,
'options': {'field': <zope.schema._field.List object at 0x78caa10>,
'name': 'form.managers',
'results': [],
'results_truncated': False,
'value': None},
'repeat': {},
'request': <HTTPRequest,
URL=http://localhost:8080/kenis/+/borg.project.Project>,
'template':
<zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile object
at 0x323b670>,
'usage': <zope.pagetemplate.pagetemplate.TemplateUsage object at
0x78f8370>,
'view':
<plone.app.form.widgets.uberselectionwidget.UberMultiSelectionWidget
object at 0x78caf90>,
'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
object at 0x78f8390>}
Module zope.tales.pythonexpr, line 59, in __call__
- __traceback_info__: (len(options['value']) == 0 and 'display: none'
or None)
Module <string>, line 0, in ?
TypeError: len() of unsized object
As I unterstand problem is with ubermultiselectionwidget, but this is
borg problem or plone ubermultiselectionwidget's problem?
--
Jaro
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers