Hi,
Can anyone tell me a way to get Zope Objects from the first
Zope-Installation to the second.
I need this because i have to program a Product to putting data into
different Zope Installations from one point of the Web.
My boss want this way because he want a central point for data input,
Toby Dickenson wrote:
Zope security is context based: Users can be defined in a subfolder and only
have access under that folder, they can also be given local roles for a
given folder. The role:permission mapping is set per-folder. Any security
aware object needs to know its context.
Yeah,
Anyone know what those attributes are?
Heres a good trick: add this method to your class to see which attributes it
is asked for, but doesnt implement.
def __getattr__(self,id,reg={}):
if not reg.has_key(id):
print `id`
reg[id]=id
raise
Andre Schubert wrote:
Hi,
Can anyone tell me a way to get Zope Objects from the first
Zope-Installation to the second.
I need this because i have to program a Product to putting data into
different Zope Installations from one point of the Web.
My boss want this way because he want a
Thanks for the advice (below). I added another parameter for meta type and
everything works great. What's the advantage of using Python Method rather
than an external method, other than thru-the-web editing? Any disadvantages?
At 10/24/00 06:45 PM, Itamar Shtull-Trauring wrote:
Write a Python
On Tue, 24 Oct 2000 20:31:52 +0200, [EMAIL PROTECTED] wrote:
If the Zope object knows how to produce the data themselves, they
could push producer(s) directly to the channel. I added a single
check in ZServer.HTTPResponse(256) where a temporary file is only
created
Toby Dickenson wrote:
On 24 Oct 2000 15:14:24 GMT, [EMAIL PROTECTED] (Ty Sarna) wrote:
Unfortunately there are a lot of things that Zope just can't do because
there is no way to get a persistent "ticket" for an object that can be
handed out to some external system, and then later redeemed
How does this differ from Local FS?
cheers,
Chris
[EMAIL PROTECTED] wrote:
I have been building an "ExternalFile" class which stores the body of
the file in an external file, mirroring the Zope path/hierarchy. This
will allow easy integration with servers that can mount the external
Toby Dickenson wrote:
Yeah, I'd love an ID I could use to grab an object no matter how often
it was used.
I suspect you will have to build this yourself. Store a sufficiently random
id inside your objects when they are created, and use a ZCatalog to index
them.
blech! ;-)
Why
Chris Withers wrote:
I suspect you will have to build this yourself. Store a sufficiently random
id inside your objects when they are created, and use a ZCatalog to index
them.
blech! ;-)
This is the normal way to keep references to objects. I asked Jim Fulton at
IPC8, and he
The WriteLocking RiskFactors artifact has had some new work done on it and
I'm interested in some editorial comments and review before work begins on
Architecture and UseCases.
http://dev.zope.org/Wikis/DevSite/Projects/WriteLocking/RiskFactors
Make any comments you have at:
Johan Carlsson wrote:
Why are the _p_oid depriciated?
Not depreciated, just "don't use them."
--
Itamar S.T. [EMAIL PROTECTED]
Fingerprint = D365 7BE8 B81E 2B18 6534 025E D0E7 92DB E441 411C
___
Zope-Dev maillist - [EMAIL PROTECTED]
There is not much difference between the ExternalFile class I'm working
with and the File objects produced by LocalFS except External Files can
be put anywhere in the Zope hierarchy and LocalFS files need to be under
a LocalFS. Each approach has its pros and cons.
This proposal mostly deals
I should also note that if you create a producer, you will have to
override the __len__ method to return the entire length of the data.
This is because RESPONSE.write doesn't allow you to set the
length of a
write and there code during output that checks the size of the written
object.
Johan Carlsson wrote:
Why are the _p_oid depriciated?
Not depreciated, just "don't use them."
But I want too, why shouldn't I?
They solves my problems with mapping relational data to objects.
If I were to use my own random id generator I would need a global
registry for my UID. I
Johan Carlsson wrote:
Why are the _p_oid depriciated?
Not depreciated, just "don't use them."
But I want too, why shouldn't I?
They solves my problems with mapping relational data to objects.
I would guess multiple databases can have the same oid's for their objects -
and Zope does
Hi,
do anyone know how to generate my own error message if there is a authorization
problem? The standard_error_message.html do not influence the response from zope.
Thanks, Hannes
___
Zope-Dev maillist - [EMAIL PROTECTED]
Hi,
I am trying to get Login Manager working and I am getting the following
error message when I add the LoginManager type to a user folder, has anyone
encountered this before ?
Thanks,
Kim Friesen
__ACTION__
Add User Folder
Add Login Manager to User Folder
Error
__PRODUCTS__
Toby Dickenson:
Thanks for the advice.
I have looked at that before, and having a hybrid ZClass/Python product
seemed to place a lot of design considerations heavily in the python base
class. I've looked _holdOntoYourButts before as well.
Thanks again,
On Tue, 24 Oct 2000 20:16:30 GMT,
-Original Message-
From: ethan mindlace fremen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 25, 2000 2:45 PM
To: Glen Becker
Cc: Zope Webmaster
Subject: Re: FastCGI under IIS
Glen Becker wrote:
Apparently, Zope has support for FastCGI under IIS. We want to find a
FastCGI
groove.net has a lot of potential for coordinating open-source projects...
maybe someone can schedule one of those hairy zope-xml discussions on there.
-josh
_
Get Your Private, Free E-mail from MSN Hotmail at
oops, sorry I didn't mean a 'User Folder' ...
I actually added a 'Folder' and then added a 'Login Manager' to that Folder.
I also tried this with a 'Folder w/Customizer Support'
Thanks,
Kim Friesen
Message: 11
From: [EMAIL PROTECTED] (Ty Sarna)
Subject: Re: [Zope-dev] UnboundLocalError :
The fastCGI plugin for IIS is unfortunately not open source. FastCGI bought
it and you now have to pay for it. Try pcgi instead.
http://www.fastcgi.com/
- Original Message -
From: "Becker, Glen" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 25, 2000 12:41 PM
Subject:
Ender writes:
Point taken.
Jason Spisak wrote:
Ender writes:
Jason Spisak wrote:
The only problem I am dealing with is size.
What kind of a transaction will that be?
Huge, no doubt.
I would run out of space to buffer it. Does Zope do subtransactions now,
Olivier Ricou wrote:
On Tue, Oct 24, 2000 at 01:40:58PM +0200, Rik Hoekstra wrote:
Go to the management interface and add a zope user in the acl_users
folder. Give it Management rights. Shut you browser, reopen it and
authenticate as the user you just entered. Get on with the
--- "Morten W. Petersen" [EMAIL PROTECTED] wrote:
[Jason Byron]
| Does anyone have any LoginManager 0.8.8b1 example
| code? It almost looks like you can extend the
system
| using plugins, but I don't know how that's done.
| Anyone else have luck doing this? If so then do
you
| have
I want to include the owner (from acl_users) of a page in my
HTML-output.
dtml-var "AUTHENTICATED_USER.getUserName()"
is what you want
Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong?
What I want is:
'Anonymous User' surfs to my site. She surfs trough the HTML output
BTW there is no easier way than to shut the browser and reopen it ?
No easy sure way at least. That is, if you have basic authentication
(which is always the case when you have Zope out of the box). It's
reported that in some cases
http://user:[EMAIL PROTECTED]:whateverport may log you
Hi,
The management team wants to know how many hours are necessary to keep the
faculty Zope site running. I have to make a summary of hours necessary for
the technical system management such as software releases, database
management, fixes etc. Developing or installing new features is not to be
hi all,
after starting Zope, everything seems to be ok, but i can not see some
graphic icons in the web page.
The Traceback after starting zope is the following one:
Traceback (innermost last):
File "/home/pecos/zope/Zope-2.2.2-solaris-2.6-sparc/z2.py", line 609, in
?
logger_object=lg)
On Wednesday 25 October 2000 16:01, Patrick Koetter wrote:
I want to include the owner (from acl_users) of a page in my
HTML-output.
dtml-var "AUTHENTICATED_USER.getUserName()"
is what you want
Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong?
What I want is:
Zope bulk mailing has recently been discussed here and the general opinion
was to avoid it. Zope is just not a bulk mailer. Look into e.g. mailman
and hand off the task.
Stefan
On Tue, 24 Oct 2000, Holger Lehmann wrote:
I can send single email with one recipient without problems.
I need to
* "Phil Harris" [EMAIL PROTECTED]
| Jorn,
|
| I'm no Apache GrandMaster but couldn't you use the [p] option of a
| RewriteRule to make it proxy if the url matches a pattern:
|
| RewriteEngine on
| RewriteRule !^(/static/.*) http://myserver.com:8080$1 [p,l]
|
| Or something along those lines.
At 10:42 AM +0200 10/25/2000, Diny van Gool wrote:
1. How many Zope releases per year can I expect and how much time do I need
per release?
One major, four or five minor and three or four hotfixes. Schedule a
day for the major, half a day each for the rest.
2. How much time do I need for
Here's on I particularly like, sorry it doesn't have a sql query. It sends
an attached image file, contents and all, not just an IMG SRC reference.
And do youself a favour by adding a Mailhost object somewhere above where
you want to use it.
dtml-sendmail mailhost="MailHost"
To: Feedback
when I try to start zope on windows machine i get:
problem(100) ZServer Computing local hostname
this is 'normal' and not a problem (though I always wonder what it
really means)
snip
The dos window seems to hang after this.
nope, this is just the console window for the server. This is
On Tue, 24 Oct 2000 15:38:43 -0400, "Richard Lanham"
[EMAIL PROTECTED] wrote:
then it says:
ZServer Medusa (V1.16.4.3) started at... timestamp...
hostname: dsl1254-096...isp.net
Port:8080
your http server is on 8080
Monitor Server starts on port 8099
and the monitor is on 8099
I'm trying to build Zope with the Apple developer tools but it didn't work.
Python 2.0 seems easier to build and works well but Zope C source codes must
be modified to get it build. The How-to note about Mac OS X server doesn't
apply to the public beta.
Does somebody have already tried to use
Hi, just a quickie idiot question ..
Does zope use any of the python on my RH6.2 box or does it use its own
copy exclusively?
I was trying to install the python xml libraries to try our the hyperdom
product. I installed an rpm succesfully before remembering that zope has
its own python. I
This is a question I guess has something to do with popping an object onto
the namespace, or about me not understanding how stuff works.
When I make a list of objects:
class simple:
def __init__(self, value):
self.value = value
theList = [simple(1), simple(2), simple(3), simple(4)]
On Wed, 25 Oct 2000, [iso-8859-1] Max Møller Rasmussen wrote:
class simple:
def __init__(self, value):
self.value = value
theList = [simple(1), simple(2), simple(3), simple(4)]
I would expect to be able to traverse it like below (The objects namespace
would be popped onto
I get an error when using following expr:
dtml-in expr="address_select(ADDRESS.CENTRE_NO=CENTRENO)"
This is due to the . in ADDRESS.CENTRE_NO
how can I use ADDRESS.CENTRE_NO so that I don't get this error?
Tom.
___
Zope maillist - [EMAIL
"Bak @ kedai" wrote:
hi all
quickie:
if dtml-in, i can use size to limit the results rendered, what do i use in
dtml-tree?
You don't, you run screaming for the hills ;-)
I have a deep seated mistrust of the dtml-tree tag now after many
bitter experiences.
I'd recommend just writing an
Mike Bannister wrote:
Just for the heck of it I dropped that same code into a DTML Document in the
same Folder and it didn't list the Files as I had expected. I understand
pretty much the differences of Methods and Documents and I'm assuming the
reason for this is related to the way the
Oleg Broytmann wrote:
On Wed, 25 Oct 2000, [iso-8859-1] Max Møller Rasmussen wrote:
class simple:
def __init__(self, value):
self.value = value
theList = [simple(1), simple(2), simple(3), simple(4)]
I would expect to be able to traverse it like below (The objects
sorry if this is offtopic, but i see reference of rebooting every so often
with NT( and maybe W2K). is this real? or FUD?
i use linux myself and would like to confirm this from all you guys'
experience
Do I miss important tasks? Has anybody done this before?
Yeah.. rebooting NT every 4 days.
Unsafe has also been proposed. I do not like this either because it is
not accurate. Simply because something dangerous, foolish or stupid can
be done using this method type does not mean it will be. Are we to label
all objects "unsafe" simply because of the capacity of harm? Safety is
in
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Mike
Bannister
Sent: Wednesday, October 25, 2000 5:44 AM
To: [EMAIL PROTECTED]
Subject: [Zope] use of objectValues() in DTML Methods vs. DTML Documents
Just for the heck of it I dropped that same
Ooops! Wrong list. Sorry.
Will post to Zope-dev.
Jimmie Houchin
Jimmie Houchin wrote:
[snip]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
Hi,
Just a quick question:
We are building some device controller software and to control those we have
a normal 486 with 24MB RAM running linux. Has anybody tried running zope on
such a modest setup? There is only going to be one or two users connected to
Zope at once, so we don't need much
I want to include the owner (from acl_users) of a page in my
HTML-output.
dtml-var "AUTHENTICATED_USER.getUserName()"
is what you want
Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong?
What I want is:
'Anonymous User' surfs to my site. She surfs trough the HTML output
Chris Withers wrote:
Jonathan Cheyne wrote:
So the question is: can I run zope using the stock RH6.2 distributions'
own copy of python?
If it's Python 1.5.2, then yes... there's probably instructiosn for this
on Zope.org near the bits about insatlling Zope from source on Linux.
IIRC
My 2 ZoNT (Zope on NT workstation) boxen haven't needed rebooting yet. They
sit mostly idle with occasional light loads. They are P100/32MB/1.2GB
old(er than dirt) Industrial Computer Supply boxes. You know, 19" rack
mount 4U units. Good, solid, slow hardware. They survive NT rather well.
I have had it running on a Pentium 133 w/ 16 MB of RAM and it was actually
doing ok. Not quick, per se, but ok.
J
From: "Alexander Limi" [EMAIL PROTECTED]
Date: Wed, 25 Oct 2000 18:43:57 +0200
To: [EMAIL PROTECTED]
Subject: [Zope] How small a box can zope run on?
Hi,
Just a quick
Hi all,
another newbie-question:
- I created a zclass with three date properties.
- Now I´d like to display the most recent of these dates in
directory-listings etc.
QUESTION 1: How do I compare dates in dtml code?
QUESTION 2: How do I exclude empty values from processing?
(I
This seems as if it would work to delete all objects of a certain meta-type
but it gives me an error.
dtml-in "Catalog(meta_type='class_name')"
dtml-call "manage_delObjects(id,[REQUEST])"
/dtml-in
The error is:
Error Type: BadRequest
Error Value: 971722944 does not exist
Although, I know it
You have to identify the column as a "key" column for the setRow method to
recognize an already existing one and modify it in place. You do this by
adding a "*" at the end of the column name. In your case,
Position*
On Wed, Oct 25, 2000 at 05:33:23PM +0200, Danny William Adair wrote:
I have
worked like a charm, thank you very much!
Danny
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 25. Oktober 2000 20:24
An: Danny William Adair; [EMAIL PROTECTED]
Betreff: Re: [Zope] TinyTablePlus: Problems with quotation marks
You have
[...] To: trimmed to zope.org
On 25 Oct 2000, 23:49 Bak @ kedai wrote:
sorry if this is offtopic, but i see reference of rebooting every so
often with NT( and maybe W2K). is this real? or FUD? i use linux
myself and would like to confirm this from all you guys' experience
It's FUD. I'M
My 2 ZoNT (Zope on NT workstation) boxen haven't needed rebooting yet.
They
sit mostly idle with occasional light loads. They are P100/32MB/1.2GB
old(er than dirt) Industrial Computer Supply boxes. You know, 19" rack
mount 4U units. Good, solid, slow hardware. They survive NT rather well.
I'm still not grocking the syntax for setting REQUEST fields.
I want to set a REQUEST field "filename" to be the value returned
by a ZSQL call. I want something like this (pseudo-code of what I want):
dtml-let FOO=MyFavoiteZSQLMethod
dtml-call "REQUEST.set('filename', FOO)"
dtml-call
I've been working with Zope for a bit now and I love it.
However, a few of the tools I'm used to having with other scripting
tools are missing in the Zope realm.. One thing I would very much
like to have is a script that could go through a long DTML document
and pretty-format the code, not
"Months without rebooting"?
That is certainly not something to brag about. With three of my
installations of Zope on Linux I have the machines at 194, 204 and 55 days
of uptime (and the 55 was because of a bad powerstrip, the other others have
been up since I brought them up). While NT can and
Ok,
dtml-let nameAsAString="'index_html'"
dtml-var "_[nameAsAString]"
/dtml-let
works alright, even my longer (using a TinyTablePlus)
dtml-in Items sort=Position
dtml-let Prefix="'FormElement_'"
thePos=Position
Hi Zopists,
I have a problem with inherittance of my publishable python classes.
I created in python
classA and classB(classA)
classA has functionA and classB has functionB. In __init__.py of my
product I register only classB.
My problem is that it is not possible to call functionA of an
"Months without rebooting"?
That is certainly not something to brag about. With three of my
installations of Zope on Linux I have the machines at 194, 204 and 55 days
of uptime (and the 55 was because of a bad powerstrip, the other others
have
been up since I brought them up). While NT
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
It's FUD. I'M running Zope on two NT servers here, which run many months
between reboots. I just checked - the Zope on the intranet server has an
uptime
of 34 days 8 hours 32 min 3 sec now.
I must say that I agree. All in all for my
try
dtml-call "REQUEST.set('filename', FOO())"
-Original Message-
From: Noah [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Thursday, 26 October 2000 09:01
Subject: [Zope] Not grocking RESQUEST.set syntax
I'm still not grocking the syntax for setting REQUEST fields.
In a catalog, id is not the id of an object, data_record_id_ is.
- Original Message -
From: "Scott Burton" [EMAIL PROTECTED]
To: "Zope List" [EMAIL PROTECTED]
Sent: Wednesday, October 25, 2000 11:19 AM
Subject: [Zope] deleting through iteration
This seems as if it would work to delete
Attribute error means it can find some value. Without some more information
it is impossible to say.
- Original Message -
From: "Petr Knapek" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 25, 2000 1:02 PM
Subject: [Zope] Python product - inherittance
Hi Zopists,
I
Try:
dtml-in MyFavoiteZSQLMethod
dtml-call "REQUEST.set('filename', filename)"
dtml-call some_other_thing_that_uses_filename
/dtml-in
This assumes that MyFavoiteZSQLMethod returns the variable filename
Dan
Noah wrote:
I'm still not grocking the syntax for setting REQUEST fields.
I
Hi Martijn, and Zope Fans,
I'm using ZFormulator and having problems with permissions
on Zope v.2. The sign-on dialog pops-up when a user
attempts to edit a form, but the correct name and password
are rejected. Has anyone found a little detail that needs
tweking to get past this one?
Petr Knapek wrote:
Hi Zopists,
I have a problem with inherittance of my publishable python classes.
I created in python
classA and classB(classA)
classA has functionA and classB has functionB. In __init__.py of my
product I register only classB.
My problem is that it is not
Noah wrote:
I'm still not grocking the syntax for setting REQUEST fields.
I want to set a REQUEST field "filename" to be the value returned
by a ZSQL call. I want something like this (pseudo-code of what I want):
dtml-let FOO=MyFavoiteZSQLMethod
dtml-call "REQUEST.set('filename', FOO)"
On 25 Oct 2000, at 16:00, J. Atwood wrote:
"Months without rebooting"?
That is certainly not something to brag about.
Huh? Did anybody? Certainly not me. :-{
In case I didn't make myself clear: for running Zope; I don't care
much whether the OS needs a reboot every month, every year, or
Hi!
I'm using the example at the "Filling MULTIPLE SELECT OPTION's with
database lists", and a little step doesn't works.
I heve the following in the DTML Method that fills two SELECT in a Web
Form:
(...)
dtml-call "REQUEST.set('cadExportacao', [])"
dtml-call "REQUEST.set('cadImportacao', [])"
Wolfgang Strobl wrote:
On 25 Oct 2000, at 16:00, J. Atwood wrote:
"Months without rebooting"?
That is certainly not something to brag about.
Huh? Did anybody? Certainly not me. :-{
In case I didn't make myself clear: for running Zope; I don't care
much whether the OS needs a
On Thu, 26 Oct 2000, Noah wrote:
I'm still not grocking the syntax for setting REQUEST fields.
I want to set a REQUEST field "filename" to be the value returned
by a ZSQL call. I want something like this (pseudo-code of what I want):
dtml-let FOO=MyFavoiteZSQLMethod
dtml-call
I'm working on a product in Python which implements a folder, but
restricts the metatypes of the objects which can be added. How,
exactly, do I go about doing this? I've tried overriding the
filtered_meta_types method, but I'm returning a list, and it seems
that I should return a list of
Hi all
Is anyone using or know the current state of Zope with python 2.0 ?
Thanks
Joe
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
On Thu, 26 Oct 2000, Mark Twiddy wrote:
Hi all
Is anyone using or know the current state of Zope with python 2.0 ?
I've been somewhat curious about this myself.
Will there need to be large changes now that strings are proper objects? (the
string functions are now methods of strings). If
81 matches
Mail list logo