[Zope] Migration pains going to Zope 2.8

2005-08-24 Thread Richard Jones
I can't instantiate out Product, which is a bit of a hurdle :) Our Product's registration looks like this (this function is invoked from the Product's __init__.py): def initialize(context): ''' Register the CGPublisher class ''' context.registerClass( CGPublisher,

[Zope] ZEO on Windows

2005-08-24 Thread michael nt milne
Hi Does anyone know if the 2.0.5 windows release of Plone includes ZEO? Is there any configuration information on this? Also does Zope 2.8 for linux have ZEO as standard. Finally, if you don't run ZEO does this mean that Zope can only handle one request at a time? Thanks

Re: [Zope] Zope 2.8.1 on Mac OS X tiger Server

2005-08-24 Thread Andrew Langmead
On Aug 23, 2005, at 6:24 AM, Garito wrote: I try sudo /System/Library/StartupItems/Zope/Zope start but nothing happend (nor on console) but if I launch /var/zope/sistes/bin/zopectl start it works perfectly I try to comment the if and fi lines but don't work I just want to make sure I

Re: FIXED: Re: [Zope] URL0 returns index_html not index.html

2005-08-24 Thread John Eikenberry
Mark Barratt wrote: Well, no, because some of the objects I want to append /source.html to are not called index.html (but that *is* how we did it for another site and it works as you say). A text substitution covers both cases: tal:attributes=href

Re: [Zope] manage_afterAdd quirks

2005-08-24 Thread John Eikenberry
Philip J?genstedt wrote: It seems I need one of three things: 1. A better way to add images and a template altogether. 2. A hook which is only called once, when the object is first created. 3. A method to check if the objects exist in the newly added item directly, not aquired. As Peter

Re: [Zope] AssertionError after update to Zope 2.8.1

2005-08-24 Thread Tim Peters
[Ricardo Newbery] Oh so close... Migrated from Zope 2.7.2 to 2.8.1 Updated all the Catalog instances according to the instructions. Fixed a few outdated products. Then just for kicks, I tried to update the Python scripts by visiting the /manage_addProduct/PythonScripts/recompile url.

Re: [Zope] Migration pains going to Zope 2.8

2005-08-24 Thread Dieter Maurer
Richard Jones wrote at 2005-8-24 16:11 +1000: I can't instantiate out Product, which is a bit of a hurdle :) Our Product's registration looks like this (this function is invoked from the Product's __init__.py): def initialize(context): ''' Register the CGPublisher class '''

Re: [Zope] problem with adding an external method

2005-08-24 Thread Dieter Maurer
Scott Mann wrote at 2005-8-23 10:00 -0700: ... I am attempting to add the external python module nb_fetch Doing so returns the error message: Module /data/zope/testbed/initialzope/Extensions/nb_fetch.py, line 3, in ? ImportError: No module named nb_parse where nb_parse is

Re: [Zope] ZEO on Windows

2005-08-24 Thread Dieter Maurer
michael nt milne wrote at 2005-8-24 11:52 +0100: Does anyone know if the 2.0.5 windows release of Plone includes ZEO? Do you have installed it? Then see whether the Zope part contains the folder ZEO (usually in lib/python). If it does, then it contains ZEO. Also does Zope 2.8 for linux have

Re: [Zope] ZEO on Windows

2005-08-24 Thread Tim Peters
[michael nt milne] ... Also does Zope 2.8 for linux have ZEO as standard. All versions of Zope at and after 2.7 include ZEO, and regardless of platform (Linux, Windows, Solaris, ..., doesn't matter). ___ Zope maillist - Zope@zope.org

[Zope] ZTUtils TabindexIterator class

2005-08-24 Thread David Pratt
Can I contribute a small TabindexIterator class for ZTUtils. It is not big, but handy for generating tabindex values in a site. The current Iterator class available was not meant to do this but this is. I think this could be added to Iterators.py It seems better to incorporate something

Re: FIXED: Re: [Zope] URL0 returns index_html not index.html

2005-08-24 Thread Mark Barratt
John Eikenberry wrote: Mark Barratt wrote: A text substitution covers both cases: tal:attributes=href python:context.REQUEST['URL0'].replace('index_html','index.html')+'/source.html' Wouldn't this just result in [path]/index.html/source.html? Do you want the index.html in the URL to

Re: [Zope] Migration pains going to Zope 2.8

2005-08-24 Thread Richard Jones
On Thu, 25 Aug 2005 04:36 am, Dieter Maurer wrote: Does your addValue have a __name__ attribute with value addValue? In py2.3 (at least) functions get a __name__ automatically: Python 2.3.5 (#2, Mar 29 2005, 15:41:06) [GCC 3.3.5 (Debian 1:3.3.5-8ubuntu2)] on linux2 Type help, copyright, credits

Re: [Zope] Migration pains going to Zope 2.8

2005-08-24 Thread Richard Jones
On Thu, 25 Aug 2005 12:06 pm, Richard Jones wrote: and now everything works. Further data-point - the version of VerboseSecurity is to blame. It's not 2.8-compatible :( Sorry for the noise. Richard pgpvvxmwsl89Y.pgp Description: PGP signature

Re: [Zope] ZEO on Windows

2005-08-24 Thread Chris Withers
michael nt milne wrote: Hi Does anyone know if the 2.0.5 windows release of Plone includes ZEO? Ask on a Plone list. Is there any configuration information on this? Dunno what you mean. Also does Zope 2.8 for linux have ZEO as standard. Yes. Finally, if you don't run ZEO does

[Zope-Coders] Zope tests: 8 OK

2005-08-24 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Tue Aug 23 11:01:02 2005 UTC to Wed Aug 24 11:01:02 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Tue Aug 23 22:27:05 EDT

[Zope-dev] Re: New test runner work

2005-08-24 Thread Jim Fulton
Stuart Bishop wrote: Jim Fulton wrote: A large proportion of our tests use a relational database. Some of them want an empty database, some of them want just the schema created but no data, some of them want the schema created and the data. Some of them need the component architecture, and

[Zope-dev] Build process for Zope 2.9

2005-08-24 Thread Fred Drake
Hey all, I'm working on a revised build process for Zope 2.9, based on the work that we've done for Zope 3. What this means is that we'll have a setup.py that uses the code from zpkg (http://www.zope.org/Members/fdrake/zpkgtools/) to load metadata from the various packages are part of the