Re: [Zope-dev] Bug Day status report

2004-05-31 Thread PieterB
On Mon, May 31, 2004 at 12:37:51PM +0100, Chris Withers wrote:
 RESOLVED:  #1213, #852, #1293, #1355, #1265, #1352, #1094, #993, #1132, 
 #596

Thanks for resolving some of the Zope bugs!
It noticed http://collector.zope.org/Zope/1265 is still 'Pending'
according to the collector.

Pieter

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


[Zope-dev] Restart button and Products dir in Zope 2.7 beta 1

2003-07-26 Thread PieterB
Hi,

I tested todays Zope CVS checkout on Python 2.2.3 on FreeBSD 5.0. I
noticed the following issues:

(1) I noticed that the restart button is missing on the Control
Panel. Is this intended behaviour for Zope 2.7? Or did I encounter
a bug? There is still a Shutdown button, BTW.

(2) I also tried to install some products in the INSTANCE_HOME/Products
directory. There was a README.txt there telling:

Additional products for your Zope instance should be
installed in this directory.  A freshly created instance
should only contain this README.txt file in this directory.

I tried adding a product to this directory (Formulator from CVS),
but it didn't loaded when I restarted the Zope instance (from
commandline because of (1)). It loads fine if I move it to
SOFTWARE_HOME/Products.

Can anybody comment on these issues? Should I create bugreports in
the collector?

PieterB

-- 
http://zwiki.org/PieterB

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


Re: [Zope-dev] Re: weak examples, weak exploits

2003-06-24 Thread PieterB
 Evan Simpson wrote:
  Casey Duncan wrote:
  
  I would be in favor of making the Examples opt-in like the Zope 
  tutorial. It seems silly to have it in evey ZODB by default. Make 
  people add it if they want it.
 This seems like a fine idea, but what action would the user take to 
 install examples and extras?
I think the best way would be using a python script/Makefile that
installs a .zexp file (or use http-upload with httplib). Configure
should grow a --install-tutorial option.

Pieter

--
http://zwiki.org/PieterB

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


[Zope-dev] zopeinstall, error in zope2.7 cvs

2003-06-23 Thread PieterB
Hi,

My first version of the zopeinstaller is available. It currently
only build Python 2.2.3 and Zope 2.7, but I would like to enhance
it to a full 'tinderbox'. See http://zwiki.org/PythonZopeTinderbox
for details.

It currently builds Python 2.2.3 from tarball and Zope 2.7 from CVS.
It uses 'aap' to do so (http://www.a-a-p.org).

For the first version of the main.aap of Zope, see
http://gewis.nl/~pieterb/zope/zopeinstall/

I found one error in Zope2.7 CVS while working on the script. 
Zope doesn't seem to mind the http-port section in etc/zope.conf
I changed the address, but the zopeserver started at port 8080
(default).

This is my first installer/a-a-p-scripts, so please give feedback.
Regards,

PieterB

-- 
http://zwiki.org/PieterB

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


Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-20 Thread PieterB
 On Friday 20 June 2003 01:19 am, Jean Jordaan wrote:
  There's only one possible way! A-A-P! (A good match for Ape, Shane ;)
  It's a replacement for make by Bram Moolenaar, the author of Vim, and
  it looks like it does a lot of things Right.
 Sorry, I haven't really been paying attention so this might be completely OT. 
 It *sounds* like it's being suggested that we replace make (given the above 
 statement). Has anyone used SCons? http://www.scons.org/
 Richard

I think the default Zope install should not have dependencies other
than that Python is required and the user has some shell system
(bash/sh/MS batchfiles). 

On the other hand some packages (such as my zopetest, or other
rpm-alike things), may require other things.  I like A-A-P, because
I think that would make my installerfiles much cleaner.  Aap has
integrated support to fail if a program returns an error, which
isn't the case for shell scripts. Make also has error support and
can be used to define 'modules'/'tasks' but it's terrible to create
something similar to
http://cvs.zope.org/NZO_SiteLayout/buildout_zope_sandbox?cvsroot=Zope.org
in Makefiles.

I'm trying to create a product that would build Zope sandboxes with
various products (CMF, Plone, Zwiki, etc). That's a different type
of requirement than ZC building a production stable Zope. I think
it's a basic seperation of concerns issue. The Zope install should
facilitate users, and packagers to install a Zope instance. Other
Zope installers/pacakers/etc. can do other things as they please.

On the other hand: it would be nice if there is a standard-layout
when people would like to build zope in-place. That would make it
easier to document, and would make the life of sysadmin's running Zope
on more than one platform much easier.

About Scons: I never heard of it before, but it's not suitable for my
task. I want to create something that can easily interact with FreeBSD
ports, and what has Python2 support, and is more stable than 0.14 alpha
which is written in Python 1.5.2

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


Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread PieterB
Chris wrote:
 We have make-driven software that creates us a tree via a single command
 by checking out various version of Python, Zope, etc. from CVS and
 compiling and installing them.  Different versions of Zope and Python,
 etc. can be installed in opt and we use symlinks to manage versioning. 
Could that make-driven software be made public? I'm currently trying to
create similar Makefiles (for a new FreeBSD zope port) and would be
interested in using ZC files.

How do those files compare to the buildscript:
http://cvs.zope.org/NZO_SiteLayout/buildout_zope_sandbox?cvsroot=Zope.org

PieterB

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


Re: FHS, zopectl, #925, Re: [Zope-dev] 2.7 installation

2003-06-19 Thread PieterB
 http://www.a-a-p.org/index.html
This looks quite good! It has support python 2.2 support as well. I'll
see if I can play with it.

Pieter

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


[Zope-dev] ./configure on Zope27HEAD with Python 2.2.2

2003-06-19 Thread PieterB
Hi,

Just ran ./configure using Python 2.2.2. I got the following output:
(on FreeBSD 5.0)

Configuring Zope installation

Testing for an acceptable Python interpreter...

Python version 2.2.2 found at /usr/local/bin/python
let: arith: syntax error: i = i + 1

let: arith: syntax error: i = i + 1

[: 1: unexpected operator
let: arith: syntax error: i = i + 1

[: 1: unexpected operator
let: arith: syntax error: i = i + 1

[: 1: unexpected operator
let: arith: syntax error: i = i + 1

FreeBSD's shell doesn't support let i=i+1 constructs:
It works fine if I change the shell to /usr/local/bin/bash.
An ugly fix seems to be to rename configure to configure.bash
and create a configure such as:
#!/bin/sh
# force bash shell
`which bash` ./configure.bash
Other fix is to explain in the docs that you need to run
bash ./configure on systems such as FreeBSD

Anybody knows a nicer way to fix this?


Pieter




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


[Zope-dev] A-A-P and Zope 2.7 issues

2003-06-19 Thread PieterB
Hi,

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
Zope.

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:

PYTHON=/usr/local/bin/python

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 
traceback:

./zopectl start
Traceback (most recent call last):
  File /tmp/zope/lib/python/Zope/Startup/zopectl.py, line 148, in ?
main()
  File /tmp/zope/lib/python/Zope/Startup/zopectl.py, line 131, in main
options.realize(args)
  File /tmp/zope/lib/python/Zope/Startup/zopectl.py, line 80, in
realize
ZDOptions.realize(self, *args, **kw)
  File /tmp/zope/lib/python/zdaemon/zdoptions.py, line 257, in realize
self.load_schema()
  File /tmp/zope/lib/python/zdaemon/zdoptions.py, line 298, in
load_schema
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
loadResource
self.registry, self)
  File /tmp/zope/lib/python/ZConfig/schema.py, line 42, in
parseResource
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
make_parser
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]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Re: Memory error

2003-06-17 Thread PieterB
Andy wrote @zope-dev

 MemoryError: (Also, an error occurred while attempting to render the 
 standard error message.)

 I believe all the appropiate python stack patches are applied.

Hmmm. Maybe some FreeBSD patch will fix your problem. The current FreeBSD
/usr/ports/lang/python21/files has the following files:

-rw-r--r--  1 root  wheel  2820 Nov 14  2002 patch-Lib:os.py
-rw-r--r--  1 root  wheel   326 Jan 16  2002 patch-Misc:Makefile.pre.in
-rw-r--r--  1 root  wheel   688 Nov 14  2002 patch-Modules:Setup.dist
-rw-r--r--  1 root  wheel   793 Feb  6 17:44 patch-Python-thread_pthread.h-stacksize
-rw-r--r--  1 root  wheel   429 Oct 19  2001 patch-setup.py
-rw-r--r--  1 root  wheel   599 Apr 13 21:20 zwiki.patch

You might also check the following Zwiki threads on memory problems
(all related to FreeBSD, but they may be caused by Imeme's memory limit)

- http://webseitz.fluxent.com/wiki/ZwikiFreebsdStabilityProblems

- http://zwiki.org/SiteReliability

- http://www.zwiki.org/GeneralDiscussion

Pieter
cc: zwiki

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


Re: [Zope-dev] AIX

2003-02-24 Thread PieterB
Clemens wrote:
 There have been some reports about problems with Zope and BSD, which
 are actually caused by some operating system stack overflow or
 such. Maybe a similar problem applies here, too?

For those issues see: http://www.zwiki.org/FreeBSD and
http://zwiki.org/IssueNo0226

Zwiki's troubleshouting guide might also be usefull:
http://zwiki.org/AdministrationGuide#trouble

Also have a look at Simon's list of things he tried to improve Zwiki's
Reliability, http://zwiki.org/SiteReliability

Regards,

PieterB

PS i'm not subscribed to this list but I hope the moderators will let
this message through.



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