RE: [Zope] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Mayers, Philip J
Lloyd [mailto:[EMAIL PROTECTED]] Sent: 22 January 2001 16:20 To: Mayers, Philip J; 'Martijn Pieters'; Phil Harris Cc: [EMAIL PROTECTED] Subject: RE: [Zope] Adding roles in 2.3b2 and CVS Already fixed in CVS guys - thanks though! Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.3

RE: [Zope] Adding roles in 2.3b2 and CVS

2001-01-22 Thread Mayers, Philip J
I've got this problem as well - who wants to report it? Zope Version Zope 2.3.0b2 (source release, python 1.5.2, linux2) Python Version 1.5.2 (#1, Dec 21 2000, 15:29:32) [GCC egcs-2.91.66 19990314/Linux (egcs- System Platform linux-sparc Process Id 23242 (1024) Running For 18 hours 5

RE: [Zope] Re: How to backup Zope data base?

2001-01-19 Thread Mayers, Philip J
17:02 To: Andreas Tille Cc: '[EMAIL PROTECTED]' Subject: Re: [Zope] Re: How to backup Zope data base? Andreas Tille wrote: > > On Fri, 19 Jan 2001, Stephane Bortzmeyer wrote: > > > On Thursday 18 January 2001, at 13 h 52, the keyboard of "Mayers, Philip J" >

[Zope] Calling ZSQL from PythonMethods (was RE: [Zope] ZSQL, Python methods and XMLRPC)ods and XMLRPC)

2001-01-19 Thread Mayers, Philip J
s| | Imperial College | +--+ -Original Message----- From: Mayers, Philip J [mailto:[EMAIL PROTECTED]] Sent: 18 January 2001 22:37 To: '[EMAIL PROTECTED]' Subject: [Zope] ZSQL, Python methods and XMLRPC I've three questions (but I'm making progress!): 1) In 2.2.

RE: [Zope] Another problem with Login Manager

2001-01-19 Thread Mayers, Philip J
Yes, I've seen that and would love to know what causes it. I didn't find out why, but it isn't doing it now. It may be to di with the Roles the user has. Regards, Phil +--+ | Phil Mayers, Network Support | | Centre for Computing Services| | Imperial Colleg

[Zope] ZSQL, Python methods and XMLRPC

2001-01-18 Thread Mayers, Philip J
I've three questions (but I'm making progress!): 1) In 2.2.5, how can I call a ZSQL method from a Python Method - I'm passing the method in as a parameter, and the furthest I get says "__call__ not defined". Do PythonScripts obivate the need for this? I assume I can just do this: for record in

[Zope] manage_exportObject checks Referer header (RE: [Zope] How to backup Zope data base?)up Zope data base?)

2001-01-18 Thread Mayers, Philip J
Centre for Computing Services| | Imperial College | +--+ -Original Message----- From: Mayers, Philip J [mailto:[EMAIL PROTECTED]] Sent: 18 January 2001 13:52 To: 'Etienne Labuschagne'; '[EMAIL PROTECTED]' Subject: RE: [Zope

RE: [Zope] How to backup Zope data base?

2001-01-18 Thread Mayers, Philip J
This certainly isn't *efficient*, but it works: wget -http-user=usename -http-pass=password http://your.site.com/Zope/path/to/wherever/manage_exportObject?download%3Ain t=1 Will get you a .zexp of "/path/to/wherever", whereas: wget http://your.site.com/Zope/manage_exportObject?download%3Aint=1

[Zope] Solved (was RE: Data type coercion and "records")

2001-01-18 Thread Mayers, Philip J
there are non-compliant browsers out there... Regards, Phil +--+ | Phil Mayers, Network Support | | Centre for Computing Services| | Imperial College | +--+ -Original Message- From: Mayers, Philip J

RE: [Zope] Help with getting started with Login Manager

2001-01-18 Thread Mayers, Philip J
Try this: http://www.zope.org/Members/jok/SQL_based_LoginManager Some extra pointers: Step 7: Customize the LoginManger instance to call the SQL methods You'll have this /root /folder /acl_users (LoginManager) /UserSource SQL_check_user SQL_get_password SQL

[Zope] Data type coercion and "records"

2001-01-18 Thread Mayers, Philip J
*Now* I remember why I like Zope so much... I'm using the ":records" to marshall a complex hierarchical form, and I'm a little worried by this comment: http://www.zope.org/Members/Zen/howto/FormVariableTypes Note: Before creating a second record and adding an attribute, Zope gets the last rec

[Zope] Form data type coercion syntax and javascript

2001-01-17 Thread Mayers, Philip J
Not a problem per-se, just a query - how are people dealing with things like this: function populate(form) { for (var i=0;i<4;i++) { form.test.options[i] = new Option("Red"+i,"color_red"); if (i == 0) form.test.options[i].selected = true; } return false; } If a

[Zope] RE: SQL Method, dtml-with and namespace weirdness

2001-01-11 Thread Mayers, Philip J
iginal Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED]] Sent: 10 January 2001 20:59 To: Mayers, Philip J Cc: '[EMAIL PROTECTED]' Subject: Re: [Zope] REPOST: dtml-with doesn't work Usually, I complain that problem reports are too terse. But, your's was very big, such

RE: [Zope] SQL Method, dtml-with and namespace weirdness

2001-01-10 Thread Mayers, Philip J
Ok, using Postgresql 7.0.2-2, PoPo 2.0.1, ZPoPyDA 1.1-pre2, Zope 2.2.5, here's a reproducible scenario: Create the following tables in your database: create table bugtest1 ( name text, domain text, ); create table bugtest2 ( name text, domain text, refer text, foreign key(refer) references bugt

RE: [Zope] SQL Method, dtml-with and namespace weirdness

2001-01-10 Thread Mayers, Philip J
---+ | Phil Mayers, Network Support | | Centre for Computing Services| | Imperial College | +--+ -Original Message- From: Chris Withers [mailto:[EMAIL PROTECTED]] Sent: 10 January 2001 13:30 To: Mayers, Philip J Cc: '[EMA

RE: [Zope] Special-name of variables called 'name' or 'domain'

2001-01-10 Thread Mayers, Philip J
m using 2.2.5) Thanks anyway. Regards, Phil +--+ | Phil Mayers, Network Support | | Centre for Computing Services| | Imperial College | +--+ -Original Message- From: Chris Withers [mailto:[EMAIL PROTECTED]] Sent:

[Zope] REPOST: dtml-with doesn't work

2001-01-10 Thread Mayers, Philip J
Hopefully that will get someone's attention. I have an SQL method that returns (name,domain,otherstuff) I have a DTML method (/root/host/show) that looks like this: 'name' and 'domain' are set to the primary hostname and domain at this point by whatever calls this DTML method POINT A PO

[Zope] Special-name of variables called 'name' or 'domain'

2001-01-09 Thread Mayers, Philip J
I've got some SQL method, and a folder structure, and am seeing some *very* annoying results. Namely, seems to cancel out variable assignments from an enclosing /root get_machine_hosts (SQL method) get_host_aliases (SQL method) show (dtml method) /host show (dtml method) /alias

RE: [Zope] Python Scripts in 2.2.x

2001-01-09 Thread Mayers, Philip J
Network Support | | Centre for Computing Services| | Imperial College | +--+ -Original Message----- From: Mayers, Philip J Sent: 09 January 2001 10:01 To: 'Bill Anderson' Subject: RE: [Zope] Python Scripts in 2.2.x No, I

[Zope] Python Scripts in 2.2.x

2001-01-08 Thread Mayers, Philip J
I need to use LoginManager, which doesn't seem to work with 2.3, and I need to use Python Scripts, which are not available (?) for 2.2.x - any ideas? Regards, Phil +--+ | Phil Mayers, Network Support | | Centre for Computing Services| | Imperial College

[Zope] LoginManager and SSL client authentication

2000-12-15 Thread Mayers, Philip J
All, LoginManager is now working well... We've got a bespoke application for storing our (very large) user account database here. One field a user can have is a crypted unix password (which I'm currently using to authenticate users). The other thing that can exist is the Subject or SubjectAltNam

RE: [Zope] LoginManager broken?

2000-12-12 Thread Mayers, Philip J
ame the DTML method (e.g. s/x(.*)/$1/g in perl-speak) - if you're lucky, it will work. I have to say, I'm not hugely impressed... Regards, Phil +------+ | Phil Mayers, Network Support | | Centre for Computing Services| | Imperial College

RE: [Zope] LoginManager broken?

2000-12-11 Thread Mayers, Philip J
PROTECTED]] Sent: 11 December 2000 20:18 To: Mayers, Philip J Cc: '[EMAIL PROTECTED]' Subject: Re: [Zope] LoginManager broken? You might look at http://www.zope.org/Members/dlpierson/sqlLogin for a different approach that works for me in early testing. Note that it needs additional work

[Zope] LoginManager broken?

2000-12-11 Thread Mayers, Philip J
Does it even *work*? Even a little bit? Because other than repeating the same process 12 damn times, so far I'm not convinced. Maybe I'll look in the source code to see if there's actually anything in the files (other than a HOWTO.txt, which is empty, which BTW is more annoying than there not bein

[Zope] PCGI crash problem with SQL/LIMIT

2000-12-11 Thread Mayers, Philip J
I'm running Zope 2.2.4 and am having a *very* annoying problem (either I'm missing something, or Zope is broken). I've got an SQL table called "users". An SQL query of the form: select * from users limit 10 Works, but: select * from users Fails spectacularly - pcgi_publisher crashes with the

RE: [Zope] XMLRPC accessing Zope DTML/SQL methods

2000-11-08 Thread Mayers, Philip J
---+ | Phil Mayers, Network Support | | Centre for Computing Services| | Imperial College | +--+ -Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED]] Sent: 07 November 2000 21:35 To: Mayers, Philip J Cc: '[E

RE: [Zope] XMLRPC accessing Zope DTML/SQL methods

2000-11-08 Thread Mayers, Philip J
--+ -Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED]] Sent: 07 November 2000 21:35 To: Mayers, Philip J Cc: '[EMAIL PROTECTED]' Subject: Re: [Zope] XMLRPC accessing Zope DTML/SQL methods ___ Zope maillist - [EMAIL PROTEC

[Zope] XMLRPC accessing Zope DTML/SQL methods

2000-11-07 Thread Mayers, Philip J
I'm planning on using Zope as some middleware to an SQL database backend. Zope will implement the per-row ACL checking and such for the database application, and there are two clients - a simple web-based Zope frontend, and a larger standalone Java application. I'd like the Java app to communicate

RE: [Zope] SQL trees...

2000-08-21 Thread Mayers, Philip J
- From: Philipp Auersperg [mailto:[EMAIL PROTECTED]] Sent: 21 August 2000 18:31 To: Mayers, Philip J; [EMAIL PROTECTED] Subject: Re: [Zope] SQL trees... Which Zope version do you use ? When I read your message I have a deja-vu: I encountered the same output when I use SQL based trees under

[Zope] SQL trees...

2000-08-21 Thread Mayers, Philip J
-+ | Phil Mayers, Network Support | | Centre for Computing Services| | Imperial College | +--+ -Original Message- From: Chris Withers [mailto:[EMAIL PROTECTED]] Sent: 21 August 2000 15:23 To: Mayers, Philip J Cc: '[

[Zope] dtml-let and quoting(?) or forcing to string

2000-08-21 Thread Mayers, Philip J
All, I've just setup a test Zope installation. So far, very impressive. I'm using a Postgresql database containing a network hierarchy (basically, a table with a "network" column, and a "parentnet" column). I'm trying to display this with a tree view, using the following DTML: Where the