Log message for revision 30936:
Merge rev 30935 from 2.8 branch.
Move to ZODB 3.4.1a1.
Changed:
_U Zope/trunk/lib/python/
_U Zope/trunk/utilities/
-=-
Property changes on: Zope/trunk/lib/python
___
Name:
Update of /cvs-repository/Packages/ZODB
In directory cvs.zope.org:/tmp/cvs-serv22552/ZODB
Modified Files:
Tag: Zope-2_7-branch
__init__.py
Log Message:
An internal 3.2.9b1 release.
=== Packages/ZODB/__init__.py 1.23.4.24 = 1.23.4.25 ===
--- Packages/ZODB/__init__.py:1.23.4.24 Wed
Morten W. Petersen wrote:
Hi,
I have an application called the Issue Dealer which I'm porting to Zope
2.8. However, whenever I try to access a PageTemplate which makes use
of a page template macro it just hangs and consumes all available CPU.
Any ideas what could be wrong here, or how I could
Hi,
this is my solution for SSO for Zope by accepting SAP-SSO-Ticket.
SAP-SSO-Tickets are Cookies named MYSAPSSO2. They contain
SAP-PortalUserName, SAP-Username, Validate-Time of the ticket and a signed
signature by the issueing SAP-System.
Since we currently use CookieCrumbler and
On 27 Jun 2005, at 22:27, Dirk Datzert wrote:
Hi,
this is my solution for SSO for Zope by accepting SAP-SSO-Ticket.
Apart from the fact that directly patching an existing product is
never a good idea (subclass and override as needed is a much better
solution) the creation of external
I am seeing occasional errors like those below. Any have any idea what my
problem here is?
Zope 2.7.6
MySQL-server-4.0.20-0
MySQLDB aka MySQL-python-1.2.tc3
ZMySQL 2.0.9
Python 2.4.1
Typically the errors occur at initial login when the database is consulted
to populate various session
Hi,
In a previous mail, I was asking if anyone had issues with ZopeProfiler and
Zope 2.8.
I have made many more tests and my issue is completely unrelated with Zope
2.8 (I got the same issue with Zope 2.7.6)
The issue has to deal with an XML-RPC call to a java service (using the
standard
I just finished reading xmlrpclib.py and ZopeProfiler code.
Here is the root cause of the issue :
In my code :
getattr(ServerProxy(self.url),self.rpc_method_expr) returns an
xmlrpclib._Method object
Then ZopeProfiler calls
ZopeProfiler.ZopeProfiler.getHLFuncId(self,fn,frame), which contains:
The other week someone provided me with this snippet of code for
generating links from a list containing a description and a link:-
span
tal:define=opts
python:here.lib.parse_file(file=context.links,sepr=',',clone=1)
tal:block repeat=opt opts
lia
Hi
I'm using the repozo.py script to back up some large FileStorages, as
outlined in:
http://www.zope.org/Wikis/ZODB/FileStorageBackup
I need to clear out old backups regularly, as there are several
storages which are packed every night, and so there are lots of ~2G
backups files around for
I have a Zope install 2.5.1 that I am wanting to migrate to another box
that has 2.8.0. After the 2.8.0 install I import the .zexp's and copy
the data.fs file from the old var to the new. This never goes
successfully as I get the following when pointing to
localhost:8080/manage and after I
On Mon, Jun 27, 2005 at 08:29:01AM -0500, Tim Suter wrote:
I have a Zope install 2.5.1 that I am wanting to migrate to another box
that has 2.8.0. After the 2.8.0 install I import the .zexp's and copy
the data.fs file from the old var to the new.
Redundant. If you copy the Data.fs file, you
I have a synkronisation script that I run every 10 minutes via wget from
a cron job.
Sometimes the script runs longer than 10 minutes.
In that case I would like to return a page to wget, but not run the
actual script.
So in a external method/module I have a function like this:
BUSY_STATE =
I expect that your 'global BUSY_STATE' statement is only creating a global
variable within the context of a 'program execution'.
In general terms, a global variable is only accessible to routines within a
single running program. Two programs, running simultaneously, will each
have their own
On 27 Jun 2005, at 14:00, Felix Ulrich-Oltean wrote:
Can I just go in and delete files older than X days from the backup
directory, or will this upset repozo, which apparently keeps info
about its backup files in the .dat file?
You can safely delete all files older than your last *full
A possible solution: create a property field on the folder
where the external methods are stored. Have your external
method update this property field when the external method
starts and again when it exits. This way you can test
whether or not the external method is currently in
- Original Message -
From: Jim Abramson [EMAIL PROTECTED]
A possible solution: create a property field on the folder
where the external methods are stored. Have your external
method update this property field when the external method
starts and again when it exits. This way you
[Felix Ulrich-Oltean]
I'm using the repozo.py script to back up some large FileStorages, as
outlined in:
http://www.zope.org/Wikis/ZODB/FileStorageBackup
I need to clear out old backups regularly, as there are several
storages which are packed every night, and so there are lots of ~2G
I think that storing an isMyProcessingStarted property would not work,
because the transaction that modifies the property value would not be
committed until the long processing is done, so when the next transaction
that reads this value starts (if this happens before the previous one has
On Mon, Jun 27, 2005 at 11:08:56AM -0400, Tim Peters wrote:
[Felix Ulrich-Oltean]
I need to clear out old backups regularly, as there are several
storages which are packed every night, and so there are lots of ~2G
backups files around for every day.
Are you doing full backups every time?
I deleted the Zope dir to start over. Went through the configure make
and make install routine from the source directoryran
mkzopeinstance.py then after running:
# su -c /opt/zope/knowledge/bin/runzope itadmin
I get this:
Traceback (most recent call last):
File
On Mon, Jun 27, 2005 at 10:28:45AM -0500, Tim Suter wrote:
I deleted the Zope dir to start over. Went through the configure make
and make install routine from the source directoryran
mkzopeinstance.py then after running:
# su -c /opt/zope/knowledge/bin/runzope itadmin
I get this:
On 6/27/05, Tim Suter [EMAIL PROTECTED] wrote:
I deleted the Zope dir to start over. Went through the configure make
and make install routine from the source directoryran
mkzopeinstance.py then after running:
# su -c /opt/zope/knowledge/bin/runzope itadmin
I get this:
Traceback
- Original Message -
From: Pascal Peregrina [EMAIL PROTECTED]
I think that storing an isMyProcessingStarted property would not work,
because the transaction that modifies the property value would not be
committed until the long processing is done, so when the next transaction
that
Jonathan wrote:
A possible solution: create a property field on the folder where the
external methods are stored. Have your external method update this
property field when the external method starts and again when it exits.
This way you can test whether or not the external method is
Can anyone suggest how I would go about debugging a Python routine like
this through Zope?
span
tal:define=opts
python:here.lib.parse_file(file=here.members,sepr=',',clone=1)
tal:block repeat=opt opts
lia tal:content=python:opt[1]
tal:attributes=href
To keep traffic down I don't announce every MailManager release but 2.0
is a milestone for us. This is still very much a Zope product but with
2.0 we're now storing the mail in PostgreSQL (and shortly other RDBMs
too) rather than the ZODB. We are still fans of the ZODB but for our
particular
- Original Message -
From: John Poltorak [EMAIL PROTECTED]
Can anyone suggest how I would go about debugging a Python routine like
this through Zope?
span
tal:define=opts
python:here.lib.parse_file(file=here.members,sepr=',',clone=1)
tal:block repeat=opt opts
lia
I use a Script Python that writes to a ZPT. It first
reads the ZPT then appends new info; first with a time
stamp, container info, and the message. This works
from other Script Python objects or ZPTs. It's quick
and dirty; but, I've been able to use it for most of
my debugging.
There are other
[Eddie Butcher]
What would be most useful is the ability to specify the number of backup
files *kept*.
Please add comments to the Collector issue instead? On a mailing
list. they're forgotten forever an hour after they're posted 0.1
wink:
http://www.zope.org/Collectors/Zope/1501
I prefer:
emacs with ExternalEditor - to edit ZODB objects,
emacs with TRAMP - to edit native filesystem files via SSH, see:
http://savannah.nongnu.org/download/tramp/
emacs via FTP (with AngeFTP or with TRAMP) is also good for both of
these when configured. But be aware that content
John Poltorak wrote:
My links list consists of simple lines such as
org-1,First link
org-2,Second Link
org-x,Another Link
How do I prepend a hardcoded path to org-1 instead of what is getting
generated?
I would like to see the link for org-1 being generated as
Hi!
I'am trying to add one more field in the edit_news_form(plone)
but when i execute the script that probably stores the object
information of this new field aren't stored.
So this what i'am doing:
--Script
...
new_context = context.portal_factory.doCreate(context,id)
John Poltorak wrote:
If I create individual pages for a website as sub folders of a sites main
folder, how do I control the sequence of pages if I automatically generate
a set of links to all the folders?
See the FileLibrary example, probably located at:
More info that may be of help:
* Ken Manheimer's wiki on Zope debugging at
zope.org:
http://zope.org/Members/klm/ZopeDebugging/FrontPage
* Ken's original paper on the matter:
http://zope.org/Members/klm/ZopeDebugging/ConversingWithZope
* A more advanced coverage of the matter at
Well, I guess that you want to debug here.lib.parse_file() as the rest is
quiet obvious...
If parse_file is a PythonScript, you can test it from the ZMI, and you
should get a stack trace if an exception is raised.
Pascal
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL
All I did was import the Data.fs this time. No good. Still get:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: AttributeError
Error Value: __getitem__
Should I just use the import function?
Tim
On Mon, 2005-06-27 at 09:41 -0400, Paul Winkler wrote:
On
Hi everybody!
After upgrading Zope from version 2.6.4 to 2.8.0 and mysqlpython from 0.9.2 to
1.2.0 I cannot add or edit ZSQLMethods anymore, although there is an open
(MySQL)db-Connection that works just fine with the same ZSQLMethods that cannot
be edited or with external methods. The error I'm
On Mon, Jun 27, 2005 at 11:51:02AM -0500, Tim Suter wrote:
All I did was import the Data.fs this time. No good. Still get:
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: AttributeError
Error Value: __getitem__
Should I just use the import
On Mon, Jun 27, 2005 at 10:03:08AM -0600, Nikko Wolf wrote:
John Poltorak wrote:
My links list consists of simple lines such as
org-1,First link
org-2,Second Link
org-x,Another Link
How do I prepend a hardcoded path to org-1 instead of what is getting
generated?
I would
Jan-Ole Esleben wrote at 2005-6-26 15:36 +0200:
Is there a way to have a ZOPE method (called, for example, via a TALES
expression) time out after a specific (changeable!) amount of time?
There is, if you program it...
Your method must check the timeout itself...
--
Dieter
Dennis Allison wrote at 2005-6-27 00:18 -0700:
2005-06-26T23:11:06 ERROR(200) ZMySQLDA exception during _begin
...
59, in tpc_finish
try: self._finish()
File /opt/zope/zproducts/standard/ZMySQLDA/db.py, line 376, in _finish
self._tlock.release()
error: release unlocked lock
This one I
John Poltorak wrote at 2005-6-25 13:46 +0100:
If I create individual pages for a website as sub folders of a sites main
folder, how do I control the sequence of pages if I automatically generate
a set of links to all the folders? I presume that under normal
circumstances that sequence would be
John Poltorak wrote at 2005-6-27 13:05 +0100:
...
This works fine, but now that I have used it in a template I'm finding
that the link is being prepended with the location of the new object after
selecting the original link. ie invoking the code above creates a link
such as:-
Max M wrote at 2005-6-27 15:53 +0200:
...
So in a external method/module I have a function like this:
BUSY_STATE = 0
def sync_in_progress(busy=None):
global BUSY_STATE
if busy is None:
return BUSY_STATE
else:
BUSY_STATE = busy
Note that this is likely to fail.
Pascal Peregrina wrote at 2005-6-27 11:53 +0200:
I just finished reading xmlrpclib.py and ZopeProfiler code.
Here is the root cause of the issue :
In my code :
getattr(ServerProxy(self.url),self.rpc_method_expr) returns an
xmlrpclib._Method object
Then ZopeProfiler calls
Jonathan wrote at 2005-6-27 11:33 -0400:
...
I am not sure when changes are made to 'temp_folder' objects as they are not
committed to the zodb (ie. do changes to temp_folder objects happen
immediately or are temp_folder changes also tied in to the committment
machinery)?
They are (tied to
Well, what about :
try:
p= gP()
except:
return
;)
I will test your patch, not sure about the
+s_class = getattr(s, '__class__', None)
+gpp_class = getattr(s, '__class__', None)
in your patch...
Pascal
-Message d'origine-
De : Dieter Maurer [mailto:[EMAIL PROTECTED]
I'm using webdav to update to access files from Dreamweaver and it is
working fine but when I try to use windows web folders feature it fails
with the following error in zope log. It seems that windows is
requesting the PROPFIND before authenticating. Any clues?
Zope Version (Zope
Do you mean this?
http://plope.com/software/ExternalEditor
Are there any screen shots of it in action?
I'm not exactly sure how it works, but have feeling it won't work for me.
Yes, that's what Paul meant. I tried it once and it is not difficult to
install. You just have to follow the
On Mon, 2005-06-27 at 21:14 +0200, Josef Meile wrote:
Do you mean this?
http://plope.com/software/ExternalEditor
Are there any screen shots of it in action?
I'm not exactly sure how it works, but have feeling it won't work for me.
Yes, that's what Paul meant. I tried it once and
Please keep discussion on the list.
Now then, let's look at your log:
On Mon, Jun 27, 2005 at 01:09:29PM -0500, Tim Suter wrote:
Traceback (most recent call last):
File /opt/zope/lib/python/OFS/Application.py, line 254, in
checkGlobalRegistry
On Mon, 2005-06-27 at 16:30 -0400, Paul Winkler wrote:
Please keep discussion on the list.
Now then, let's look at your log:
Yeah, that Reply to All function eludes me sometime.
__getattr__
raise AttributeError, escape(name)
AttributeError: keys
I've never seen that one and
On 27 Jun 2005, at 21:30, Paul Winkler wrote:
2005-06-27T13:06:58 WARNING ZODB Could not import class
'SimpleLog' from
module 'Products.LDAPUserFolder.SimpleLog'
It's pretty clear that Zope is having a major problem with
LDAPUserFolder. Possibly you have an old version of LDAPUserFolder
On 27 Jun 2005, at 22:27, Tim Suter wrote:
We don't want to use LDAPUserFolder for authentication. The preferred
method of authentication is against an authzldap enabled apache. Or
when authenticating, is it necessary to add the LDAPUserFolder?
Which,
this might explain why when
55 matches
Mail list logo