[Zope] Re: Zope 2.8.x and python security audit

2006-01-30 Thread Maik Ihde
> The system has to be determined in every way and every step must be > reversible and traceable. Humm. Then you might want go for Zope3. Afaik Christian Theune also did some work to have Zope3 certified by TÜV Germany. But unfortunately I do not know at which point they are. If you want the abo

Re: [Zope] context and URLs

2006-01-30 Thread Lennart Regebro
On 1/29/06, Peter Bengtsson <[EMAIL PROTECTED]> wrote: > Instead of writing links like this:: > > object > > write them like this:: > > object Or, in 99% of the cases, you can simply say object -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-projec

Re: [Zope] Zope and OAI-PMH

2006-01-30 Thread Martijn Faassen
Luciano Ramalho wrote: I've been assigned to integrate an existing academic portal in Plone with the OAI-PMH protocol as a data provider. Searching through this list I found the message below, but no response. Note that the oaipmh Python module in 2.0 form (pyoai) now has facilities to build O

Re: [Zope] Product refreshing in Zope 2.9

2006-01-30 Thread Peter Bengtsson
On 1/27/06, Dieter Maurer <[EMAIL PROTECTED]> wrote: > Peter Bengtsson wrote at 2006-1-27 16:42 +: > > ... > >But, in that example they are using Five and I'm not. I've just got a > >Zope 2.9 install and a python product that I started on before Five > >even existed. Does that give us any hope

Re: [Zope] Product refreshing in Zope 2.9

2006-01-30 Thread Tino Wildenhain
Peter Bengtsson schrieb: Suppose my code looks like this:: class MyProduct(Folder): blablabla print "class MyProduct has just been reloaded" Then I start zope with ./bin/runzopt, debug-mode off, make a change in the product and press the Refresh button in the Control_Panel and notice h

Re: [Zope] Product refreshing in Zope 2.9

2006-01-30 Thread Lennart Regebro
On 1/30/06, Peter Bengtsson <[EMAIL PROTECTED]> wrote: > class MyProduct(Folder): > blablabla > print "class MyProduct has just been reloaded" > > Then I start zope with ./bin/runzopt, debug-mode off, make a change in > the product and press the Refresh button in the Control_Panel and > not

Re: [Zope] Product refreshing in Zope 2.9

2006-01-30 Thread Peter Bengtsson
On 1/30/06, Tino Wildenhain <[EMAIL PROTECTED]> wrote: > Peter Bengtsson schrieb: > > > Suppose my code looks like this:: > > > > class MyProduct(Folder): > > blablabla > > print "class MyProduct has just been reloaded" > > > > Then I start zope with ./bin/runzopt, debug-mode off, make a ch

Re: [Zope] Product refreshing in Zope 2.9

2006-01-30 Thread Jens Vagelpohl
On 30 Jan 2006, at 15:01, Peter Bengtsson wrote: That's not good enough. The only thing that changed between my development environments was the version of zope and then it stopped working. Python product refresh is crucial to zope2 and this problem needs to be sorted out. I'm calling bullshit

[Zope] Re: Product refreshing in Zope 2.9

2006-01-30 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter Bengtsson wrote: > On 1/30/06, Tino Wildenhain <[EMAIL PROTECTED]> wrote: > >>Peter Bengtsson schrieb: >> >>>Suppose my code looks like this:: >>> >>> class MyProduct(Folder): >>> blablabla >>> print "class MyProduct has just been reloaded"

Re: [Zope] Squid & ESI

2006-01-30 Thread Andrew Sawyers
Yes it works; we have some stuff working here at my place of employment. I had some problems getting the right squid build to work last year when looking at this for a customer, but since the team here has had no problems that I'm aware of with current builds. Andrew On Thu, 2006-01-26 at 19:44 +0

Re: [Zope] Product refreshing in Zope 2.9

2006-01-30 Thread Peter Bengtsson
On 1/30/06, Jens Vagelpohl <[EMAIL PROTECTED]> wrote: > > On 30 Jan 2006, at 15:01, Peter Bengtsson wrote: > > That's not good enough. The only thing that changed between my > > development environments was the version of zope and then it stopped > > working. Python product refresh is crucial to zo

Re: [Zope] Product refreshing in Zope 2.9

2006-01-30 Thread Andreas Jung
--On 30. Januar 2006 17:39:11 + Peter Bengtsson <[EMAIL PROTECTED]> wrote: It's not a strange product. It's quite simple in fact. Not being able to refresh without restarting means that I can't use Zope 2.9 for python product development. Why is refresh a requirement for doing Zope deve

Re: [Zope] Product refreshing in Zope 2.9

2006-01-30 Thread Lennart Regebro
On 1/30/06, Peter Bengtsson <[EMAIL PROTECTED]> wrote: > It's not a strange product. It's quite simple in fact. > Not being able to refresh without restarting means that I can't use > Zope 2.9 for python product development. Explain "Can't". I have developed complex products where the Refresh hasn

Re: [Zope] Re: Product refreshing in Zope 2.9

2006-01-30 Thread Peter Bengtsson
For those interested I've put together a little basic zope python product here: http://www.peterbe.com/zope/2.9-refresh-reproduction/MyProduct.tgz To reproduce the refreshing problem: install this product, start zope, change something in the index_html() method, go to /Control_Panel/Products/MyPro

[Zope] zopectl not starting properly

2006-01-30 Thread sharif islam
When I run zopectl start, it says daemon process started. But I get connected refused when I try to go to port 8080. Then if I check the process, I find zope is not running. [root@ bin]# ./zopectl start /usr/local/Zope-2.9.0/lib/python/App/ImageFile.py:21: DeprecationWarning: Using OFS.content_type

[Zope] empty session with virtual hosting

2006-01-30 Thread Luca Dall'Olio
I have a Zope 2.9.0 installation under Solaris. When I access the Zope site directly (port 8080) the session has the keys I expect, but when I try to do the same using the virtual host (port 80 has apache that rewrites to the zope installation) the session is empty. Do you have any hint about thi

Re: [Zope] Product refreshing in Zope 2.9

2006-01-30 Thread Peter Bengtsson
I've noticed another strange behaviour with the Acquisition module in Zope 2.9 that might give us some clues as to why refreshing doesn't work. Imagine some code that looks like this:: from Acquisition import aq_parent class MyProduct(Folder): def index_html(self): print type(aq_pare

Re: [Zope] Product refreshing in Zope 2.9

2006-01-30 Thread Peter Bengtsson
On 1/30/06, Andreas Jung <[EMAIL PROTECTED]> wrote: > > > --On 30. Januar 2006 17:39:11 + Peter Bengtsson <[EMAIL PROTECTED]> > wrote: > > > > It's not a strange product. It's quite simple in fact. > > Not being able to refresh without restarting means that I can't use > > Zope 2.9 for python p

Re: [Zope] zopectl not starting properly

2006-01-30 Thread Jens Vagelpohl
On 30 Jan 2006, at 19:03, sharif islam wrote: When I run zopectl start, it says daemon process started. But I get connected refused when I try to go to port 8080. Then if I check the process, I find zope is not running You can get more debugging output by running it in the foreground: ./zope

RE: [Zope] Sudden Errors

2006-01-30 Thread Dieter Maurer
David Ayres wrote at 2006-1-29 17:20 -0500: >I removed the Local File System object that had been created by using >'manage_delObjects?ids=' and the errors are gone. For future reference: When you report problems, your *MUST* include the corresponding traceback (found in the "error_log" object in

Re: [Zope] Product refreshing in Zope 2.9

2006-01-30 Thread Dieter Maurer
Peter Bengtsson wrote at 2006-1-30 13:57 +: > ... >> "reloaded but not refreshed" means what? >> >Suppose my code looks like this:: > > class MyProduct(Folder): > blablabla > print "class MyProduct has just been reloaded" > >Then I start zope with ./bin/runzopt, debug-mode off, make a chan

Re: [Zope] Product refreshing in Zope 2.9

2006-01-30 Thread Dieter Maurer
Lennart Regebro wrote at 2006-1-30 15:18 +0100: > ... >Personally I haven't had a situation trivial enough for refresh to >work for years... As I reported earlier, all that is needed is a small tool to allows to register product dependencies and that, when one product is refreshed, automatically r

Re: [Zope] Re: dealing with scripts that take too long

2006-01-30 Thread Chris Withers
martin f krafft wrote: also sprach Jonathan <[EMAIL PROTECTED]> [2006.01.25.2330 +0100]: We are running a *nix environment, and use cron with script files that use either perl LWP or CURL to make http requests that invoke the zope methods/scripts. LWP, CURL (and others) give you the ability to

Re: [Zope] Sudden Errors

2006-01-30 Thread Chris Withers
David Ayres wrote: I removed the Local File System object that had been created by using 'manage_delObjects?ids=' and the errors are gone. However, has anyone run into this problem before? What version of Zope are you using? My guess would be that LocalFS isn't compatible with the version of Z

Re: [Zope] Squid & ESI

2006-01-30 Thread Chris Withers
Andrew Sawyers wrote: Yes it works; we have some stuff working here at my place of employment. I had some problems getting the right squid build to work last year when looking at this for a customer, but since the team here has had no problems that I'm aware of with current builds. Perhaps you

Re: [Zope] empty session with virtual hosting

2006-01-30 Thread Martijn Pieters
On 1/30/06, Luca Dall'Olio <[EMAIL PROTECTED]> wrote: > I have a Zope 2.9.0 installation under Solaris. > When I access the Zope site directly (port 8080) the session has the > keys I expect, but when I try to do the same using the virtual host > (port 80 has apache that rewrites to the zope instal

[Zope] Re: Re: dealing with scripts that take too long

2006-01-30 Thread martin f krafft
also sprach Chris Withers <[EMAIL PROTECTED]> [2006.01.30.1854 +0100]: > My suggestion would be to use ZEO and Stepper... Oooh, this is definitely worth a closer inspection. Thanks a lot. -- martin; (greetings from the heart of the sun.) \ echo mailto: !#^."<*>"|tr "<*> mailto

[Zope] Setting up Zope in a development/production environment

2006-01-30 Thread Qass
Hi: The way our current website works is via changes made in a sandbox area and then using CVS moved to a staging area (same server as sandbox). After approval of changes visible in the staging area, the changes are then, using CVS, moved to the production server (different from staging server) w

Re: [Zope] Squid & ESI

2006-01-30 Thread Andrew Langmead
On Jan 30, 2006, at 1:16 PM, Chris Withers wrote: Perhaps you could write a short how-to describing the exact versions you used? Both myself and Jens had little joy with this... I just managed to build myself an ESI enabled Squid3 with the following configure invocation. It is based rough

[Zope] zserver-threads

2006-01-30 Thread Einar Næss Jensen
how many do I need, and how will I know? -- -- Einar Næss Jensen http://einar.nidelven-it.no/einarblog http://www.homemade.no tlf: +47 90990249 ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML enc

Re: [Zope] zserver-threads

2006-01-30 Thread Jens Vagelpohl
On 30 Jan 2006, at 22:43, Einar Næss Jensen wrote: how many do I need, and how will I know? You do not need to worry about it unless you have a really unusual setup. The default is fine for 99.9% of all situations. jens ___ Zope maillist - Zo

Re: [Zope] Setting up Zope in a development/production environment

2006-01-30 Thread Igor Stroh
Qass wrote: > The way our current website works is via changes made in a sandbox > area and then using CVS moved to a staging area (same server as > sandbox). After approval of changes visible in the staging area, the > changes are then, using CVS, moved to the production server (different > fro

Re: [Zope] Product refreshing in Zope 2.9

2006-01-30 Thread Dieter Maurer
Peter Bengtsson wrote at 2006-1-30 18:54 +: >I've noticed another strange behaviour with the Acquisition module in >Zope 2.9 that might give us some clues as to why refreshing doesn't >work. > >Imagine some code that looks like this:: > >from Acquisition import aq_parent > >class MyProduct(Fold

Re: [Zope] Squid & ESI

2006-01-30 Thread Martijn Pieters
On 1/30/06, Andrew Langmead <[EMAIL PROTECTED]> wrote: > I wasn't involved in the Squid3/ESI work done at boston.com before, > so I don't know if there are any issues beyond the ones I resolved in > getting things to build. At the time I was involved the implementation came up short of anything us