Try something like (taken from my own code, so it works for me, caveta
emptor):
def mkcontext(self,context=None):
global default_dd
if not context:
return 'EH!'
c=string.split(context,'/')
newself=self
for a in c:
try:
When using the monitor_client, I do this:
-- Start monitor_client usage
python monitor_client.py localhost 8099
Enter Password:
warning: unhandled connect event
Python 1.5.2 (#1, Mar 11 2000, 13:03:53) [GCC 2.95.2 19991024 (release)]
Copyright 1991-1995 Stichting Mathematisch Centrum,
OK I think I found the problem(s):
*** Expressions.py 2000/10/18 23:11:55 1.1.1.3
--- Expressions.py 2000/10/31 14:14:09
***
*** 133,139
def eval(self,mapping):
"""Return the result of looking up/calling the name from 'mapping'.
If the object was
[Yves-Eric Martin]
| - Zope.app() gives you a *copy* of the *real* application object.
| - app._p_jar.sync() reloads your copy with the real (losing your changes)
Ah, there it is; sync discards the changes made from the monitor, and then
reloads...
An extra thanks for the thorough
Yves-Eric Martin wrote:
I am no Zope monitor expert, but maybe you will find my newbie point
For some definition of newbie... :-)
of view helpful. Here is my understanding of the magic of this very
helpful tool:
- Zope.app() gives you a *copy* of the *real* application object.
-
Hi Joachim,
"Joachim" == Joachim Schmitz [EMAIL PROTECTED] writes:
Joachim Hi Steve,
Joachim that did it, many thanks, how did you debug this ?
The debugger is your friend. ;-). Seriously I'd be lost without it:
http://www.zope.org/Members/michel/HowTos/TheDebuggerIsYourFriend
Hi Steve,
On Tue, 31 Oct 2000, Steve Spicklemire wrote:
Joachim By the way, it only work if specify a DataSkin derived ZClass
Joachim under the Storage tab.
Yes... did you attempt to use a 'pure' DataSkin?
after your advise not to use a 'pure' DataSkin, I did all the testing
At 04:44 PM 10/30/00 +0100, Morten W. Petersen wrote:
After compiling the DynPerist module, I try to import it in the Python
interpreter:
"""
morten@slakka:/usr/local/Zope/lib/python/Products/ZPatterns gcc -o
DynPersist.so -c DynPersist.c -I../../ZODB
-I../../../Components/ExtensionClass
At 04:42 PM 10/31/00 +0100, Joachim Schmitz wrote:
Hi Steve,
On Tue, 31 Oct 2000, Steve Spicklemire wrote:
Joachim By the way, it only work if specify a DataSkin derived ZClass
Joachim under the Storage tab.
Yes... did you attempt to use a 'pure' DataSkin?
after your advise not
"Phillip J. Eby" wrote:
DataSkin is strictly a mix-in class. Sometimes I forget to remind people
of that, and sometimes I even forget it myself. :(
DataskinAddons provides a nice DataSkin-derived class for debugging purposes
- it has a debug() method that prints out __dict__, and lets you
I've released new 0.4.3 beta 2 versions of ZPatterns and PlugIns to fix the
minor bugs reported to date in beta 1. Specifically, the PlugIns package
now contains a "help" directory, and the problem with "name" shorthand in
SkinScript has been fixed as well. They can be found in the usual
Hi,
How do I implement gen-spec classes using ZPatterns and ZClasses?
For example, I want to implement Person and Customer. Writing it in
Python, it would be easy to subclass Person to get Customer, and
Customer would inherit Person's properties and methods. If I instead
create a specialist
At 12:35 PM 11/1/00 +1100, Itai Tavor wrote:
Hi,
How do I implement gen-spec classes using ZPatterns and ZClasses?
For example, I want to implement Person and Customer. Writing it in
Python, it would be easy to subclass Person to get Customer, and
Customer would inherit Person's properties
Phillip J. Eby wrote:
At 12:35 PM 11/1/00 +1100, Itai Tavor wrote:
Hi,
How do I implement gen-spec classes using ZPatterns and ZClasses?
For example, I want to implement Person and Customer. Writing it in
Python, it would be easy to subclass Person to get Customer, and
Customer would inherit
hi Jason,
dtml-in tablename by itself does what you ask it to do: it runs through
the rows of your tinytable and that's it. If you want to see the content of
your table, you'll have to construct a html table with fieldnames in the
cells:
table
tr
tddtml-var fieldname1/td
tddtml-var
Hi,
I am using Gadfly database for Employee details.Kindly let me know
whether there is any maximum limit for the space available.
Thanks
bye,
On 30 Oct 2000, 17:32 Michel Pelletier wrote:
Amos and I are gibbering like madmen with excitement to announce the
Zope Book Beta. [...]
Great!
For my own use, I'Ve just created a fully indexed MS-Windows
HTMHelp-Version, see http://www.zope.org/Members/strobl, that I
want to share
Ok, well I got some success by eliminating apache and using the site accesss
example methods and an access rule.
but.
is this a lower performance solution than fronting zope with apache?
Michael Bernstein wrote:
Jonathan Cheyne wrote:
Ah, no, I though that was if you were doing the
Thanks!
Pretty neat thing :-)
I like the ducks: a-hi-ru.
"Kore wa desu? Ahiru desu." It must have been something like that...
p@
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von
Wolfgang Strobl
Gesendet: Dienstag, 31. Oktober 2000 10:58
An:
There a PDF of it anywhere?
cheers,
Chris
Michel Pelletier wrote:
Amos and I are gibbering like madmen with excitement to announce the
Zope Book Beta. This is the complete, technical draft of the book with
all screenshots (but minus illustrations, those are on there way!).
Some other
jacintha menezes wrote:
I am using Gadfly database for Employee details.Kindly let me know
whether there is any maximum limit for the space available.
Probably related to the memory in the machine you are running Zope on.
Bear in mind that gadfly databases are not persistent and loose
first of all, always install the latest versions of popy and zpopyda.
you can get them on our website, www.mixadlive.com. you don't need
to compile the .py files of the database adapter, zope takes care
of loading them through python that will compile them on the fly.
please, when a compilation
Give me a few hours and I'll be knocking out the eBook and PDF versions.
By the end of the day.
Phil
- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, October 31, 2000 11:49 AM
Subject: Re: [Zope]
You should probably try to give your mails more helpful subject lines,
something like "adding acl_users and databases" would have been great in
this case ;-)
jacintha menezes wrote:
1. I have some dtml tags to add new acl_users sent by Daniel .But role
doesn't get assigned
even if i specify
On Mon, Oct 30, 2000 at 04:10:51PM +, Bill Welch wrote:
Please say what Port, Listen, and VirtualHost directives you have in
place. I think that's really where the trouble.
but it works as typed in the server withour CRs.) I added modssl, but
when I go in on an https I get the original
Hi,
I am working with zope and I want to securize my access to
the data stored in a Sybase Server. So I am trying to
do all my SQL requests by using stored procédures.
The only thing that goes wrong is that I don't know
how to make a call to a Sybase Stored Procedure within
Zope.
Can anyone
Jason pondered:
How do I get a TinyTable to display it's contents?
All I find in the docs is !--in# tablename-- and that does not
seem to work for me, unles I am lacking a tag?
Try it like this:
dtml-in tablename
dtml-var fieldname1 dtml-var fieldname2br
/dtml-in
where tablename is the
Hi all,
I've been trying to install EventFolder into a Zope 2.2.1 system.
I've followed the instructions (I wouldn't be writing here if I
hadn't! :) and keep getting an error message;
Error type: Could not load oid
÷, pickled data in traceback info maycontain clues
Hallo Jason,
you are on the right way.
Try this in a folder:
-
dtml-in all_meta_types mapping
dtml-var name
/dtml-in
-
You'll get the names of all the metatypes in the current folder.
Bye
Sven
P.S.:the "available objects" button shows all available
Hello!
ZDNet compares four our rivals: ColdFusion, JSP, ASP and PHP:
http://www.zdnet.com/enterprise/stories/linux/0,12249,2646052,00.html
Scripting in ColdFusion found to be the best choice :)
Oleg.
Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
I had a similar problem a month ago with PTK and ZDiscussions and I
consider this to be corruption of the ZODB not related to the particular
products. You might be able to fix it by going into the DB directly
through python;
stop zope
start python in zope/lib/python
'import Zope, ZServer;
Hello. Do you like my script to restart Zope? I don't.
I followed instructions in the Zope archive to write a
restart script for Zope. It works if I run it from the
command line but if I put it in a cron job, it hangs
and does not start properly. Can you help me?
THANK YOU.
Heather
Phil Harris wrote:
Give me a few hours and I'll be knocking out the eBook and PDF versions.
By the end of the day.
Phil
Hi Phil,
how do you do that? for the pdf are you dumping stuff into reportlab?
Kapil
- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To:
Nah, I use the offical stuff , Adobe Distiller.
For the eBook stuff I use a Microsoft Word Add-in, available from
www.pocketpc.com (really microsoft under a pseudonym)
hth
Phil
- Original Message -
From: "Ender" [EMAIL PROTECTED]
To: "Phil Harris" [EMAIL PROTECTED]
Cc: [EMAIL
Hi,
I would like to subclass the folder class and change the way it gets
rendered. How would no how will I do that? Usually, a folder object looks if
it contains a index_html and calls(renders) it if so. I would like to change
this behavior and call a method of my own when the object gets
Wolfgang Strobl wrote:
On 30 Oct 2000, 17:32 Michel Pelletier wrote:
Amos and I are gibbering like madmen with excitement to announce the
Zope Book Beta. [...]
Great!
For my own use, I'Ve just created a fully indexed MS-Windows
HTMHelp-Version, see
I have some folderish Zclasses which have index_html methods to
implement a UI. I would like to inhibit acquisition of these.
So if I have a path
/A/B/C
I would like to inhibit the behaviour that allows
me to view
/A/B/C/A and /A/B/C/A/B/C etc.
to inhibit the first I can put something like
I'm researching for a project that will probably use Zope. For this project we
will require a simple GIS component for display and information retrieval. I've
noted three possible products so far and I'm wondering if anyone has any
experience with these products or with others. My interest is
Just had to add an "index_html" to the ZClass, now it works. So it looks as
if "looking for index_html" starts at the ZClass itself.
thanks for listening anyway ;-)
Danny
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von
Danny William Adair
On 31 Oct 2000, at 10:39, Amos Latteier wrote:
I believe that O'Reilly doesn't want the book redistributed before it is
printed.
It's gone.
I'll recheck with them.
No need to.
But what is the meaning of This is the one to print out and give to
your friends as christmas gifts, folks, so
Thanks. It appears, though, that there is no way to do this without
appending a query string to the redirected URL. Is this correct?
I'd like to be able to perform all authentication in Apache-land on the
SSL and, if successful, hand the request off the Zope. The thing is, I
still need to know
Chris Withers wrote:
There a PDF of it anywhere?
Not yet. I think that O'Reilly doesn't want us to produce any more
public versions of the book until it is published. I'm double checking
with them right now. Take a look at the copyright verbage on each book
page to see what I'm talking about.
In article [EMAIL PROTECTED], Michel Pelletier
[EMAIL PROTECTED] writes
Amos and I are gibbering like madmen with excitement to announce the
Zope Book Beta. This is the complete, technical draft of the book with
all screenshots (but minus illustrations, those are on there way!).
Some other
In message [EMAIL PROTECTED]
iams.com, Farrell, Troy [EMAIL PROTECTED] writes
Sorry for the blank. That was my mistake. Try the dtml-with tag and the
"only" keyword.
...
It's quite difficult to get netscape/ie to do a dtml-with only! The
problem I'm seeing is that
in my browser I can use
From: Aaron Straup Cope [EMAIL PROTECTED]
Thanks. It appears, though, that there is no way to do this without
appending a query string to the redirected URL. Is this correct?
That, or mangling the URL in some way and then unmangling on the Zope end. If someone
out there has
any experience
Wolfgang Strobl wrote:
On 31 Oct 2000, at 10:39, Amos Latteier wrote:
I believe that O'Reilly doesn't want the book redistributed before it is
printed.
It's gone.
I'll recheck with them.
No need to.
But what is the meaning of This is the one to print out and give to
your
Chris Withers wrote:
There a PDF of it anywhere?
No, we won't produce one until the book goes to an open content license
when it hits the shelf.
-Michel
cheers,
Chris
Michel Pelletier wrote:
Amos and I are gibbering like madmen with excitement to announce the
Zope Book Beta.
Hello
Congratulations on getting the book to this stage!!
It is very readable and I hope it is well promoted, and well received.
One obvious presentation improvement I suggest is that you make ALL zope
code references in the same typographic style.
For example throughout most of the text you
I'm researching for a project that will probably use Zope. For this
project we
will require a simple GIS component for display and information
retrieval. I've
noted three possible products so far and I'm wondering if anyone has any
experience with these products or with others. My interest is
On 31 Oct 2000, at 12:54, Michel Pelletier wrote:
That was a joke. Sorry.
Uh, oh. Well, my thought was as follows: people are already
annoucing making PDF versions, which are a much greater
potential harm to to the number of sales of a printed book.With a
good pdf file, I can get to my
Aaron Straup Cope writes:
I'd like to be able to perform all authentication in Apache-land on the
SSL and, if successful, hand the request off the Zope. The thing is, I
still need to know who's actually authenticated once they readch
Zope-world and assinging REMOTE_USER to a request
Fred Yankowski writes:
... publishing content created with standard web design tools via Zope ...
There have been some discussions about this in "zope-dev"
in relation with "HiperDOM" and "XHTML" templates.
Maybe, you search the "zope-dev" archive to get an overview.
As far as I know, DC plans
Tony McDonald writes:
I've been trying to install EventFolder into a Zope 2.2.1 system.
I've followed the instructions (I wouldn't be writing here if I
hadn't! :) and keep getting an error message;
Error type: Could not load oid
÷, pickled data in traceback info may
Chris Withers writes:
jacintha menezes wrote:
I am using Gadfly database for Employee details.Kindly let me know
whether there is any maximum limit for the space available.
Probably related to the memory in the machine you are running Zope on.
Bear in mind that gadfly
Sorry. -2 points for lack of clarity (my fault)
I thought you were talking about a document. If you want to do something
like that you will need to use dtml-with inside your documents. The only
way I know to prevent a user from doing this by typing a URL is to set some
security permissions.
At 10/31/00 11:08 PM, Wolfgang Strobl wrote:
For example; I have HTML help versions _and_ printed copies of
the - outdated - Zope docs, and one of each from the actual
howto-collection, and I'm using them both.
Wolfgang - How about putting up your HTML help version of the
howto-collection? That
On Tue, 31 Oct 2000, Wolfgang Strobl wrote:
On 31 Oct 2000, at 12:54, Michel Pelletier wrote:
That was a joke. Sorry.
Uh, oh. Well, my thought was as follows: people are already
annoucing making PDF versions, which are a much greater
potential harm to to the number of sales of a
How to change superuser's password in Zope 2.1.4
Linux?
I find some document about this problem.But I can't
find file:access and zpasswd.py.
Anybody can help me?
thanks
On Wed, 01 Nov 2000, Dylan Chi wrote:
Firstly, just so you don't miss it, PLEASE, do NOT send HTML encoded
messages to this list.
How to change superuser's password in Zope 2.1.4 Linux?
I find some document about this problem.But I can't find file:access and
zpasswd.py. Anybody can help
These are normally in the root zope directory. Im sure you can get another
version from Zope.org CVS if they have been deleted.
- Original Message -
From: "Dylan Chi" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 31, 2000 7:30 PM
Subject: [Zope] I need help.
How to
Hi all
Can someone please tell me what is going on here?
I have an query that selects data into a temp table.
It then deletes some stuff from the temp table
Then is deletes some more stuff
Then i select the remaining records and drop the table
The problem is that when i try to select the
hi,
Is this correct:
dtml-if _.count(_.str(title_or_id),'Bridge',0)
Spam I am.
/dtml-if
This is part of a larger loop, that prints all the images in a folder with
their titles. I'd like to search the object's title for the word Bridge,
even though I know it has it, still it does
62 matches
Mail list logo