Hi all,
I have been trying to find a way to make the password
to a zope site expire after a limited fixed time,
unsuccesfully using python.
I know I have to use acl_users but which file to
modify in zope (which is used to log in the user)is
the question. Also does this mean I have to recompile
Add a folder called GlobalModules in your Products directory and put in
that folder a file called '__init__.py' with this content:
from Products.PythonScripts.Utility import allow_module
allow_module('types')
with this you can't use "from types import *" but you can use the second
form
Hi Chris,
thank you. By the time I got it working when I first
used filestorage, bootet zope so it created all folders
as it wants and then stop zope and use that Data.fs
for ZEO. Then I was able to mount the zeo as /
I'll investigate this further and provide the examples.
For now even the fallbac
This is because the default is to mount a temporary storage at
/temp_folder. Since you overrode the default, you need to specify the
tempfolder storage in the config.
Something like this (untested) as an additional zodb_db entry should
work:
name sessions
mount-point /temp_folder
Just a step in between:
I found ZODB/component.xml, where
there seem to be the definition of
the relevant section of zope.conf.
server localhost:12345
mount-point /
cache-size 5000
pool-size 7
version-pool-size 3
version-cache-size 100
path $INSTANCE/var
Hi Chris,
Chris McDonough wrote:
mkzopeclient -z should go away. You should use the zope.conf file to
configure mounted databases. Unfortunately I haven't had time to
include adequate examples in the sample config, but it might help a bit
to look at the lib/python/Zope/Startup/zopeschema.xml fil
mkzopeclient -z should go away. You should use the zope.conf file to
configure mounted databases. Unfortunately I haven't had time to
include adequate examples in the sample config, but it might help a bit
to look at the lib/python/Zope/Startup/zopeschema.xml file.
On Fri, 2003-08-15 at 15:11, T
Hi,
looking thru code, examples and documentation,
it seems DBTab is included into Zope2.7.
Now how to configure it? Should I use
a dbtab.conf file as it was with 2.6?
The mkzopeclient.py with -z option
just builts a custom_zodb.py which does
not seem to be very 2.7-alike.
Shouldn't that configura
>>> "Jeremy Hylton" wrote
> I don't recall that any of the pack bugs that we fixed caused this sort of
> error. My first guess would be that the file is a bit damaged, perhaps in a
> way that the old pack did not check.
> Can you run fsdump.py and see if that output sheds any light. It will give
I have been noticing a few "501 Not Implemented" errors in the ZMI in
2.7 beta.
The ones I have encountered are fixed by changing method="get" to
method="post" in the html/dtml forms in e.g., Aqueduct.py.
I do not know the "proper" fix.
Also, this is weird enough (and perhaps merely a beta issu
Woohoo! Fixed. I created an empty file, then used copyTransactionsFrom
to copy all transactions across. This patched the backpointers. fsrecover.py
should probably get some smarts to do something like this as well, but I've
spent far too long on this problem already... :-/
from ZODB import FileS
11 matches
Mail list logo