Re: [Zope] AttributeError: 'NoneType' object has no attribute 'lower'

2005-11-10 Thread Gabriel Genellina
At Thursday 10/11/2005 12:08, Larry Lay wrote: I found no empty titles. Any other ideas? On 11/10/05, Peter Bengtsson <[EMAIL PROTECTED]> wrote: I suspect that one item in your 'subsections' variable is None. Try:tal:repeat subsection python:sequence.sort ([x for x

[Zope] Re: Zope 2.8.4 install issue

2005-11-10 Thread Alexander Limi
On Thu, 10 Nov 2005 05:29:20 -0800, Jonathan Cleaver <[EMAIL PROTECTED]> wrote: The machine already has another working Zope elsewhere, sat underneath Plone 2.05. Not related to your problem directly as far as I can see (you didn't say whether you were just installing Zope straight, or wi

Re: [Zope] help with url rewriting

2005-11-10 Thread Faheem Mitha
On Wed, 9 Nov 2005, Chris Withers wrote: Faheem Mitha wrote: the log says [Wed Nov 09 03:30:26 2005] [error] [client ...] client denied by server configuration: This means you likely need to find something else in your apache.conf that's causing this problem... RewriteRule ^/plone

RE: [Zope] msSql and python

2005-11-10 Thread Kate Legere
That was it exactly - I didn't have the right python syntax but had thought the mistake was in the zsql. Thanks! Kate -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Floyd May Sent: Thursday, November 10, 2005 12:04 PM To: Zope Subject: Re: [Zope] msSql

Re: [Zope] AttributeError: 'NoneType' object has no attribute 'lower'

2005-11-10 Thread Peter Bengtsson
Just do a and let us know what it returns. On 11/10/05, Larry Lay <[EMAIL PROTECTED]> wrote: > I found no empty titles. Any other ideas? > > > > On 11/10/05, Peter Bengtsson <[EMAIL PROTECTED]> wrote: > > I suspect that one item in your 'subsections' variable is None. > > Try:tal:repeat subsecti

Re: [Zope] msSql and python

2005-11-10 Thread Floyd May
You can pass arguments to ZSQL Methods. In this particular case, I assume that you don't want the WHERE clause in the query if the 'description' parameter is not passed? You can do it like this (inside the query): --8< WHERE description = --8<---

[Zope] msSql and python

2005-11-10 Thread Kate Legere
I have a zsql method to which I want to pass and argument. Normally I do it from a dtml method and the use something like this to test for equality. WHERE description = . However, I'm passing the variable from a python script and it won't accept the dtml tag what do I put in the equality tes

Re: [Zope] AttributeError: 'NoneType' object has no attribute 'lower'

2005-11-10 Thread Larry Lay
It appears that Zope/Plone is not seeing anything in 'title'.  I can put 'blahblah' in the code and get the same error. On 11/10/05, Larry Lay <[EMAIL PROTECTED]> wrote: I found no empty titles.  Any other ideas? On 11/10/05, Peter Bengtsson <[EMAIL PROTECTED] > wrote: I suspect that one item in

Re: [Zope] AttributeError: 'NoneType' object has no attribute 'lower'

2005-11-10 Thread Larry Lay
I found no empty titles.  Any other ideas? On 11/10/05, Peter Bengtsson <[EMAIL PROTECTED]> wrote: I suspect that one item in your 'subsections' variable is None.Try:tal:repeat subsection python:sequence.sort ([x for x in subsectionsif not None],(('title','nocase','asc'),))On 11/10/05, Larry Lay <[

Re: [Zope] AttributeError: 'NoneType' object has no attribute 'lower'

2005-11-10 Thread Peter Bengtsson
I suspect that one item in your 'subsections' variable is None. Try:tal:repeat subsection python:sequence.sort([x for x in subsections if not None],(('title','nocase','asc'),)) On 11/10/05, Larry Lay <[EMAIL PROTECTED]> wrote: > when sorting using <...tal:repeat subsection > python:sequence.sort

[Zope] AttributeError: 'NoneType' object has no attribute 'lower'

2005-11-10 Thread Larry Lay
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' object has no attribute 'lower' When I switch the 'nocase' to 'cmp' the sort

[Zope] Zope 2.8.4 install issue

2005-11-10 Thread Jonathan Cleaver
Hi all, I am having far more trouble than I should be installing Zope 2.8.4 onto a WinXP machine. After unpacking and installing as per the default settings, when I create an instance and run C:\INSTANCEDIR\bin\runzope.bat I get "ImportError: No module named components.logger" in the Zope2\St

Re: [Zope] help with url rewriting

2005-11-10 Thread Sascha Welter
(Wed, Nov 09, 2005 at 10:41:32AM -0500) [EMAIL PROTECTED] wrote/schrieb/egrapse: > From: Faheem Mitha <[EMAIL PROTECTED]> > ... > I running Apache 2.0 and Zope 2.7 on Debian Sarge. I've configured a zope > (Plone) instance located /var/lib/zope2.7/instance/dulci. > > This can be accessed via > h