It appears that Zope/Plone is not seeing anything in 'title'.&nbsp; I can put 'blahblah' in the code and get the same error.<br><br>
<div><span class="gmail_quote">On 11/10/05, <b class="gmail_sendername">Larry Lay</b> &lt;<a href="mailto:larrylay2@gmail.com">larrylay2@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I found no empty titles.&nbsp; Any other ideas? 
<div><span class="e" id="q_1077ab80d8d1e549_1"><br><br>
<div><span class="gmail_quote">On 11/10/05, <b class="gmail_sendername">Peter Bengtsson</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="mailto:peter@fry-it.com">peter@fry-it.com</a>
&gt; wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I suspect that one item in your 'subsections' variable is None.<br>Try:tal:repeat subsection python:sequence.sort
 ([x for x in subsections<br>if not None],(('title','nocase','asc'),))<br><br><br><br>On 11/10/05, Larry Lay &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="mailto:larrylay2@gmail.com">
larrylay2@gmail.com</a>&gt; wrote:<br>&gt; when sorting using &lt;...tal:repeat subsection <br>&gt; python:sequence.sort(subsections,(('title','nocase','asc'),))&quot;&gt;<br>&gt;<br>&gt; I get the following error:<br>&gt;
<br>&gt; Module DocumentTemplate.sequence.SortEx, line 134 in nocase<br>&gt;<br>&gt; AttributeError: 'NoneType' object has no attribute 'lower' <br>&gt;<br>&gt; When I switch the 'nocase' to 'cmp' the sort defaults to sorting by order
<br>&gt; of entry or something.<br>&gt;<br>&gt; Any help would be greatly appreciated.<br>&gt;<br>&gt; Thanks.<br>&gt;<br>&gt; _______________________________________________ <br>&gt; Zope maillist&nbsp;&nbsp;-&nbsp;&nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="mailto:Zope@zope.org">
Zope@zope.org</a><br>&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://mail.zope.org/mailman/listinfo/zope">http://mail.zope.org/mailman/listinfo/zope</a><br>&gt; **&nbsp;&nbsp; No cross posts or HTML encoding!&nbsp;&nbsp;** 
<br>&gt; (Related lists -<br>&gt;&nbsp;&nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://mail.zope.org/mailman/listinfo/zope-announce">http://mail.zope.org/mailman/listinfo/zope-announce</a>
<br>&gt;&nbsp;&nbsp;<a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://mail.zope.org/mailman/listinfo/zope-dev">http://mail.zope.org/mailman/listinfo/zope-dev </a>)<br>&gt;<br>&gt;<br>&gt;<br><br>
<br>--<br>Peter Bengtsson,<br>work <a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://www.fry-it.com/">www.fry-it.com</a><br>home <a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://www.peterbe.com/">
www.peterbe.com</a><br>hobby <a onclick="return top.js.OpenExtLink(window,event,this)" target="_blank" href="http://www.issuetrackerproduct.com/">www.issuetrackerproduct.com</a><br></blockquote></div><br></span></div></blockquote>
</div><br>