Summary of messages to the zope-tests list.
Period Wed Jul 20 11:01:02 2005 UTC to Thu Jul 21 11:01:02 2005 UTC.
There were 8 messages: 8 from Zope Unit Tests.
Unknown
---
Subject: UNKNOWN : Zope-trunk Python-2.4.1 : Linux
From: Zope Unit Tests
Date: Wed Jul 20 23:17:27 EDT 2005
URL:
Takahashi, Michael wrote:
I’m trying to work on a function call using Python that will list the
users of any specified group using the function portal_groups.
I’ve been able to successfully do this the opposite way by getting the
users groups via portal_membership:
Takahashi, Michael wrote:
Thanks for the help, I actually figured it out. It turned out that
portal.portal_groups.getGroupById(staff).getGroupUsers() was the
solution. However, the getGroupUsers() function returns a list of
users, but not as strings. So I had to convert the entire call with
Tres Seaver wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris' ClockServer removes the need for such a thread, by hooking
ZServer's mainloop to generate the faux request needed to kick off
async processing. A crontab - like schedule can be driven equally
well from ClockScheduler as
Andreas Jung wrote:
--On 20. Juli 2005 19:17:59 -0500 George Donnelly [EMAIL PROTECTED]
wrote:
Hadar Pedhazur wrote:
ZC says: the marks were stolen
ZEA seems to be saying: the marks were registered defensively.
My read on this is that there is a serious communication problem going
on
--On 21. Juli 2005 08:02:32 +0200 robert rottermann [EMAIL PROTECTED]
wrote:
I am a casual watcher of what happens in the Zope community (I only check
the development things actively).
However I believe that I knew that ZE did register the Zope logo.
(All tough instinctively I would have to
Help me in this
When i am creating a task in ZEPP and saving it i am getting the following error
How to dissable the feature of sending mails to the recipients ?
site error
This site encountered an error trying to fulfill your request. The errors were:
Error Type
SMTPRecipientsRefused
Hi *, I'm having issues developing a filesystem based product.
The product loads correctly and I see my zpt, but I'm not able toapply a stylesheet.
The product directory is under Zope-Instance/Products, I've created some directories where I put styles and templates - but changing this structure is
+---[ Nicholas Wieland ]--
| Hi *, I'm having issues developing a filesystem based product.
| The product loads correctly and I see my zpt, but I'm not able to apply a
| stylesheet.
| The product directory is under Zope-Instance/Products, I've created some
| directories
Denny Varghese wrote:
Help me in this
When i am creating a task in ZEPP and saving it i am getting the following error
what is ZEPP ??
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML
Am Mittwoch, den 20.07.2005, 19:17 -0500 schrieb George Donnelly:
Hadar Pedhazur wrote:
ZC says: the marks were stolen
ZEA seems to be saying: the marks were registered defensively.
My read on this is that there is a serious communication problem going
on here between the lines. Why
Hi
sorry for the logn subjet :)
I'm using Zope 2.7.5-final, python 2.3.5, linux2, and I'm just strating
to code my first products.
Here's my problem: I want to make a product that watchs instances from
other products.
for instance, let's say I have a product yy, with its add_yy_Form,
David Pratt wrote:
Thanks Tres. The 1's are explained for sure but I can't see a always
doing the job for this. What I need is an object that keeps track of
the last number given to it so it will supply the next based on its
state. For use in a flat form with say a dozen fields you are not
Hello ng, ---
After a few hours, Zope becomes irresponsive and lashes out these kind of
errors.
Traceback (most recent call last):
File /usr/local/lib/zope/lib/python/ZPublisher/Publish.py, line 104,
in publish
response.setBody(result)
File
This is not a Zope issue. It's an error from your SMTP server. I can't
explain why or how an SMTP server works but I've had problems like
this before because the SMTP tried to prevent spam relaying.
Secondly, does the weird error message (with the empty curly brackets)
imply that the recipient is
File /usr/local/lib/zope/lib/python/ZPublisher/HTTPResponse.py, line
351, in setBody
zlib.DEF_MEM_LEVEL,0)
MemoryError: Can't allocate memory for compression object
thinking loud
zlib? Did your zope work fine before?
Remember, about 2 weeks ago they found a vunorability in zlib,
Peter Bengtsson [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
thinking loud
zlib? Did your zope work fine before?
Remember, about 2 weeks ago they found a vunorability in zlib, didn't
they. Maybe there are some implications into that on openbsd.
/thinking loud
Well, --- it doesn't
How about ditching OpenBSD and installing a streamline linux like
debian instead?
There seems to be a problem with your python, not Zope. Zope just
happens to manage to stresstest your python binaries.
(I'm not saying linux is better than bsd, but it appears that python
works better on linux for
Tino Wildenhain wrote:
The statement of ZC indicates they want to transfer their trademark
to ZF and now find the european trademark in other hands. OTOH, why
not just transfer/licence what they have (the .us trademark) and
just agree to ZEA transfer/licence the european trademark to ZF
too?
Malthe Borch wrote:
MemoryError
What is going wrong here? I'm running an OpenBSD-system with the latest
Python 2.3.5 and 512 MB of RAM. The stack size is 0x10, as opposed to
0x2 that previous *BSD-distributions of Python had as default.
Malthe,
What architecture are you running
Hi
I have a question about my new plone site.
How I can configure apache or zope to access to my old webmail (php
aplication) under my new plone domain.
I using zope and plone with apache server (with ProxyPass option)
My new site is http://www.gualeguaychu.gov.ar
I want to access to my old
Hi list,
I run a few zope instances on a windows machine
(xp). I start them either with runzope.bat or as
services. The behaviour below is independent of this.
But sometimes a running instance (A) seems to
block another instance (B) from starting. This
does not happen every time.
If I
Matt Hamilton [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
What architecture are you running OpenBSD on? We have been running
Zope on OpenBSD/AMD64 3.6 for about a year now and it works pretty
well.
We're running a dual-cpu system:
cpu0: Intel(R) Xeon(TM) CPU 2.80GHz
Peter Bengtsson [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
How about ditching OpenBSD and installing a streamline linux like
debian instead?
There seems to be a problem with your python, not Zope. Zope just
happens to manage to stresstest your python binaries.
(I'm not saying linux
According to 'top', the total load is:
* Memory: 80M/131M act/tot Free: 366M Swap: 0K/1028M used/tot,
where Zope itself is using practically all of it.
Well the question is, should Zope be using all that memory? how big is
the site, what are you doing, how big are your caches etc? Our
Malthe Borch wrote:
Theo might be listening --- I'd rather not. OpenBSD is a great platform,
and if there's music to be faced, OpenBSD will surely face it. But if these
errors persist, I might have too.
I've found OpenBSD/AMD64 and Zope to be an excellent platform. As I say
I just need to
Matt Hamilton [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
The Opteron 244 (1.8Ghz) is about 20% or so faster on pystone than a
3Ghz Xeon, not very scientific test or relevent to real life, but a
good guide). Especially interesting considering you can buy 2.8Ghz
Opterons right now.
Matt Hamilton [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
Well the question is, should Zope be using all that memory? how big
is the site, what are you doing, how big are your caches etc? Our
zope processes normally run about 500 - 750MB so maybe you just don't
have enough memory.
I'd like to try and set up Zope in another login-class. It seems correct,
as there are soft limits on memory usage in the default class. How would I
go about this? Do you use a custom zopectl or run it straight off inetd?
I'm not too experienced in OpenBSD-specifics yet, so any advise is
Matt Hamilton [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
You need to have a zope user (adduser) and put that in the deamon
class when it asks you. If you already has the user then you can
change the class with 'chpass zopeuser'. Then you need to edit
/etc/login.conf to raise the
George Donnelly [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
ZC says: the marks were stolen
ZEA seems to be saying: the marks were registered defensively.
I am amazed at how people pick and choose what to read and
repeat, and what to ignore. I will mix in a few quotes from
a few
Ah, I see what you're after, something akin to an SQL sequence, right?
Well, Iterator ain't that ;-)
Hi Chris
I guess something like that but that is what an iterator does. ZTUtils
just doesn't provide a method to get the values out of it (which it
could if the methods were available).
[Matt Hamilton]
...
We have been running Zope on OpenBSD/AMD64 3.6 for about a year now
and it works pretty well. I have however recently discovered a python bug
that I am trying to track down. I am unsure of the exact problem, but it
affects the re and string libs:
zeo1# uname -a
hi,
i need to store some data as long as the user is logged on to zope.
how can i achieve this?
using the session is not a good idea, because some parts of the code
simply call session.clear() (i did not write that part).
if everything fails, i can use a singleton where i put a dictionary
Tino Wildenhain wrote:
Am Donnerstag, den 21.07.2005, 16:36 +0200 schrieb gabor:
hi,
i need to store some data as long as the user is logged on to zope.
how can i achieve this?
using the session is not a good idea, because some parts of the code
simply call session.clear() (i did not write
Hadar Pedhazur wrote:
Beyond that point, _we_ are the first registrants of the
ZOPE trademark in WIPO. ZEA registered our LOGO, not the
word ZOPE, which we registered _before_ they registered the
LOGO. So, everyone, please pay attention. We did _not_
ignore our trademark rights in Europe. We
Hadar Pedhazur wrote:
George Donnelly [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Making either side into the bad guy is not only innacurate but also
inappropriate and is not conducive to building a community around the
software we all love and are grateful to ZC and non-ZC
I'm not sure if I know what I'm talking about, but.
It seams to me that when I was reading up on the session thingy,
I read that you can add new Seesion thingy to the Zope tree thereby
creating your own private session...
Of course I'm Probably wrong
Jerry
On Thursday 21 July 2005
- Original Message -
From: gabor [EMAIL PROTECTED]
To: Tino Wildenhain [EMAIL PROTECTED]
Cc: zope@zope.org
Sent: Thursday, July 21, 2005 11:01 AM
Subject: Re: [Zope] store data as long as the user is logged on
Tino Wildenhain wrote:
Am Donnerstag, den 21.07.2005, 16:36 +0200
In a Python script, how can I break up a SQL statement over more than
one line? For example, to transform
#generate the sql statement
sql=DELETE FROM tblUsers WHERE user_name LIKE '%'
to:
#generate the sql statement
sql=DELETE FROM tblUsers
WHERE user_name LIKE '%'
...does not work.
- Original Message -
From: [EMAIL PROTECTED]
To: zope@zope.org
Sent: Thursday, July 21, 2005 12:14 PM
Subject: [Zope] Python formatting question
In a Python script, how can I break up a SQL statement over more than
one line? For example, to transform
#generate the sql statement
Tim Peters wrote:
[Pedro Cristian]
I'm a beginner in Zope. I've just installed the Zope 2.8 final package.
The installation seems to have completed normally.
However when the zope instance is run I have the following message :
C:\Zope-Instance\binrunzope.bat
--On 21. Juli 2005 10:14:32 -0600 [EMAIL PROTECTED] wrote:
In a Python script, how can I break up a SQL statement over more than
one line? For example, to transform
# generate the sql statement
sql=DELETE FROM tblUsers WHERE user_name LIKE '%'
to:
# generate the sql statement
sql=DELETE
Tim Peters wrote:
(nbsp; in HTML). It's surprising to me to see \x89-\x8d there,
though. It could be your system is set to use an unusual locale, or
it could be a bug in the platform C libraries. Try writing a little C
program to see what isspace() returns.
Bingo! Thanks for the hints.
Perfect. Thanks for the great tips. I had looked at the various
tutorials, but had not made the connection with
Why don't you use Z SQL methods?
I do, but sometimes it is more convient to do SQL through python. I
also find that ZSQL encourages SQL duplication, especially among
multiple
--On 21. Juli 2005 10:53:41 -0600 [EMAIL PROTECTED] wrote:
Why don't you use Z SQL methods?
I do, but sometimes it is more convient to do SQL through python. I
also find that ZSQL encourages SQL duplication, especially among
multiple developers. With a python script, the SQL calls can be
Matt, unfrotuntately (for me), you make a number of very
good points, so I will break my self-imposed silence to
respond ;-)
Unfortunately for everyone else, this continues the thread,
but at least it feels to me like we're de-escalating and
hopefully actually getting somewhere good, faster...
Why don't you use Z SQL methods?
I do, but sometimes it is more convient to do SQL through python. I
also find that ZSQL encourages SQL duplication, especially among
multiple developers. With a python script, the SQL calls can be
stored as a single central library
*shivering*
I
Matt Hamilton [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]:
Well the question is, should Zope be using all that memory? how big
is the site, what are you doing, how big are your caches etc? Our
zope processes normally run about 500 - 750MB so maybe you just don't
have enough memory.
[Tim Peters]
...
I don't know, and I haven't seen this reported by anyone else before.
Let's try this: cd to your Zope's (not Zope-Instance's) bin
directory, and start Python from there. Your DOS box should look like
this then:
C:\Zope-2.8.0-final\binpython
Python 2.3.5 (#62, Feb 8 2005,
ZC: Potay-to.
ZEA: Potah-to.
ZC: Potay-to!
ZEA: Potah-to!
ZC: Potay-to!!
ZEA: Potah-to!!
ZC: POTAY-TO, you evil thief!!!
ZEA: POTAH-TO you dictatiorial pig!!
Not a communications problem? My ass.
___
Zope maillist - Zope@zope.org
Tim Peters wrote:
That means the import worked fine -- and it should work fine. What
happens when you try it?
[Martin Raspe]
I see the same error message that ZOPE gives.
FYI, pasting the exact DOS box input and output (as I did above) saves
the reader from needing to guess at 100
The emergency user account will not work. I have tried deleting and
creating it no with no domain restrictions. Outside of that, I don't
know what to do. The LDAPUserFolder IS at the root folder of the ZMI.
Could that be hanging it up?
Thanks,
Tim
On Wed, 2005-07-20 at 09:39 -0400,
On 21 Jul 2005, at 20:44, Tim Suter wrote:
The emergency user account will not work. I have tried deleting and
creating it no with no domain restrictions. Outside of that, I don't
know what to do. The LDAPUserFolder IS at the root folder of the ZMI.
Could that be hanging it up?
No. The
Hi,
I did a refactory in the FSZSQLMethod.py module of CMFCore from SVN. I
want to use my ZSQLs from the filesystem and I improved the module to
better support to this feature.
Can someone commit this patch to the CMFCore SVN?
Now, the sintax to the FS ZSQLs is:
##title=My query
...
[Martin Raspe]
I see the same error message that ZOPE gives.
[Tim Peters]
FYI, pasting the exact DOS box input and output (as I did above) saves
the reader from needing to guess at 100 details.
Any solution?
Sorry, not unless someone can give useful information. If you're
familiar
I did a refactory in the FSZSQLMethod.py module of CMFCore from
SVN. I want to use my ZSQLs from the filesystem and I improved the
module to better support to this feature.
First of all, CMF-related items are better discussed on the zope-
[EMAIL PROTECTED] list.
Can you explain how your
David wrote:
Hi
I installed ZPyIRC version 0.1.3 in Zope 2.7.5 and I get Zope Template
Errors on two of the frames when trying to start a chat client. I don't
know ZTP very well. (Python is 2.3.5)
I was hoping that maybe somebody has fixed the templates for 2.7.
Any help very welcome!
58 matches
Mail list logo