KeyError: 'first_name' error on Plone 2.1.2

8 views
Skip to first unread message

michael nt milne

unread,
Apr 7, 2006, 9:59:17 AM4/7/06
to Plone-Event...@googlegroups.com
Hi
 
A further issue that I've found when trying to export a list of registrants.....

  Module Products.PageTemplates.Expressions, line 174, in __call__
  Module Products.PageTemplates.Expressions, line 162, in _eval
  Module Products.PageTemplates.Expressions, line 116, in _eval
   - __traceback_info__: reg
  Module Products.PageTemplates.Expressions, line 320, in restrictedTraverse
   - __traceback_info__: {'path': ['first_name'], 'TraversalRequestNameStack': []}
KeyError: 'first_name'

--
michael

Justin Ryan

unread,
Apr 7, 2006, 7:04:33 PM4/7/06
to Plone-Event...@googlegroups.com
I've no idea what's up with this. We should be using Five/Zope3
components to handle export of summary data for a folder in a generic
and reusable way that will be supported by the community.

At least, I'm pretty sure that's how Enfold, PSol, Blue Dynamics, or
any of that ilk would do it. ;)


--
"you can tell, can't you?" -marvin

n...@futuresign.de

unread,
Apr 10, 2006, 9:50:06 AM4/10/06
to michael nt milne, Plone-Event...@googlegroups.com
I fixed it and attached the new version.
export_registrants.pt

Justin Ryan

unread,
Apr 10, 2006, 11:12:04 AM4/10/06
to Plone-Event...@googlegroups.com, michael nt milne
if you don't have commit access to collective, ask for it:

http://dev.plone.org/plone.org


--
"no, no, i'm being sarcastic,
but i'm also being serious"
-griz

michael nt milne

unread,
Apr 10, 2006, 11:18:59 AM4/10/06
to Justin Ryan, Plone-Event...@googlegroups.com
Thanks Nan. Excellent. I will try that out. Think I am still getting unicode issues though.

On 4/10/06, Justin Ryan <just...@gmail.com> wrote:
if you don't have commit access to collective, ask for it:

http://dev.plone.org/plone.org

On 4/10/06, n...@futuresign.de <n...@futuresign.de> wrote:
> >Hi
>
> >A further issue that I've found when trying to export a list of
> >registrants.....
>
> >  Module Products.PageTemplates.Expressions, line 174, in __call__
> >  Module Products.PageTemplates.Expressions, line 162, in _eval
> >  Module Products.PageTemplates.Expressions , line 116, in _eval

> >   - __traceback_info__: reg
> >  Module Products.PageTemplates.Expressions, line 320, in
> >restrictedTraverse
> >   - __traceback_info__: {'path': ['first_name'],
> >'TraversalRequestNameStack': []}
> >KeyError: 'first_name'
>
> I fixed it and attached the new version.
>
>
--
michael
Reply all
Reply to author
Forward
0 new messages