Dieter Maurer wrote:
Florent Guillaume wrote at 2005-7-8 20:36 +0200:
The RAMCacheManager does a costly pseudo-pickling of the objects it
stores to compute their size, but that information is only used in
the statistics screen.
I replaced it by the following code:
[...]
That's a fine
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Shane Hathaway wrote:
Dieter Maurer wrote:
Florent Guillaume wrote at 2005-7-8 20:36 +0200:
The RAMCacheManager does a costly pseudo-pickling of the objects it
stores to compute their size, but that information is only used in
the statistics
If I get a versioned connection from the ZODB:
conn = Zope.DB.open(version=myVersion)
root = conn.root()
app = root['Application']
# do some stuff
get_transaction().commit()
conn.close()
Are the changes now in a version? How do I get those changes rolled
into the trunk version of the ZODB? I
hi all!
this is not my first posting regarding my before_transaction_commit
stuff, to summarize my plans:
make the transaction object call a method _before_transaction_commit()
on each changed object before the commit process starts.
in zodb 3.2 style transactions it seemed to be easy, changed
ZODB versions are deprecated, unsupported, buggy and hard to use. Don't
use them.
Florent
Etienne Labuschagne [EMAIL PROTECTED] wrote:
If I get a versioned connection from the ZODB:
conn = Zope.DB.open(version=myVersion)
root = conn.root()
app = root['Application']
# do some stuff
This workaround is an excellent solution! I am doing:
dtml-if an_arg>
and a_table.an_array_fieldt[dtml-sqlvar an_array_key type=int>][2] = dtml-sqlvar a_title type=string>
/dtml-if>
and just insert above any optional statements. Many thanks Dieter
Regards,
David
On Sunday, July 10,
Please stay on the list.
On 11 Jul 2005, at 16:19, Mark Barratt wrote:
Florent Guillaume wrote:
ZODB versions are deprecated, unsupported, buggy and hard to use.
Don't
use them.
Understood. Alternative mechanisms which achieve the same object?
Well that depends on your objective, and you
On 7/10/05, Adam Acord [EMAIL PROTECTED] wrote:
I'm looking for ideas on how to implement a call logging/helpdesk
ticketing system utilizing Plone. Any ideas? Before everyone
responds try PloneCollector, I'm looking into it. However, I need
some ideas, as I'm new to Plone (researched last
Bakhtiar A Hamid wrote:
On 7/10/05, Adam Acord [EMAIL PROTECTED] wrote:
I'm looking for ideas on how to implement a call logging/helpdesk
ticketing system utilizing Plone. Any ideas? Before everyone
responds try PloneCollector, I'm looking into it. However, I need
some ideas, as I'm new
As some of you know, I am working on an installation of Zope/Zwiki.
What I have inherited is a 2.5.1 Zope/Zwiki on a Debian box. I am
wanting to move the data from the 2.5.1 to a 2.8. But here's the
situation.
At the root of the 2.5.1 install there is an acl_users folder that
appears to be the
On 7/11/05, Florent Guillaume [EMAIL PROTECTED] wrote:
ZODB versions are deprecated, unsupported, buggy and hard to use. Don't
use them.
Florent
And as I understand, so are temporary connections too. That leaves me
with getting a normal ZODB connection from the pool which I don't
want to
How can I manage permissions for imported ZPT files?
Relevant lines from my Product:
from AccessControl import ClassSecurityInfo
class MyClass():
security=ClassSecurityInfo()
comment_add_form=PageTemplateFile('zpt/comment_add_form',globals())
My goal is to limit access to
On 11 Jul 2005, at 17:00, Tim Suter wrote:
As some of you know, I am working on an installation of Zope/Zwiki.
What I have inherited is a 2.5.1 Zope/Zwiki on a Debian box. I am
wanting to move the data from the 2.5.1 to a 2.8. But here's the
situation.
snip half a mile of stuff
Why don't
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Etienne Labuschagne wrote:
On 7/11/05, Florent Guillaume [EMAIL PROTECTED] wrote:
ZODB versions are deprecated, unsupported, buggy and hard to use. Don't
use them.
Florent
And as I understand, so are temporary connections too. That leaves me
On 11.Jul 2005 - 18:27:57, Milos Prudek wrote:
How can I manage permissions for imported ZPT files?
Relevant lines from my Product:
from AccessControl import ClassSecurityInfo
class MyClass():
security=ClassSecurityInfo()
On 11 Jul 2005, at 17:41, Andreas Pakulat wrote:
add a security.declareProtected('comment_add_form', 'right that is
granted to Authenticated users only')
Where the second string would be one of the rights listed on the
security tab with in the ZMI. If that right is granted to the
authenticated
What I suspect is that you are working with Zope in Remote User Mode.
You can verify this in a very quick way, by looking at your instance
home directory and checking if the access file contains a line like
'admin:' or 'super:' or whatever, but with no password.
Regards
Marco
Tim Suter
Sorry Marco the reply to all button eluded me once again:
I deleted the access file and recreated it so I could get ready to
delete all instances of the old LDAPUserFolder. This has to been done
prior to migration of Data.fs as the new Zope 2.8 isn't compatible with
the old LDAPUserFolder.
Now,
[Etienne Labuschagne]
...
I really need a temporary connection that I can discard. This
connection can have a much smaller cache than the normal connections
as it makes very little difference in the speed of data loading.
Second prize is a connection that will only be used by a specific
19 matches
Mail list logo