On Mon, 18 Dec 2000 14:11:51 -0500, "Brian Lloyd" [EMAIL PROTECTED]
wrote:
This is something that has come up before. I propose
that the real problem here is that 'objectIds' should
not be web-traversable.
I have, in fact, proposed this before. It caused a bit
of grumbling among people
On Wed, Dec 20, 2000 at 12:56:36AM +, Jason Spisak wrote:
ZCatalog enthusiasts,
I just upgraded our zope installation from 2.1.6 to 2.2.4, and the ZCatalog
performance is aweful. Can someone remind me what the command for speeding
up python on a dual processor machine is? python -T?
Whew! I thought something was trashed.
Thanks for your prompt replies guys!
All my best,
Christopher Petrilli writes:
Jason,
This was accidentally uncommented in the 2.2.4 release, you can ignore it,
or comment out the message line in UnIndex.py. It's innocuous.
Chris
--
|
On 12/20/00 11:33 AM, "Itamar Shtull-Trauring" [EMAIL PROTECTED] wrote:
I'm getting tons and tons of keyerrors when making changes to a catalogaware
object's keyword index and then reindex_object() it. Alternatively, the
Catalog doesn't get updated at all. Is there any way to prevent this
On 12/20/00 11:52 AM, "Itamar Shtull-Trauring" [EMAIL PROTECTED] wrote:
KeyErrors - the logging says:
2000-12-20T16:33:00 ERROR(200) UnKeywordIndex unindex_object could not
remove 3 from set
This is not the "KeyError" in the sense that it's not propogated up to the
top level, but it is a
Toby Dickenson writes:
... protocol specific access rights ...
Please No.
Zope security is complex enough without having to worry about
different security settings depending on how a method is accessed.
(And we should have a lower tolerance for complexity when it applies
to
"Morten W. Petersen" wrote:
[Morten W. Petersen]
| Any suggestions?
Found the problem. There needs to be a method called user_names
in the acl_users folder, which returns all the user ids:
[snip solution]
Sorry I didn't see your question earlier. Here was what I
posted to the list
Chris:
You mean the -D in z2.py, right?
Jason,
That logging is probably slowing things down too... shut it off to see if
you can get a performance increase.
- Original Message -
From: "Jason Spisak" [EMAIL PROTECTED]
To: "Christopher Petrilli" [EMAIL PROTECTED]
Cc: [EMAIL
Phillip J. Eby wrote:
This should probably be more like:
product.addMeToOrder():
item = OrderLineItems.newLineItemFor(self)
item.setQuantity(...)
etc.
order.addLineItem(item)
customizable_product.addMeToOrder():
item = OrderLineItems.newLineItemFor(self)
I just did some tests on the performance of the partial matching features
of ZCatalog. They weren't as good as I hoped.
A Catalog of 2000 objects, text index on a 10 char string (person's last
name), with a partial search that will match only 200 items... it takes 10
seconds. At 1000 matches it
On Wednesday 20 December 2000, at 7 h 47, the keyboard of Olaf Zanger
[EMAIL PROTECTED] wrote:
is it possible to externally edit ZSQL Methods?
Not with out-of-the-box Zope :-( A friendly Zopatista sent me a patch
http://classic.zope.org:8080/Collector/1768/view which works well and which
is
Hallo Milos,
I'm not sure if I understand your problem right.
First of all what do you mean with 'Fir-class'?Is it a ZClass or a
usual Zope-Folder.I suppose a Zope-Folder!.
You have to call the method "manage_changeProperties" on an Object.
You find in the Zope Quick reference:
Hi,
My advice to you is to run Zope and Apache on the same machine, and use
Apache as the front-end for Zope. Apache gives much better support for
virtual hosts using rewrite and proxy modules. I tried to do these things in
Zope, but gave up as the rewrite possibilities in Zope is not very good.
Hi Bill,
I treid to install LoginManager 0.8.8.b1 too.
But i got this error:
2000-12-20T10:49:53 ERROR(200) Zope Couldn't import Products.LoginManager
Traceback (innermost last):
File /server/opt/Zope-2.2.4/lib/python/OFS/Application.py, line 397, in
import_products
(Object: string)
Hi
Could anyone please help me with this
problem?
I changed the default permission for the
Anonymous user by adding the permission View Management screens. So
the next time I opened the site, and wanted to go into the management screen, it
took me directly to the management screen. But
Hi Steve,
I've made my experiment simple, by playing with the DumbZPatterns examples, testing one
rack under one specialist. Here is the skinscript:
WITH Deliverables.getItem(self.id) COMPUTE
name=name, dueDate=dueDate, description=description, todoIDs=todoIDs
WITH SELF COMPUTE
Sven Hohage wrote:
Hallo Milos,
I'm not sure if I understand your problem right.
First of all what do you mean with 'Fir-class'?Is it a ZClass or a
usual Zope-Folder.I suppose a Zope-Folder!.
Oh no. "Fir" is a Product, with a single Z Class "Fir". Within Fir there
are two folders and three
Hello,
in my property-sheet for a ZClass a boolean-property is
checked, but in the instance(added programmatically)this
property is always unchecked.
I have to use "manage_changeProperty" to get her checked.
Is this attitude tolerable! Don't think so.
Any educational hint??
Thanks.
Hi
Could anyone please help me with this
problem?
I changed the default permission for the
Anonymous user by adding the permission View Management screens. So
the next time I opened the site, and wanted to go into the management screen, it
took me directly to the management screen. But
Impo rtError: No module named DynPersist
does the LoginManager dependent from other product of zope?
Do you know which product of zope contians "DynPersist"?
Reread the instructions for installing ZPatterns, they tell you
how to compile Dynpersist.c.
cheers,
oliver
When I trying create an instance of class of my own product "Boring" with Python,
Zope tells me:
Missing doc string at:
http://localhost:8080/a/manage_addProduct/Boring/manage_addBoring
I tried to change "manage_addBoring" method, and compared my product
with other working products, by
Inside a product I need a function that walks through all objects
of the current folder and all subfolders and collects all objects
that have the same type as the products itself (similiar to os.path.walk()).
What would be the best solution for this problem ?
Tnx, Andreas
On Wed, 20 Dec 2000, Ivan Somov wrote:
Missing doc string at:
http://localhost:8080/a/manage_addProduct/Boring/manage_addBoring
I tried to change "manage_addBoring" method, and compared my product
with other working products, by there was no results from my attemptions.
What that
Hello Milos,
I think the following is working:
--You pass via form the needed values--
dtml- call expr="REQUEST.set('language',from_formLanguage)"
dtml- call expr="REQUEST.set('property',from_formProperty)"
--Then you iterate over a certain meta-type in your folder--
-- You have to put the
Put the username and password in the url like this:
http://managername:[EMAIL PROTECTED]/manage
-- Jim Washington
Priya Ramkumar wrote:
Hi
Could anyone please help me with this problem?
I changed the default permission for the Anonymous user by adding the
permission "View
I have a few pages of javascript laden dtml for
getting syndicated headlinesfrom moreover.com. The first time I opened the
pages in Zope, everything was fine. Since then, I get only the headlines from
that day (Dec 14) - is there a cache that can be flushed to get the most up to
date
hello,
i have installed zope-2.2.4-linux2-x86 completely on a suse linux 7.0 pro
system ...
when i exec the file "./start", i get the message:
2000-12-19T20:55:23 INFO(0) ZServer FTP server started at Tue Dec 19
21:55:23 2000
Authorizer:None
Hostname: linux
Port: 8021
Inspired by Jim Washington's recent post re 'Anonymous user', I was
reminded of a previous post in which someone suggested
http://garbage:x@yourSite would also clear the browser's credential.
Much faster and works in IE and Konqueror, but not Navigator or lynx. Very
easy to test, too.
first,
Where do I get a copy of cPersistance.h? I need it to compile DynPersist.c
Mohan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Oliver Bleutgen
Sent: Wednesday, December 20, 2000 7:20 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re:
Hello,
I have a new problem wich i suspect is related with the weird things i didn't solved
yet. I
still don't found if it's a misunderstanding about new 2.2 security (like setting a
local
role ONLY if you have this local role) or a real problem.
I have a view_code method (stolen from
--the point is to adress the propertysheet of the ZClass you are
adressing--
dtml- call
expr="propertysheets.Name_of_the_propertysheet.manage_changeProperties({'lstName':newlstName})"
But the lstName is not part of propertysheet of Fir ZClass. It is a
simple property of
I thought I read where there is a tar ball with Zope and Apache precompiled
to work together without Zserver?
I'm on a deadline to get the demo project up and going, and not having to go
through half a day of compiling this and that would be awesome.
Any Ideas?
Rick
Where do I get a copy of cPersistance.h? I need it to compile DynPersist.c
You need to download the Zope src tarball if your going to build ZPatterns.
(This note really should be in the installation instructions of ZPatterns.)
___
Zope maillist -
Didier -
read_raw() is an internal api that should never have
been exposed in the first place (as you've noticed,
that hole has since been closed up).
You probably want to use the 'document_src()' method,
which does what you want and is protected by the
'View management screens' permission.
Up to this point, I've been talking about mechanisms for you, personally,
to log out to switch between developer and user roles for testing.
Clearly, these mechanisms aren't appropriate for the users of your site.
I think LoginManager isn't the only choice, but I can't say, off hand,
what the
Well, I found it but - It's compiled against an older glibc...
Oh well. Looks like I'll miss the deadline to get the demo up, Unless
someone has some magic to pull somehow.
___
Zope maillist - [EMAIL PROTECTED]
Its just not working for me.
I am going to try LoginManager + ZPatterns (hope it has a handy logout
feature)
Mohan.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Bill
Welch
Sent: Wednesday, December 20, 2000 9:45 AM
To: [EMAIL PROTECTED]
Subject:
Well, I found it but - It's compiled against an older glibc...
Oh well. Looks like I'll miss the deadline to get the demo up, Unless
someone has some magic to pull somehow.
Uncle Jonathan's Magic Zope Recipe is here ;)
- Get a binary release of Zope and unpack into
/usr/local for
reminded of a previous post in which someone suggested
http://garbage:x@yourSite would also clear the browser's credential.
Much faster and works in IE and Konqueror, but not Navigator or lynx. Very
easy to test, too.
Its just not working for me.
I am going to try LoginManager +
Even if you compiled zope...on a PII 450 it only took a few minutes...
and the process was (minus the apache stuff)...
get source tar.gz
unpack in a location
run python w_pcgi (or python wo_pcgi) (wo or w is dependant on if you want
pcgi or not...you probably want wo_pcgi)
chown -R
I read in HISTORY.txt that something was fixed for Zope 2.0 but
I'm not having sucess with this channel killing. Is there another way,
external_method or something, to kill a specific channel which is zombie?
Thanx,
Júlio Dinis Silva
From: "Júlio Dinis Silva" [EMAIL PROTECTED]
To: [EMAIL
Thanks for the tips:
1)the logout method work with shift+reload in IE (how would clear cached
pages from zope?)
2)the dtml-raise type="Unauthorized" method does not allow me to log back
in even when I try a redirect to a different page.
I am wondering if something is set incorrectly on my
Hi all,
I understand permissions and proxying, but I feel like mentally
challenged when trying to understand the following Define permissions
tab in ZClass:
*
This interface is used to define how the operations of this object (or
objects that acquire permission settings from this
Hello,
* I have a regular Catalog.
* It is used by Yihaw (ZClass product, CatalogAware, with contained
ZClasses).
* I done the normalize_paths (0 updated)
* I can browse the catalog without any problem and acces the objects
*** method testCatalog1
OUTSIDEbr
dtml-in "Catalog(meta_type='any
Hi all,
does anybody know how I can get rid off this ugly 'traceback' in the loginForm object
Zope displays
when using LoginManager and BasicCookieAuthentication? I want to customize the look of
the
loginForm to fit into the design of the rest of my pages.
Thanks!
--
Dipl.-Phys. Robert
Now we add our inverse proxy directives, within the main Directory
context:
ProxyPass /Zope/ http://fightclub.org:8080/
ProxyPassReverse /Zope/ http://fightclub.org:8080/
Do they mean enter this as an addition to the httpd.conf DocumentRoot tag?
Rick
Thanks for the tips:
1)the logout method work with shift+reload in IE (how would clear cached
pages from zope?)
2)the dtml-raise type="Unauthorized" method does not allow me to log
back
in even when I try a redirect to a different page.
I am wondering if something is set incorrectly on my
On 20 Dec 2000, at 20:13, Didier Georgieff [EMAIL PROTECTED] ([EMAIL PROTECTED])
wrote:
I'm on 2.2.4 with the 3 latest Hotfix, Transparent Folder 0.3 and your
catalog path.
Well, i mean Petrilli's latest ZCatalog PATCH (and not path, sorry)
Didier.
I would really like to use the jc/ntuserfolder products but see that they
haven't been brought up to speed with the new 2.2.x security model. Will
downgrading to 2.1.x render my site inaccessible? What will I have to change
security wise so I can use these pages from the old version?
Bak@kedai writes:
... single Zope thread uses all resources ...
With Zope 2.2, the ControlPanel contains a "Debug" section.
You can see there, what requests are pending.
That might give you a hint.
Dieter
___
Zope maillist - [EMAIL PROTECTED]
Andreas Jung writes:
Inside a product I need a function that walks through all objects
of the current folder and all subfolders and collects all objects
that have the same type as the products itself (similiar to os.path.walk()).
What would be the best solution for this problem ?
Hi Steve,
Steve Spicklemire writes:
Hmm.. I just tried this with my highly experimental product
(LocalProc 0.0.1) and I didn't observe the same effect that you did
behind my Proxy Server.
Whether you see this effect or not depends on the HTTP
processing in the chain between your
Milos Prudek writes:
... "Define permissions" tab for ZClasses ...
I found that the respective description in the upcoming Zope book
was not bad.
Dieter
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No
This is something that I still don't quite understand.
I have a set of (python, Folder derived) objects, which are children of
a Folder derived python class. Each of these in turn has another,
related python object.
/
a
ab1
ab2
ab3
I'm trying to call a Python Script from a
DTML method using
dtml-var "units.statistics.edit(this())"
in order to edit some numeric properties
of an object. I have "self" as the
parameter list.
If I set the object's property "foo" to
"123" and make edit
return(self.foo)
I get
Hi Steve,
Deliverables has objects. The call to existent objects are successful. It's the call to
the inexistent objects that doesn't turn out expectedly. But the first thing is whether
my script is correct. Do you thing so? And any other way to test this kind of
situation,
i.e. passing
In the for what it's worth department...
Using Linux (RH 6.2), Zope 2.2.2, Python 1.5.2
I wanted to run a unix command from my External Method that I wrote using
Python. Digging around in Zope archives and other sources, I came up with a
method that worked, of which this is a fragment:
This is just a guess, make sure that the user you are attempting to run Zope
as has write access to the zope directory tree. I think this is mentioned
somewhere in the installation docs but I'm not sure. I run Zope under SuSE
and what I usually do is create the directory I intend to install
Hi Jim
I tried typing the following url but it still logs in as "anonymous user".
The cookies are also disabled in my browser.
priya
Put the username and password in the url like this:
http://managername:[EMAIL PROTECTED]/manage
-- Jim Washington
Priya Ramkumar wrote:
Hi
Could anyone
I've been investigating how to do web-based email for zope users... it
seemed like worldpilot was cool (BTW, where is it??)
Then I was talking to a friend, who mentioned vaguely something about
perl-script that implemented a yahoo or hotmail type system, and it solved
the problem of
60 matches
Mail list logo