Re: [Zope-Coders] Re: Number of tests on trunk dropped?

2005-11-03 Thread Lennart Regebro
Perhaps I should exclude the zope package as well. Or perhaps we shouldn't exclude anything by default. No, exclude on. But an easy way to run everything would be nice... -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management http://www.cps-project.org/

Re: [Zope-Coders] Re: SVN: Zope/trunk/lib/python/Testing/ZopeTestCase/ transaction.commit(1) is deprecated in favor of transaction.savepoint().

2005-11-03 Thread Stefan H. Holek
Perhaps. However, these tests specifically check interactions between persistent objects, their attributes, and transaction commit/abort. If things break there, I want to know about it. Stefan On 3. Nov 2005, at 01:10, Tres Seaver wrote: Stefan H. Holek wrote: Log message for revision

[Zope-Coders] Zope tests: 7 OK

2005-11-03 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Wed Nov 2 12:01:02 2005 UTC to Thu Nov 3 12:01:02 2005 UTC. There were 7 messages: 7 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Wed Nov 2 22:16:40 EST

Re: [Zope-Coders] Re: SVN: Zope/trunk/lib/python/Testing/ZopeTestCase/ transaction.commit(1) is deprecated in favor of transaction.savepoint().

2005-11-03 Thread Tim Peters
Log message for revision 39807: transaction.commit(1) is deprecated in favor of transaction.savepoint(). [Tres Seaver] This likely needs to be 'savepoint(optimistic=True)' (see collector #1860 for rationale). [Stefan H. Holek] Perhaps. However, these tests specifically check interactions

[Zope-Coders] Re: Number of tests on trunk dropped?

2005-11-03 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Lennart Regebro wrote: Perhaps I should exclude the zope package as well. Or perhaps we shouldn't exclude anything by default. No, exclude on. But an easy way to run everything would be nice... dtml-with time_machine=on $ python test.py

Re: [Zope-dev] ZSQL method and LIMIT clause

2005-11-03 Thread Thanh Hải , Hà
Thanks Stefan! Sticking max_rows:0 into the lead-in comment does the magic. 2005/11/3, Stefan H. Holek [EMAIL PROTECTED]: *Everything* you can do in the ZMI can be done from code. The ZMI isnot a magic entity, it uses the same APIs as everybody else. With FSZSQLMethods you can stick max_rows: 0

[Zope-dev] Re: SVN: Zope/trunk/ Merge philikon-zope32-integration branch. Basically, this branch entails:

2005-11-03 Thread yuppie
Hi Philipp! Philipp von Weitershausen wrote: Log message for revision 39848: Merge philikon-zope32-integration branch. Great! This is a big step forward. * Moved to a zpkgutils-based build system, as the Zope 3.2 extension modules require to be built with it. If everything goes

[Zope-dev] File uploading with Zope

2005-11-03 Thread Thanh Hải , Hà
Hello, Does anyone know tomanipulate files within a local filesystem instead of ZODB? Is it possible to do that through a python script or dtml method? Thanks. ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev **

[Zope-dev] Re: SVN: Zope/trunk/ Merge philikon-zope32-integration branch. Basically, this branch entails:

2005-11-03 Thread Philipp von Weitershausen
yuppie wrote: * Moved to a zpkgutils-based build system, as the Zope 3.2 extension modules require to be built with it. If everything goes ahead as planned, the release tarball will also be built with zpkgutils (some work has also been done in that direction). That part

Re: [Zope-dev] File uploading with Zope

2005-11-03 Thread Jens Vagelpohl
On 3 Nov 2005, at 10:41, Thanh Hải, Hà wrote: Hello, Does anyone know to manipulate files within a local filesystem instead of ZODB? Is it possible to do that through a python script or dtml method? Thanks. No it is not. And doing that opens up security risks. You need to write a

[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot

2005-11-03 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 1307 Blamelist: jinty,philikon BUILD FAILED: failed compile sincerely, -The Buildbot ___

[Zope-dev] Re: SVN: Zope/trunk/ Merge philikon-zope32-integration branch. Basically, this branch entails:

2005-11-03 Thread Philipp von Weitershausen
Philipp von Weitershausen wrote: That worked for me (though I usually don't do the configure; make dance, but just do an in-place build with python setup.py build -i; see also below). Sorry, I meant $ python setup.py build_ext -i That's what make all does on Zope 3 and now on Zope 2 as

[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot

2005-11-03 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 1308 Blamelist: philikon BUILD FAILED: failed compile sincerely, -The Buildbot ___

[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot

2005-11-03 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 1311 Blamelist: andreasjung BUILD FAILED: failed compile sincerely, -The Buildbot ___

[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot

2005-11-03 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 1312 Blamelist: andreasjung BUILD FAILED: failed compile sincerely, -The Buildbot ___

[Zope-dev] Re: SVN: Zope/trunk/ Merge philikon-zope32-integration branch. Basically, this branch entails:

2005-11-03 Thread yuppie
Hi Philipp! Philipp von Weitershausen wrote: That part seems to be work in progress. I needed some time and manual changes to set up an in-place instance for a fresh sandbox. What changes are those? A fresh Zope trunk checkout works for me. Here's what I did: $ svn co svn+ssh://[EMAIL

[Zope-dev] Re: differences in PropertyManager._setPropValue

2005-11-03 Thread Florent Guillaume
Victor Safronovich wrote: Hello Florent Guillaume, Monday, October 31, 2005, 6:25:20 PM, you wrote: FG This was changed because have mutable objects stored as properties can lead FG to unexpected behavior. Do you mean you have a custom proprty type called FG list? yes, my own property

[Zope-dev] Re: SVN: Zope/trunk/ Merge philikon-zope32-integration branch. Basically, this branch entails:

2005-11-03 Thread Florent Guillaume
yuppie wrote: Hi Philipp! Philipp von Weitershausen wrote: That part seems to be work in progress. I needed some time and manual changes to set up an in-place instance for a fresh sandbox. What changes are those? A fresh Zope trunk checkout works for me. Here's what I did: $ svn co

[Zope-dev] Constructing a ZOPE request in a python script

2005-11-03 Thread Dave Coe
I am hoping that someone can help me with how to construct a POST request in a python script. I tried searching the older messages, but post and get are such common terms, that I didn't have much luck. I have a DTML Document with a form. Right now, it calls a DTML method that stores data in

Re: [Zope-dev] Constructing a ZOPE request in a python script

2005-11-03 Thread Andreas Jung
--On 3. November 2005 07:34:15 -0800 Dave Coe [EMAIL PROTECTED] wrote: I am hoping that someone can help me with how to construct a POST request in a python script. I tried searching the older messages, but post and get are such common terms, that I didn't have much luck. Write an

Re: [Zope-dev] Constructing a ZOPE request in a python script

2005-11-03 Thread Lennart Regebro
On 11/3/05, Dave Coe [EMAIL PROTECTED] wrote: Can this be done? Yes, but it probably doesn't make much sense. If you did create POST request, Zope would tale that request and convert it into a call to the DTML method. However, your script can just call the DTML method directly instead. No

Re: [Zope-dev] Re: SVN: Zope/trunk/ Merge philikon-zope32-integration branch. Basically, this branch entails:

2005-11-03 Thread Jim Fulton
Philipp von Weitershausen wrote: yuppie wrote: * Moved to a zpkgutils-based build system, as the Zope 3.2 extension modules require to be built with it. If everything goes ahead as planned, the release tarball will also be built with zpkgutils (some work has also been done in that

[Zope-dev] zope.app stitching

2005-11-03 Thread Jim Fulton
We need to stitch zope.app into Zope 2 more carefully than we are now. Much of what we are stitching is unreleased in Zope3 and depends on things not stitched nto Zope 2. Among other things, this means that we can't use python2.4 test.py -m. to run all tests without getting test failures.

Re: [Zope-dev] Default excluded tests?

2005-11-03 Thread Dieter Maurer
Jim Fulton wrote at 2005-11-1 17:28 -0500: ... I have configured the test runner to exclude tests for ZConfig, BTrees, persistent, ThreadedAsync, transaction, ZEO, ZODB, ZopeUndo, zdaemon, and zope.testing. My reasoning for excluding these by default was that these packages are all included via

[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot

2005-11-03 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: The web-page 'force build' button was pressed by '': Build Source Stamp: None Blamelist: BUILD FAILED: failed test sincerely, -The Buildbot

Re: [Zope-dev] Default excluded tests?

2005-11-03 Thread Jim Fulton
Dieter Maurer wrote: Jim Fulton wrote at 2005-11-1 17:28 -0500: ... I have configured the test runner to exclude tests for ZConfig, BTrees, persistent, ThreadedAsync, transaction, ZEO, ZODB, ZopeUndo, zdaemon, and zope.testing. My reasoning for excluding these by default was that these

Re: [Zope-dev] Re: SVN: Zope/trunk/ Merge philikon-zope32-integration branch. Basically, this branch entails:

2005-11-03 Thread Philipp von Weitershausen
Jim Fulton wrote: What changes are those? A fresh Zope trunk checkout works for me. Here's what I did: $ svn co svn+ssh://[EMAIL PROTECTED]/repos/main/Zope/trunk Zope-trunk $ cd Zope-trunk $ ./configure $ make That worked for me (though I usually don't do the configure; make

Re: [Zope-PAS] PAS tests failures

2005-11-03 Thread Sidnei da Silva
On Thu, Nov 03, 2005 at 05:40:46PM +0100, Julien Anguenot wrote: | -BEGIN PGP SIGNED MESSAGE- | Hash: SHA1 | | Sidnei da Silva wrote: | Without looking at it myself, I think the problem is | 'handle_errors=False'. Change that to True and it *might* fix the | issue. | | | yup that's

[Zope] Equivalent of __of__ in Script (Python).

2005-11-03 Thread JoseLuis de la Rosa Triviño
Hello, I'm a newbie in Zope and I'm trying to do this in a Script (Python): tmp_user.__of__(context.acl_users) However, this produces an error as: __of__ is an invalid attribute name because it starts with _ Does anybody know how could I use __of__ operator in this script or an

Re: [Zope] Equivalent of __of__ in Script (Python).

2005-11-03 Thread Andreas Jung
--On 3. November 2005 09:27:51 +0100 JoseLuis de la Rosa Triviño [EMAIL PROTECTED] wrote: Hello, I'm a newbie in Zope and I'm trying to do this in a Script (Python): tmp_user.__of__(context.acl_users) PythonScripts are *not* Python. PythonScripts are restriced. In case you need

Re: [Zope] Issues with pyperl: perl2.so not found

2005-11-03 Thread Jens Vagelpohl
On 3 Nov 2005, at 04:42, Cameron Beattie wrote: I am attempting to install pyperl and am having an issue where it can't find perl2.so. I think this is one of those ones where it's looking under the stairs for something which is actually in the laundry under a pile of dirty clothes. This

[Zope] useradd command in Zope

2005-11-03 Thread ajit mote
Hi , how to use command that require Root privileges like useradd,reading shadow file bca'z iinstallzopeasnon root user now i need to use useradd command in my application ___ Zope maillist - Zope@zope.org

Re: [Zope] useradd command in Zope

2005-11-03 Thread Andreas Jung
--On 3. November 2005 17:06:55 +0530 ajit mote [EMAIL PROTECTED] wrote: Hi , how to use command that require Root privileges like useradd,reading shadow file bca'z i install zope as non root user now i need to use useradd command in my application Look at the sudo command (man

[Zope] useradd command in Zope

2005-11-03 Thread ajit mote
useradd ... On 11/3/05, Andreas Jung [EMAIL PROTECTED] wrote: Look at the sudo command (man sudo). This is basically a non-Zope question. i don't think this is non-zope question bca'z... i am using python script to add user to system which works fine when run outside of zope ... but when i run

[Zope] About compressing files on the flight...

2005-11-03 Thread Enrique Arizón
Maybe is just that I didn't take enough coffee this morning but I have been searching on Google and didn't find any standard way to compress uploaded files at flight while uploading to the server. Any hint? ___ Zope maillist - Zope@zope.org

Re: [Zope] About compressing files on the flight...

2005-11-03 Thread Jens Vagelpohl
On 3 Nov 2005, at 12:41, Enrique Arizón wrote: Maybe is just that I didn't take enough coffee this morning but I have been searching on Google and didn't find any standard way to compress uploaded files at flight while uploading to the server. Maybe because there isn't such a thing? jens

Re: [Zope] useradd command in Zope

2005-11-03 Thread Tino Wildenhain
ajit mote schrieb: useradd ... On 11/3/05, *Andreas Jung* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Look at the sudo command (man sudo). This is basically a non-Zope question. i don't think this is non-zope question bca'z... i am using python script to add

[Zope] Can one zope server host to websites with two different IPs?

2005-11-03 Thread Allen Huang
Can one zope server host to websites with two different IPs? Can someone teach me how this is done? Yahoo! FareChase - Search multiple travel sites in one click. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope **

[Zope] Re: useradd command in Zope

2005-11-03 Thread Josef Meile
Hi ajit, i don't think this is non-zope question bca'z... i am using python script to add user to system which works fine when run outside of zope ... but when i run it through zope as external script (with all permission) it's not working and returning 256 without giving

Re: [Zope] Can one zope server host to websites with two different IPs?

2005-11-03 Thread Andreas Jung
--On 3. November 2005 05:55:24 -0800 Allen Huang [EMAIL PROTECTED] wrote: Can one zope server host to websites with two different IPs? Can someone teach me how this is done? AFAIK you can bind a single *server* (http; webdav, ftp) only to a single IP address or to all (0.0.0.0). -aj

Re: [Zope] Can one zope server host to websites with two different IPs?

2005-11-03 Thread Jens Vagelpohl
On 3 Nov 2005, at 13:55, Allen Huang wrote: Can one zope server host to websites with two different IPs? Can someone teach me how this is done? No teacher needed, see zope.conf. You can have Zope deliver content on any IP and port the user running Zope is allowed to bind to. jens

Re: [Zope] Can one zope server host to websites with two different IPs?

2005-11-03 Thread Robert Boyd
On 11/3/05, Allen Huang [EMAIL PROTECTED] wrote: Can one zope server host to websites with two different IPs? Apache can do IP-based virtual hosting on a single server that has multiple IP addresses, and use RewriteRules to forward the requests either to different Zope instances or to one Zope

[Zope] Re: URL Rewriting chaos

2005-11-03 Thread Sascha Welter
Message quote from digest: From: [EMAIL PROTECTED] Subject: [Zope] Re: URL Rewriting chaos i've managed to get it closer to working, when you type in 'example.net' into the browser the desired page comes up (yay) but the links are all still 'myserver:8080/plone' and of course they

Re: [Zope] Issues with pyperl: perl2.so not found

2005-11-03 Thread Cameron Beattie
pyperl is a prerequisite to zoperl which allows perl scripts to be used within zope. I should have mentioned that. Regards Cameron - Original Message - From: Jens Vagelpohl [EMAIL PROTECTED] To: The list Zope zope@zope.org Sent: Thursday, November 03, 2005 10:01 PM Subject: Re:

Re: [Zope] Issues with pyperl: perl2.so not found

2005-11-03 Thread Lennart Regebro
On 11/3/05, Cameron Beattie [EMAIL PROTECTED] wrote: pyperl is a prerequisite to zoperl which allows perl scripts to be used within zope. I should have mentioned that. Try the zope-perl@zope.org, if it still exists... zoperl hasn't been updated since 2001. That's probably more due to nobody

Re: [Zope] POSKeyError

2005-11-03 Thread Dieter Maurer
Carlos Ananías Del Águila wrote at 2005-11-2 22:18 +0100: Everytime i access to my zope's instance root, i get the following error in the main frame... Site Error An error was encountered while publishing this resource. Error Type: POSKeyError Error Value: 9634 what can i do? You

Re: [Zope] several questions about shared libraries and security

2005-11-03 Thread Dieter Maurer
Denis V. Gudtsov wrote at 2005-11-1 12:21 +0400: ... And the later i wanted to now how i can create a flexible access rules? There are two procedures needed: authentication and authorization. The first is not difficult to realize with user folder. But what is the ability to control access rights

Re: [Zope] Issues with pyperl: perl2.so not found

2005-11-03 Thread Cameron Beattie
On 11/3/05, Cameron Beattie [EMAIL PROTECTED] wrote: pyperl is a prerequisite to zoperl which allows perl scripts to be used within zope. I should have mentioned that. Try the zope-perl@zope.org, if it still exists... Thanks. Will do. zoperl hasn't been updated since 2001. That's

[Zope] ODBC DA on zope2.6.x

2005-11-03 Thread Giuseppe Bonelli
What people use as an ODBC database adaptor on Zope 2.7 and above? Is the eGenix.com mxODBC Zope DA commercial product the only serious alternative? TIA, __peppo ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No

Re: [Zope] ODBC DA on zope2.6.x

2005-11-03 Thread Philip Kilner
Hi Giuseppe, Giuseppe Bonelli wrote: What people use as an ODBC database adaptor on Zope 2.7 and above? Is the eGenix.com mxODBC Zope DA commercial product the only serious alternative? I use the eGenix product (against MS SQL Server, primarily), and am very happy with it. It is not

Re: [Zope] ODBC DA on zope2.6.x

2005-11-03 Thread Jens Vagelpohl
On 3 Nov 2005, at 20:25, Giuseppe Bonelli wrote: What people use as an ODBC database adaptor on Zope 2.7 and above? Is the eGenix.com mxODBC Zope DA commercial product the only serious alternative? In a nutshell, yes. It doesn't cost much for small deployments and it's good software.