This is not a strictly zope related question but it is zopeish :)
In an external method I need to call an executable and capture the output it
generates. This executable however needs to connect to a running X Server.
I used the popen2 command but it returns with the obvious error :
"theprogram
I think I read somewhere that it was, from version 2.2
of Zope, possible to 'subclass' products. Is this
just somebody janking my chain, or is it actually possible?
If it is possible, would someone care to explain?
Thanks.
-Morten
___
Zope-Dev
[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:
"""
paramsself/params
user_ids = self.UserSource.getPersistentItemIDs()
user_ids2 = []
for id in user_ids:
The leaking SQLAlias I see is coming from:
Shared.DC.ZRDB.Results
I'm going to try the same type of fix in there and see what happens.
-jon
"Brian Lloyd" [EMAIL PROTECTED] writes:
oops - I sent that before I had my coffee. I should
have attached the checkin version, not the broken
one
[Magnus Heino]
| I'd appreciate to be able to download some code from zope.org :-)
Uhmm. Yeah. http://www.zope.org/Members/morphex/ZopeGUM -- guess
you don't know about the /Product and search facilities.. ;)
Cheers,
Morten
___
Zope-Dev maillist
Does anybody know why these modules aren't available for DTML and Python
Methods?
(I already hacked my server, just wanna know what I'm riskin)
Thanks,
Tim
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**
Because both are quite capable of crashing a thread (maybe the whole thing),
with poorly written regex expressions. Creating infinate loops is easier
than you think, esp if your regex requires backtracking to "solve". Perhaps
there should be a simplified regex engine available, that I don't
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? I'm looking for any
way to speed this up. I have a text index with
Michael Bernstein wrote:
Bill Anderson wrote:
On a related note, I am considering changing the python methods to
Python Scripts, this way when 2.3 comes out, it drops the number of
additional installs required by one, leaving Loginmanager and ZPatterns
the only (current)
Today was again a hard Zope day.
Did you ever hear, that usually (i.e. if you do not do special
things) Zope renders a complete page before it starts
sending the result back to the client.
This implies that you should never see only half of a page.
I heard it and I saw the code that does it.
Is there a data limit if I am using the POST method ?I have been doing a
form that has some input fields, when I do the post I receive a Zope Error
The Zope don´t get one form field, but this one exists).
Thanks so much !!!
anderson
___
Zope-Dev
He reported, that this response page is build only
half, then stops, to be completed only half a minute later,
Depending on how long the page is I never see the bottom. When I use the products
page I have to refresh 2-3 times to see the bottom part.
This is thru a proxy only.
How to fix the problem:
There should be a (file) control "CloseOnExec", that tells
Unix to automatically close the file like object upon
an exec.
ZServer should probably use it on each of its sockets.
I can not see a serious application that should have
For the last couple of months I've been working on a groupware
package for Zope, named ZopeGUM. It has reached version
0.1.63 now, and it's in steady progress.
All the planned components, like messenger, address book,
calendar, todos, etc. are there and working now; though
it's definently not
On Tue, Dec 19, 2000 at 06:44:35PM -0200, Anderson Ami wrote:
Is there a data limit if I am using the POST method ?I have been doing a
form that has some input fields, when I do the post I receive a Zope Error
The Zope don´t get one form field, but this one exists).
Some older browsers have
Hi Morten,
There are two ways to subclass products. You can use straightforward
Python subclassing:
e.g.,In your custom Product.. here is an example from Zwiff:
import Products.PythonMethod.Guarded
from Globals import HTMLFile, MessageDialog
from App import Common
16 matches
Mail list logo