Tobias Herp wrote:
Hi,
we have a Zope-based (v2.5.0) editorial system running on a server of our
customer's; it uses a ZUserFolder to store eMail addresses of the top-level
users. Last week, an error turned up whenever the system tried to
automatically send a notification eMail, which said:
Hi, Clemens,
thanks for answering.
By the way, You could try:
utilities/ZODBTools/fstest.py
to check, if Your ZODB is corrupted for some reason.
The result of this command was:
2380190 object serialno 0x0343a7a27062f819 does not matchtransaction id
0x0343aee3616a8c22
But what to do now
I must admit to not understanding why this should only break over
xmlrpc and not directly from Zope. The problem appears to be that my
method is defined something like:
def method(self, *args, **kw)
mapply doesn't put things into **kw arguments of methods.
I wanted this once for a product
Thanks for the reply Steve,
Steve Alexander said:
I must admit to not understanding why this should only break over
xmlrpc and not directly from Zope. The problem appears to be that my
method is defined something like:
def method(self, *args, **kw)
mapply doesn't put things into **kw
Toby Dickenson [EMAIL PROTECTED] wrote:
Yes, its a PITA that the changes to the book were not available at the
same time as the software.
This bug report is for a problem which is different to yours, but the
comments will probably answer your questions too.
Tim Hicks wrote:
Given a call signature like:
def method(self, *args, **kw)
In this way, mapply.py seems to ignore the fact that I want my method to
accept an arbitrary number of arguments (line 69).
When mapply was written, its only purpose was to map explicit method
parameters to request
I have a method in a python Product that I'd like to have run as
restricted code. Is there an easy way to do this? I was hoping for a
PythonScriptFile() along the lines of PageTemplateFile(), but such a
thing doesn't seem to exist.
Thanks
-- Brent
Hi,
I know I can get the root object using self.getPhysicalRoot()
But I'm in a situation where I can't get that self or any other Zope
object.
Any hint ?
Thanks in advance.
--Gilles
___
Zope-Dev maillist - [EMAIL PROTECTED]
I have posted a tenative release plan for ZODB 3.2 in the ZODB Wiki at
http://www.zope.org/Wikis/ZODB/ZODB%203.2%20Release
There are a small set of proposed features centering around better
configuration and management of ZEO and ZODB.
Feedback is welcome.
Jeremy
I tried (successfully) to play with Zope objects with console scripts using
the hints in $ZOPEROOT/doc/ZODB.txt
Unfortunately, it works only if the Zope server is down.
I need to run this script on a running server, and I'd prefer not using
xmlrpc stuffs for a better efficiency.
Any hint, config,
On Tue, 2002-11-05 at 17:27, Gilles Lenfant wrote:
I tried (successfully) to play with Zope objects with console scripts using
the hints in $ZOPEROOT/doc/ZODB.txt
Unfortunately, it works only if the Zope server is down.
I need to run this script on a running server, and I'd prefer not using
On Tue, Nov 05, 2002 at 12:19:06PM -0600, Brent Hendricks wrote:
I have a method in a python Product that I'd like to have run as
restricted code. Is there an easy way to do this? I was hoping for a
PythonScriptFile() along the lines of PageTemplateFile(), but such a
thing doesn't seem to
Tobias Herp writes:
By the way, You could try:
utilities/ZODBTools/fstest.py
to check, if Your ZODB is corrupted for some reason.
The result of this command was:
2380190 object serialno 0x0343a7a27062f819 does not matchtransaction id
0x0343aee3616a8c22
But what to do now
- Original Message -
From: Leonardo Rochael Almeida [EMAIL PROTECTED]
To: Gilles Lenfant [EMAIL PROTECTED]
Cc: Zope Developers list [EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 8:34 PM
Subject: Re: [Zope-dev] Using Zope from a console script
On Tue, 2002-11-05 at 17:27, Gilles
On Tue, Nov 05, 2002 at 09:46:03PM +0100, Gilles Lenfant wrote:
But just want to run a console application, not running it from another Zope
instance.
xml-rpc should be the way to go.
bye,
Jerome Alet
___
Zope-Dev maillist - [EMAIL PROTECTED]
Tobias Herp writes:
we have a Zope-based (v2.5.0) editorial system running on a server of our
customer's; it uses a ZUserFolder to store eMail addresses of the top-level
users. Last week, an error turned up whenever the system tried to
automatically send a notification eMail, which said:
Hello,
We've had requests from several of our users for the ability to have a
drop in page counter within zope. However creating a page counter python
script which increments some value in zope will bloat the ZODB.
Solutions exist where values are stored on the file system or in a
database.
On Tue, Nov 05, 2002 at 10:25:23PM +0100, Gilles Lenfant wrote:
That's the way I started to do the stuff but this requires too many Zope
side xmlrpc handlers I should not need if accessing directly to the Zope
objects.
shamelessplug mode=again_and_again
Did you try to manipulate your ZODB
On Tue, 2002-11-05 at 18:46, Gilles Lenfant wrote:
- Original Message -
From: Leonardo Rochael Almeida [EMAIL PROTECTED]
On Tue, 2002-11-05 at 17:27, Gilles Lenfant wrote:
I tried (successfully) to play with Zope objects with console scripts
using
the hints in
I would like to create a Page Counter product that doesn't bloat. If a
product is created that doesn't subclass History or UndoSupport does it
still bloat?
those have nothing to do with the fact that every time that hit counter
fires some object will get updated and thus saved again.
Zope is
- Original Message -
From: Jerome Alet [EMAIL PROTECTED]
To: Gilles Lenfant [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, November 05, 2002 10:21 PM
Subject: Re: [Zope-dev] Using Zope from a console script
On Tue, Nov 05, 2002 at 10:25:23PM +0100, Gilles Lenfant wrote:
Leonardo,
Thanks for that fast answer.
But it's buggy for me (Zope 2.5.1/Python 2.1.3/FreeBSD) :
bash-2.05a$ python ZServer/medusa/monitor_client.py localhost 8099
/usr/local/lib/python2.1/regsub.py:15: DeprecationWarning: the regsub
module
is deprecated; please use re.sub()
22 matches
Mail list logo