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
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
Centre for Computing Services|
| 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
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"
[EMAIL PROTECTED] wrote:
This
*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
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
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
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 blah
|
| 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] How to backup Zope
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
Not a problem per-se, just a query - how are people dealing with things like
this:
dtml-var standard_html_header
FORM
SELECT MULTIPLE NAME="test"
/SELECT
SCRIPT LANGUAGE="JavaScript"
function populate(form) {
for (var i=0;i4;i++) {
form.test.options[i] = new Option("Red"+i,"color_red");
|
| Imperial College |
+--+
-Original 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 to
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:
dtml-comment
'name' and 'domain' are set to the primary hostname
and domain at this point by whatever calls this
DTML method
+--+
| Phil Mayers, Network Support |
| Centre for Computing Services|
| Imperial College |
+--+
-Original Message-
From: Chris Withers [mailto:[EMAIL PROTECTED]]
Sent: 10 January 2001 13:09
To: Mayers, Philip J
Cc
ers, 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: '[EMAIL PROTECTED]'
Subject: Re: [Zo
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
|
| 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'm afraid not:
Traceback
I've got some SQL method, and a folder structure, and am seeing some *very*
annoying results. Namely, dtml-with seems to cancel out variable
assignments from an enclosing dtml-in
/root
get_machine_hosts (SQL method)
get_host_aliases (SQL method)
show (dtml method)
/host
show (dtml
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
to add read permissions to any local roles you're using
8) Make a copy of the test folder now, before it all goes wrong...
9) Batch rename 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, Netw
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
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
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 before being turned loose
om: 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
snip helpful replies
___
Zope maillist - [EMAIL PROTECTED]
http://list
|
+--+
-Original Message-
From: Mayers, Philip J [mailto:[EMAIL PROTECTED]]
Sent: 08 November 2000 10:29
To: '[EMAIL PROTECTED]'
Subject: RE: [Zope] XMLRPC accessing Zope DTML/SQL methods
Ok, so this works:
def extmethod(self, REQUEST):
return
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
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:
dtml-let
-+
-Original Message-
From: Chris Withers [mailto:[EMAIL PROTECTED]]
Sent: 21 August 2000 15:23
To: Mayers, Philip J
Cc: '[EMAIL PROTECTED]'
Subject: Re: [Zope] dtml-let and quoting(?) or forcing to string
"Mayers, Philip J" wrote:
dtml-let network="0/0"
dt
-
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
29 matches
Mail list logo