Re: [Zope-dev] Packing (still) hosed in 2.6.2?

2003-08-15 Thread Anthony Baxter
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

[Zope-dev] 501 NotImplemented in Zope 2.7 beta1

2003-08-15 Thread Jim Washington
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 issue) that

Re: [Zope-dev] Packing (still) hosed in 2.6.2?

2003-08-15 Thread Anthony Baxter
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 you a

[Zope-dev] DBTab/ZEO configuration in Zope2.7 beta1

2003-08-15 Thread Tino Wildenhain
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

Re: [Zope-dev] DBTab/ZEO configuration in Zope2.7 beta1

2003-08-15 Thread Chris McDonough
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,

Re: [Zope-dev] DBTab/ZEO configuration in Zope2.7 beta1

2003-08-15 Thread Tino Wildenhain
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

Re: [Zope-dev] DBTab/ZEO configuration in Zope2.7 beta1

2003-08-15 Thread Tino Wildenhain
Just a step in between: I found ZODB/component.xml, where there seem to be the definition of the relevant section of zope.conf. zodb_db main zeo_client server localhost:12345 /zeo_client mount-point / cache-size 5000 pool-size 7 version-pool-size 3

Re: [Zope-dev] DBTab/ZEO configuration in Zope2.7 beta1

2003-08-15 Thread Chris McDonough
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: zodb_db temporary temporarystorage name

Re: [Zope-dev] DBTab/ZEO configuration in Zope2.7 beta1

2003-08-15 Thread Tino Wildenhain
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

Re: [Zope-dev] why cant i import types

2003-08-15 Thread paolo
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