I created a first draft cut of a A-A-P file for Zope/Python and
Zope products. I think of using it for creating a zopetest "product"
and a new FreeBSD zopetest port (a Makefile that uses 'aap' and can
be used to create several zopeinstances with several sets of products.
I also would like to write some scripts which can be used to do
functional/performance tests (on the various Zope/Python versions
on various platforms).  I think that would really be usefull for
the Zope continuous integration process.

The current script (invoke with 'aap') downloads Python 2.2.3 and
PyXML, builds and tests Python, gets Zope from CVS and configures

Have a look at: http://gewis.nl/~pieterb/zope/zopetest/main.aap-v0.01.txt
and rename it to main.aap.

Some Zopeissues I ran into:

As a followup to: http://collector.zope.org/Zope/952
When you specify a python using --with-python you don't get warned
about whether you use a non-optimal python or not.  Maybe it's also
good to mention the user that he/she IS using the optimal python
version, when he/she does so.

Please rename the makefile to Makefile


zopectl has a hardcoded PYTHON variable set to:


shouldn't it use the --with-python version?


ZConfig requires PyXML. Default Python doesn't provide it.
Both zopectl using Python 2.2.2 and Python 2.2.3 give the following 

./zopectl start
Traceback (most recent call last):
  File "/tmp/zope/lib/python/Zope/Startup/zopectl.py", line 148, in ?
  File "/tmp/zope/lib/python/Zope/Startup/zopectl.py", line 131, in main
  File "/tmp/zope/lib/python/Zope/Startup/zopectl.py", line 80, in
    ZDOptions.realize(self, *args, **kw)
  File "/tmp/zope/lib/python/zdaemon/zdoptions.py", line 257, in realize
  File "/tmp/zope/lib/python/zdaemon/zdoptions.py", line 298, in
    self.schema = ZConfig.loadSchema(self.schemafile)
  File "/tmp/zope/lib/python/ZConfig/loader.py", line 36, in loadSchema
    return SchemaLoader().loadURL(url)
  File "/tmp/zope/lib/python/ZConfig/loader.py", line 70, in loadURL
    return self.loadResource(r)
  File "/tmp/zope/lib/python/ZConfig/loader.py", line 134, in
    self.registry, self)
  File "/tmp/zope/lib/python/ZConfig/schema.py", line 42, in
    xml.sax.parse(resource.file, parser)
  File "/usr/local/lib/python2.2/xml/sax/__init__.py", line 30, in parse
    parser = make_parser()
  File "/usr/local/lib/python2.2/xml/sax/__init__.py", line 93, in
    raise SAXReaderNotAvailable("No parsers found", None)
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found

Shouldn't ./configure already check this? 


The doc/INSTALL.txt states:

        The Python you run Zope with *must* have threads compiled
        in, which is the case for a vanilla build.  Warning: Zope
        will not run with a Python version that uses libpth.  You
        *must* use libpthread.

Can this be checked when running ./configure?

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to