[Zope-dev] 'NoneType' has no attribute 'lower'

Larry Lay larrylay2 at gmail.com
Thu Nov 10 09:28:14 EST 2005


when sorting using <...tal:repeat subsection
python:sequence.sort(subsections,(('title','nocase','asc'),))">

 I get the following error:
 Module DocumentTemplate.sequence.SortEx, line 134 in nocase
AttributeError: 'NoneType' has no attribute 'lower'
 When I switch the 'nocase' to 'cmp' the sort defaults to sorting by order
of entry or something.
 Any help would be greatly appreciated.
 Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-dev/attachments/20051110/cc2119ae/attachment.htm


More information about the Zope-Dev mailing list