[Zope-dev] z3 server+publication refactor for z2

2006-04-13 Thread Florent Guillaume
Hi, Sidnei has been working on the Zope 2 publication-refactor branch where he's allowed the use of the Zope 3 Twisted-based server, and of a Zope 3 based publication process. I'd like to see this merge branched in Zope 2 trunk because I'd like Zope 2.10 to be Twisted-based. What's

Re: [Zope-dev] z3 server+publication refactor for z2

2006-04-13 Thread Andreas Jung
--On 13. April 2006 11:46:20 +0200 Florent Guillaume [EMAIL PROTECTED] wrote: Hi, Sidnei has been working on the Zope 2 publication-refactor branch where he's allowed the use of the Zope 3 Twisted-based server, and of a Zope 3 based publication process. I'd like to see this merge branched

Re: [Zope-dev] z3 server+publication refactor for z2

2006-04-13 Thread Bernd Dorn
On 13.04.2006, at 11:55, Andreas Jung wrote: --On 13. April 2006 11:46:20 +0200 Florent Guillaume [EMAIL PROTECTED] wrote: Hi, Sidnei has been working on the Zope 2 publication-refactor branch where he's allowed the use of the Zope 3 Twisted-based server, and of a Zope 3 based

[Zope-dev] Re: z3 server+publication refactor for z2

2006-04-13 Thread Sidnei da Silva
On Thu, Apr 13, 2006 at 11:46:20AM +0200, Florent Guillaume wrote: | Hi, | | Sidnei has been working on the Zope 2 publication-refactor branch | where he's allowed the use of the Zope 3 Twisted-based server, and of | a Zope 3 based publication process. | | I'd like to see this merge branched

[Zope-dev] Re: z3 server+publication refactor for z2

2006-04-13 Thread Philipp von Weitershausen
Sidnei da Silva wrote: On Thu, Apr 13, 2006 at 11:46:20AM +0200, Florent Guillaume wrote: | Hi, | | Sidnei has been working on the Zope 2 publication-refactor branch | where he's allowed the use of the Zope 3 Twisted-based server, and of | a Zope 3 based publication process. | | I'd

Re: [Zope-dev] Re: z3 server+publication refactor for z2

2006-04-13 Thread Andreas Jung
--On 13. April 2006 15:39:06 +0200 Philipp von Weitershausen [EMAIL PROTECTED] wrote: This is the small solution in which we provide a WSGI-capable frontend to the ZPublisher. The big solution would be to replace ZPublisher with zope.publisher and a custom Zope2-oriented publication +

[Zope-dev] Re: z3 server+publication refactor for z2

2006-04-13 Thread Philipp von Weitershausen
Philipp von Weitershausen wrote: I think the big solution would take a considerable effort. It's less than three weeks before feature freeze. That is very little time even for the small solution. Actually, I *think* I was wrong. The feature freeze will be June 1st, not May 1st. Perhaps the

Re: [Zope-dev] Re: z3 server+publication refactor for z2

2006-04-13 Thread Andreas Jung
From: Andreas Jung [EMAIL PROTECTED] To: Philipp von Weitershausen [EMAIL PROTECTED], Sidnei da Silva [EMAIL PROTECTED], Andreas Jung [EMAIL PROTECTED], Florent Guillaume [EMAIL PROTECTED] cc: List Zope-dev zope-dev@zope.org Subject: Re: z3 server+publication refactor for z2 Date-Sent: 13.

Re: [Zope-dev] Re: z3 server+publication refactor for z2

2006-04-13 Thread Andreas Jung
--On 13. April 2006 15:58:44 +0200 Philipp von Weitershausen [EMAIL PROTECTED] wrote: I think the big solution would take a considerable effort. It's less than three weeks before feature freeze. That is very little time even for the small solution. Big or small? Would this be an optional

[Zope-dev] Re: z3 server+publication refactor for z2

2006-04-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Florent Guillaume wrote: Hi, Sidnei has been working on the Zope 2 publication-refactor branch where he's allowed the use of the Zope 3 Twisted-based server, and of a Zope 3 based publication process. I'd like to see this merge branched in

[Zope-dev] Re: z3 server+publication refactor for z2

2006-04-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bernd Dorn wrote: On 13.04.2006, at 11:55, Andreas Jung wrote: --On 13. April 2006 11:46:20 +0200 Florent Guillaume [EMAIL PROTECTED] wrote: Hi, Sidnei has been working on the Zope 2 publication-refactor branch where he's allowed the

Re: [Zope-dev] Re: z3 server+publication refactor for z2

2006-04-13 Thread Andreas Jung
--On 13. April 2006 11:38:38 -0400 Tres Seaver [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Florent Guillaume wrote: Hi, Sidnei has been working on the Zope 2 publication-refactor branch where he's allowed the use of the Zope 3 Twisted-based server, and of a

[Zope-dev] 64-bit BTrees

2006-04-13 Thread Fred Drake
I have a need for 64-bit BTrees (at least for IOBTree and OIBTree), and I'm not the first. I've created a feature development branch for this, and checked in my initial implementation. I've modified the existing code to use PY_LONG_LONG instead of int for the key and/or value type; there's no

[Zope-dev] Re: 64-bit BTrees

2006-04-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred Drake wrote: I have a need for 64-bit BTrees (at least for IOBTree and OIBTree), and I'm not the first. I've created a feature development branch for this, and checked in my initial implementation. I've modified the existing code to use

Re: [Zope-dev] Re: 64-bit BTrees

2006-04-13 Thread Jim Fulton
Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred Drake wrote: I have a need for 64-bit BTrees (at least for IOBTree and OIBTree), and I'm not the first. I've created a feature development branch for this, and checked in my initial implementation. I've modified the

Re: [Zope-dev] Re: 64-bit BTrees

2006-04-13 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fred Drake wrote: I have a need for 64-bit BTrees (at least for IOBTree and OIBTree), and I'm not the first. I've created a feature development branch for

Re: [Zope3-dev] Re: [Zope-dev] Re: 64-bit BTrees

2006-04-13 Thread Tim Peters
[Tres Seaver] ... I would guess that if you could do a census of all the OIDs in all the Datas.fs in the world, a significant majority of them would be instances of classes declared in IOBTree / IIBTree (certainly the bulk of *transaction* records are going to be tied up with them). Provided

Re: [Zope] getting error in export and import on zope2.9

2006-04-13 Thread Andreas Jung
--On 13. April 2006 02:46:44 -0700 shivayogi kumbar [EMAIL PROTECTED] wrote: I am trying to import file from zope2.9 that has been exported in xml format from the same.I am getting error as follows. Site Error An error was encountered while publishing this resource. Error Type:

Re: [Zope] creating users in zope. Login error

2006-04-13 Thread Chris Withers
JulianRead wrote: Hi i have created a plone site and now i want to create a user using zope and give them ownership rights to plone. Sounds like a Plohn problem. Go ask on their lists. Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope] TAL page whitespace removal

2006-04-13 Thread Chris Withers
Robert (Jamie) Munro wrote: gzip will add enormous processing overhead to the server. Striping spaces will add negligible overhead, likely less overhead than it saves. I hope you've got a full set of tests that prove these sweeping statements you're making ;-) I have written TAL that

Re: [Zope] getting error in export and import on zope2.9

2006-04-13 Thread Andreas Jung
--On 13. April 2006 11:49:38 +0200 Andreas Jung [EMAIL PROTECTED] wrote: --On 13. April 2006 02:46:44 -0700 shivayogi kumbar [EMAIL PROTECTED] wrote: I am trying to import file from zope2.9 that has been exported in xml format from the same.I am getting error as follows. Site Error An

Re: [Zope] TAL page whitespace removal

2006-04-13 Thread Paul Winkler
On Wed, Apr 12, 2006 at 01:56:58PM -0500, Floyd May wrote: One solution I've found is to buffer the writes to REQUEST.RESPONSE by using a python script which the calls granular page templates rather than a single monolithic template, and outputting the results 25k at a time or so; it gives

Re: [Zope] TAL page whitespace removal

2006-04-13 Thread Floyd May
Paul Winkler wrote: On Wed, Apr 12, 2006 at 01:56:58PM -0500, Floyd May wrote: One solution I've found is to buffer the writes to REQUEST.RESPONSE by using a python script which the calls granular page templates rather than a single monolithic template, and outputting the results 25k at a

Re: [Zope] TAL page whitespace removal

2006-04-13 Thread Paul Winkler
On Thu, Apr 13, 2006 at 09:04:38AM -0500, Floyd May wrote: Paul Winkler wrote: On Wed, Apr 12, 2006 at 01:56:58PM -0500, Floyd May wrote: One solution I've found is to buffer the writes to REQUEST.RESPONSE by using a python script which the calls granular page templates rather than a single

Re: [Zope] TAL page whitespace removal

2006-04-13 Thread Paul Winkler
One more correction for the archives: On Thu, Apr 13, 2006 at 11:45:41AM -0400, Paul Winkler wrote: On Thu, Apr 13, 2006 at 09:04:38AM -0500, Floyd May wrote: Paul Winkler wrote: Note that this doesn't buy you any improved responsiveness if you're running behind e.g. apache, because apache

[Zope] Generic SQL insert

2006-04-13 Thread Robert (Jamie) Munro
Whenever I'm using SQL databases in zope, I always seem to have to make a ZSQL instance for inserting into every table in my database, and they are all nearly the same - they just have a list of all the fields in the database in the parameters, then they say: insert into [table] ([list of

Re: [Zope] creating users in zope. Login error

2006-04-13 Thread Robert Boyd
On 4/12/06, JulianRead [EMAIL PROTECTED] wrote: Hi i have created a plone site and now i want to create a user using zope and give them ownership rights to plone. At the moment i have created a user using the acl users button on the left menu bar and given them ownership rights Which

Re: [Zope] Generic SQL insert

2006-04-13 Thread jpenny
Great idea. Not to be recommended in general. This works because every field is textual, and you are sql-quoting by using type=string. Here are the problems: 1) if someone reads this and does not use the type=string tag, or equivalent, they will be wide open to sql injection. 2) OR, they can

RE: [Zope] ExtFile and TextIndexNG issues

2006-04-13 Thread Palermo, Tom
Stefan, Thanks very very much for your help. I just installed ExtFile 1.5 updated with some extra properties I had added to my ExtFile 1.4.4. It works nicely. All of my ExtFile objects are getting catalogged along with some custom content types I created. I just added a txng_get method to those.

Re: [Zope] Re: zope 2.8.6 on Mac Intel

2006-04-13 Thread Dieter Maurer
manuel spuhler wrote at 2006-4-12 21:40 +0200: ... File /opt/Zope2.8/lib/python/ZODB/__init__.py, line 21, in ? from persistent import TimeStamp File /opt/Zope2.8/lib/python/persistent/__init__.py, line 19, in ? from cPersistence import Persistent, GHOST, UPTODATE, CHANGED, STICKY

Re: [Zope] Strategies for testing generated sql?

2006-04-13 Thread Dieter Maurer
Paul Winkler wrote at 2006-4-12 12:32 -0400: ... Functionally, we are missing some important testables: ... * we have no way to verify that these queries behave as expected against a sample data set. If you want to test this, then do it. It will also cover all other test requirements (e.g.

Re: [Zope] newbie needs advice on where to use zope

2006-04-13 Thread Dieter Maurer
Sells, Fred wrote at 2006-4-12 16:32 -0400: ... So after all that rambling, Is Zope a viable tool or am I killing a gnat with a cannon? After your somewhat vague description, I would say that your task is not a standard Zope use case. Zope is Web application server. Your task does not seem to

Re: [Zope] Re: zope 2.8.6 on Mac Intel

2006-04-13 Thread David H
Dieter Maurer wrote: manuel spuhler wrote at 2006-4-12 21:40 +0200: ... File "/opt/Zope2.8/lib/python/ZODB/__init__.py", line 21, in ? from persistent import TimeStamp File "/opt/Zope2.8/lib/python/persistent/__init__.py", line 19, in ? from cPersistence import Persistent,