Submitted by : 127.0.0.1 at: 2005-02-02T14:40:05+00:00 (12 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

maybe this is a Python 2.3 thing? I'm using zope 2.6.2 with the included python. In fact it's all over the place, for example:

Time   2005/02/02 16:22:56.527 US/Eastern

User Name (User Id) admin (admin) Request URL http://69.20.118.152:8080/engineering/li/FrontPage Exception Type NameError? Exception Value global name 'False' is not defined Traceback (innermost last):

  • Module ZPublisher?.Publish, line 98, in publish
  • Module ZPublisher?.mapply, line 88, in mapply
  • Module ZPublisher?.Publish, line 39, in call_object
  • Module Products.ZWiki.ZWikiPage, line 227, in __call__
  • Module Products.ZWiki.Admin, line 254, in upgrade
  • Module Products.ZWiki.OutlineSupport?, line 125, in ensureParentsPropertyIsList

NameError?: global name 'False' is not defined

(new) --Bob McElrath?, Wed, 02 Feb 2005 14:44:25 -0800 reply

You are using python 2.1. 'False' is defined in python 2.2 and above.

Zope 2.7 is now required for zwiki, and python 2.3 is now required for zope 2.7.

(new) --Simon Michael, Wed, 02 Feb 2005 14:53:59 -0800 reply

You got it; we don't try to support python 2.1 any more. Check http://zopewiki.org/CompatibilityMatrix for your options.

(new) --Bob McElrath?, Wed, 02 Feb 2005 15:03:42 -0800 reply

Simon Michael [simon@joyful.com]? wrote: > You got it; we don't try to support python 2.1 any more. Check > http://zopewiki.org/CompatibilityMatrix for your options.

Nowhere in the README.txt, on the FrontPage, ReleaseNotes, KnownIssues, Chapter02, or InstallationNotes? is this requirement indicated...

(new) --Simon Michael, Wed, 02 Feb 2005 15:06:00 -0800 reply

Could you help do something about that ? I'm pretty sure I discussed this with all of you on the list/discussion page.

(new) --Simon Michael, Wed, 02 Feb 2005 15:06:49 -0800 reply

< unrant >

Zope 2.7 (python 2.3) is required for zwiki 0.37 --Wed, 02 Feb 2005 15:25:26 -0800 reply

Status: open => closed

easy fix --Thu, 03 Feb 2005 08:46:50 -0800 reply

I did a global replace of False->0 and True->1 (occurred some 3 dozen times within all the files) and it works. Really no reason not to keep this compatibility. If you want to get fancy test for availability of True/False and fall back to 1/0 otherwise or define True & False. Zeop 2.6 is not that old to be left behind.

easy fix --Bob McElrath?, Thu, 03 Feb 2005 11:12:19 -0800 reply

anonymous [zwiki-wiki@zwiki.org]? wrote: > I did a global replace of False->0 and True->1 (occurred some 3 dozen > times within all the files) and it works. Really no reason not to > keep this compatibility. If you want to get fancy test for > availability of True/False and fall back to 1/0 otherwise or define > True & False. Zeop 2.6 is not that old to be left behind.

There are several other reasons that zope 2.6 is not supported. I forget them all, search zwiki.org...

If you want to test zope 2.6 and verify that it works, perhaps we could support it again. Also do you have a patch that checks and defines True & False? (This should probably be in Defaults.py or something)

easy fix --DeanG, Thu, 03 Feb 2005 11:39:33 -0800 reply

not True!

/sorry, coudn't resist..

FYI --simon, Thu, 03 Feb 2005 12:48:00 -0800 reply

I accidentally replied only to the zwiki list and not to this issue page, which is probably best; I'll continue the thread over there. If you're not a subscriber you can see the discussion at http://news.gmane.org/thread.php?group=gmane.comp.web.zope.zwiki . Thanks!

... --simon, Wed, 03 May 2006 13:42:03 -0700 reply

Name: '#1023 irvine' => '#1023 Zwiki 0.37 global name False is not defined'