Re: [Zope-dev] Using Pyrex (with BTrees)?

2005-05-02 Thread Martijn Faassen
Andreas Jung wrote: Has anyone tried to use Pyrex with BTree datastructures? I tried to use Pyrex to optimize a bottleneck in TextIndexNG3 where an iteration over a list of word ids (and insertion into an IOBTree) takes very long. Unfortunately the C extension produced by Pyrex behaves

[Zope] More tolerant Stripogram (solution)

2005-05-02 Thread Jaroslav Lukesh
Hi all, I was extend SquishDot with wysiwyg editor (origin: vsbabu ieeditor). But it was not accept many tags due too small number of allowed html attributes in stripogram. I was patch stripogram to be more tolerant for eg., tables and other tags (missings: 'html' and 'body'). Make changes

Re: [Zope] Charset

2005-05-02 Thread Jean
Hello everybody, I change the file manage.dtml in ..\python\app\dtml. This is the change I've done: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN http://www.w3.org/TR/REC-html40/loose.dtd; html head meta http-equiv=content-type content=text/html;charset=utf-8 / titleZope on

Re: [Zope] Charset

2005-05-02 Thread Tino Wildenhain
Am Montag, den 02.05.2005, 09:43 +0200 schrieb [EMAIL PROTECTED]: Hello everybody, I change the file manage.dtml in ..\python\app\dtml. This is the change I've done: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN http://www.w3.org/TR/REC-html40/loose.dtd; html head meta

Re: [Zope] More tolerant Stripogram (solution)

2005-05-02 Thread Jaroslav Lukesh
Dne pondl, 2. kvtna 2005 09:52 Tino Wildenhain [EMAIL PROTECTED] napsal(a): Am Montag, den 02.05.2005, 09:04 +0200 schrieb Jaroslav Lukesh: Hi all, I was extend SquishDot with wysiwyg editor (origin: vsbabu ieeditor). But it was not accept many tags due too small number of allowed html

RE: [Zope] custom_zodb.py and Control_Panel

2005-05-02 Thread Jim Abramson
v2.7.4 running on Linux - I'm trying to use this (custom_zodb.py in INSTANCE_HOME) custom_zodb.py is no longer used for Zope 2.7.x. You define databases in zope.conf. Ah, OK thanks. Is it for the collector that, aside from messing up the ZMI a bit, the custom_zodb.py approach is

Re: [Zope] custom_zodb.py and Control_Panel

2005-05-02 Thread Jens Vagelpohl
On May 2, 2005, at 14:49, Jim Abramson wrote: v2.7.4 running on Linux - I'm trying to use this (custom_zodb.py in INSTANCE_HOME) custom_zodb.py is no longer used for Zope 2.7.x. You define databases in zope.conf. Ah, OK thanks. Is it for the collector that, aside from messing up the ZMI a bit,

RE: [Zope] high loads, more threads, spinning wheels

2005-05-02 Thread Jim Abramson
Thanks Stefan Jens... if yes, would upping the number of ZODB connections effectively raise the ceiling - e.g. 12 ZODB connections - 12 threads should perform properly ? Is increasing the number of ZODB cx's possible, let alone advisable? (why the default of 7 - not 6 or 8?)

[Zope] Re: high loads, more threads, spinning wheels

2005-05-02 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Abramson wrote: Thanks Stefan Jens... if yes, would upping the number of ZODB connections effectively raise the ceiling - e.g. 12 ZODB connections - 12 threads should perform properly ? Is increasing the number of ZODB cx's possible,

Re: [Zope] high loads, more threads, spinning wheels

2005-05-02 Thread Stefan H. Holek
I assume what you see are hangs i.e. Zope appearing to not accept new requests, as soon as all 4 worker threads are busy waiting for the RDBMS system to answer. Now, using more threads will push back the point of unresponsiveness, but as soon as you have the 13th request hitting Zope, you are

[Zope] question about login

2005-05-02 Thread u1207440
I have created a login form an a few users in acl_users, both exists in a ordered folder called conference. My login Form post to a login dtml method and login dtml method redirect me to another page. Even though the user exists and username and password is correct, somehow zope won't redirect

[Zope] ZSQLRelay Problem

2005-05-02 Thread Evrim Ozcelik
Hi, My zope server is running on fedore core3. I want to connect to ms sql server running on windows xp platform using FreeTDS, SQLRelay and ZSqlRelayDA. My sqlrelay.conf can be seen below: ?xml version=1.0? !DOCTYPE instances SYSTEM sqlrelay.dtd instances instance id=mssql port=9000

Re: [Zope] question about login

2005-05-02 Thread Phillip Hutchings
On 03/05/05, u1207440 [EMAIL PROTECTED] wrote: I have created a login form an a few users in acl_users, both exists in a ordered folder called conference. My login Form post to a login dtml method and login dtml method redirect me to another page. Even though the user exists and username

Re: [Zope] question about login

2005-05-02 Thread Dennis Allison
You might take a look at the CookieCrumbler product. It does pretty much what you seem to want manages much of the hard stuff. On Tue, 3 May 2005, Phillip Hutchings wrote: On 03/05/05, u1207440 [EMAIL PROTECTED] wrote: I have created a login form an a few users in acl_users, both exists

Re: [Zope] question about login

2005-05-02 Thread Phillip Hutchings
On 03/05/05, Dennis Allison [EMAIL PROTECTED] wrote: You might take a look at the CookieCrumbler product. It does pretty much what you seem to want manages much of the hard stuff. I was getting there ;) Though I don't really appreciate the way CookieCrumbler stores the passwords... --

Re: [Zope] question about login

2005-05-02 Thread Dennis Allison
Another option is to look at the other User Folder products which do things differently. Alternatively, you could modify the CookieCrumbler product to make it fit your model. On Tue, 3 May 2005, Phillip Hutchings wrote: On 03/05/05, Dennis Allison [EMAIL PROTECTED] wrote: You might

Re: [Zope] question about login

2005-05-02 Thread Phillip Hutchings
On 03/05/05, Dennis Allison [EMAIL PROTECTED] wrote: Another option is to look at the other User Folder products which do things differently. Alternatively, you could modify the CookieCrumbler product to make it fit your model. I've used exUserFolder before, it can store info in the session

[Zope] bypass authentication

2005-05-02 Thread u1207440
I made a signup form for my website and I want to check if the username already exists in acl_users folder without having to log in as administrator. How do I do that, what and where do I have to modify my permission for so I can use acl_users.getUser(REQUEST.name) without having to login

Re: [Zope] bypass authentication

2005-05-02 Thread Phillip Hutchings
On 03/05/05, u1207440 [EMAIL PROTECTED] wrote: I made a signup form for my website and I want to check if the username already exists in acl_users folder without having to log in as administrator. How do I do that, what and where do I have to modify my permission for so I can use

Re: [Zope-DB] dumb INSERT Question

2005-05-02 Thread Charlie Clark
On 2005-05-02 at 02:29:53 [+0200], Michael Schwartz [EMAIL PROTECTED] wrote: Arguments: userId, roleId INSERT INTO UserRoles (Id_User, Id_Role) VALUES (dtml-sqlvar userId type=int, dtml-sqlvar roleId type=int) I test the method: UserId 14 RoleId