[Zope-Annce] ZODB 3.4.1 final released
I'm pleased to announce the release of ZODB 3.4.1 final. This corresponds to the ZODB that will ship in Zope 2.8.1. You can download a source tarball or Windows installer from: http://zope.org/Products/ZODB3.4 Note that there are two Windows installers, for Python 2.3 (2.3.5 is recommended) and Python 2.4 (2.4.1 is recommended). There have been many bugfixes in various areas since ZODB 3.4. In addition, optional ZEO client cache tracing was badly broken with the introduction of multiversion concurrency control (MVCC) in ZODB 3.3, and ZODB 3.4.1 is the first attempt to repair that. See the news file for details: http://zope.org/Products/ZODB3.4/NEWS.html Note that ZODB 3.4.1 does not support any version of Zope 2.6 or 2.7. Current Zope 2.8 development uses ZODB 3.4.1, and current Zope3 development uses a ZODB 3.5 prerelease. The ZODB 3.3 line is officially retired (3.3.1 final was the last release in the 3.3 line). ___ Zope-Announce maillist - Zope-Announce@zope.org http://mail.zope.org/mailman/listinfo/zope-announce Zope-Announce for Announcements only - no discussions (Related lists - Users: http://mail.zope.org/mailman/listinfo/zope Developers: http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope-Coders] Zope tests: 8 OK
Summary of messages to the zope-tests list. Period Tue Aug 9 11:01:02 2005 UTC to Wed Aug 10 11:01:02 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Tue Aug 9 23:24:12 EDT 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-August/002799.html Subject: OK : Zope-2_6-branch Python-2.3.5 : Linux From: Zope Unit Tests Date: Tue Aug 9 23:25:42 EDT 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-August/002800.html Subject: OK : Zope-2_7-branch Python-2.3.5 : Linux From: Zope Unit Tests Date: Tue Aug 9 23:27:12 EDT 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-August/002801.html Subject: OK : Zope-2_7-branch Python-2.4.1 : Linux From: Zope Unit Tests Date: Tue Aug 9 23:28:42 EDT 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-August/002802.html Subject: OK : Zope-2_8-branch Python-2.3.5 : Linux From: Zope Unit Tests Date: Tue Aug 9 23:30:13 EDT 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-August/002803.html Subject: OK : Zope-2_8-branch Python-2.4.1 : Linux From: Zope Unit Tests Date: Tue Aug 9 23:31:43 EDT 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-August/002804.html Subject: OK : Zope-trunk Python-2.3.5 : Linux From: Zope Unit Tests Date: Tue Aug 9 23:33:13 EDT 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-August/002805.html Subject: OK : Zope-trunk Python-2.4.1 : Linux From: Zope Unit Tests Date: Tue Aug 9 23:34:43 EDT 2005 URL: http://mail.zope.org/pipermail/zope-tests/2005-August/002806.html ___ Zope-Coders mailing list Zope-Coders@zope.org http://mail.zope.org/mailman/listinfo/zope-coders
[Zope-dev] Is there a Zope 2.7.8 planned?
Hiya, I'm looking at the two patches that were uploaded for http://www.zope.org/Collectors/Zope/1810 which is assigned to me... BUT: 1) Have we reached the end of the 2.7 line? Do I need to apply this to the 2.7 branch? Or can I just put this on the trunk and 2.8 branches and leave it at that? I really hate having to deal with both CVS and SVN for one fix... 2) Since 2.8.1 is planned for tomorrow, should I a) hurry up and get it in before that, or b) wait because I don't want to risk merging a not-widely-tested patch so close to the final release? or c) just create a bugfix branch and leave it for somebody else to sort out the merge, since I'll be out of town for the next 2 weeks starting tomorrow and can't help if there's anything wrong with the fix? :-) thanks, PW ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Is there a Zope 2.7.8 planned?
CRAP. On second thought, I may not be able to do anything about this at all. I am temporarily stuck using a win2000 box with cygwin, an environment in which I'm hardly an expert, and: - I can't get a working python 2.3 installed, it refuses to build the socket module, which is apparently a known cygwin bug; - I can't run unit tests on the zope trunk with python 2.4.1, they bail out with the traceback below. So, unless somebody else champions it, the fix won't be in 2.8.1. Here's the traceback: Traceback (most recent call last): File test.py, line 917, in ? process_args() File test.py, line 907, in process_args bad = main(module_filter, test_filter, libdir) File test.py, line 697, in main runner(files, test_filter, debug) File test.py, line 591, in runner s = get_suite(file, runner.result) File test.py, line 507, in get_suite mod = package_import(modname) File test.py, line 481, in package_import mod = __import__(modname) File /zope/ZopeTrunk/lib/python/AccessControl/tests/testAcquisition.py, line 25, in ? Zope2.startup() File /zope/ZopeTrunk/lib/python/Zope2/__init__.py, line 47, in startup _startup() File /zope/ZopeTrunk/lib/python/Zope2/App/startup.py, line 95, in startup OFS.Application.initialize(application) File /zope/ZopeTrunk/lib/python/OFS/Application.py, line 304, in initialize initializer.initialize() File /zope/ZopeTrunk/lib/python/OFS/Application.py, line 333, in initialize self.install_products() File /zope/ZopeTrunk/lib/python/OFS/Application.py, line 601, in install_pro ducts return install_products(app) File /zope/ZopeTrunk/lib/python/OFS/Application.py, line 632, in install_pro ducts folder_permissions, raise_exc=debug_mode) File /zope/ZopeTrunk/lib/python/OFS/Application.py, line 769, in install_pro duct productObject=App.Product.initializeProduct( File /zope/ZopeTrunk/lib/python/App/Product.py, line 497, in initializeProdu ct products=app.Control_Panel.Products File /zope/ZopeTrunk/lib/python/ZODB/Connection.py, line 704, in setstate self._setstate(obj) File /zope/ZopeTrunk/lib/python/ZODB/Connection.py, line 760, in _setstate self._reader.setGhostState(obj, p) File /zope/ZopeTrunk/lib/python/ZODB/serialize.py, line 495, in setGhostStat e state = self.getState(pickle) File /zope/ZopeTrunk/lib/python/ZODB/serialize.py, line 488, in getState return unpickler.load() File /zope/ZopeTrunk/lib/python/ZODB/serialize.py, line 436, in _persistent_ load return self._conn.get(oid) File /zope/ZopeTrunk/lib/python/ZODB/Connection.py, line 208, in get obj = self._reader.getGhost(p) File /zope/ZopeTrunk/lib/python/ZODB/serialize.py, line 482, in getGhost return klass.__new__(klass, *args) TypeError: Acquirer.__new__(UserFolder) is not safe, use Persistence.Persistent. __new__() I get a similar error when attempting to start Zope: Traceback (most recent call last): File /zope/ZopeTrunk/lib/python/Zope2/Startup/run.py, line 56, in ? run() File /zope/ZopeTrunk/lib/python/Zope2/Startup/run.py, line 21, in run starter.prepare() File /zope/ZopeTrunk/lib/python/Zope2/Startup/__init__.py, line 98, in prepa re self.startZope() File /zope/ZopeTrunk/lib/python/Zope2/Startup/__init__.py, line 257, in star tZope Zope2.startup() File /zope/ZopeTrunk/lib/python/Zope2/__init__.py, line 47, in startup _startup() File /zope/ZopeTrunk/lib/python/Zope2/App/startup.py, line 90, in startup Globals.VersionNameName) File /zope/ZopeTrunk/lib/python/App/ZApplication.py, line 32, in __init__ if not root.has_key(name): File /zope/ZopeTrunk/lib/python/ZODB/Connection.py, line 704, in setstate self._setstate(obj) File /zope/ZopeTrunk/lib/python/ZODB/Connection.py, line 760, in _setstate self._reader.setGhostState(obj, p) File /zope/ZopeTrunk/lib/python/ZODB/serialize.py, line 495, in setGhostStat e state = self.getState(pickle) File /zope/ZopeTrunk/lib/python/ZODB/serialize.py, line 488, in getState return unpickler.load() File /zope/ZopeTrunk/lib/python/ZODB/serialize.py, line 436, in _persistent_ load return self._conn.get(oid) File /zope/ZopeTrunk/lib/python/ZODB/Connection.py, line 208, in get obj = self._reader.getGhost(p) File /zope/ZopeTrunk/lib/python/ZODB/serialize.py, line 482, in getGhost return klass.__new__(klass, *args) TypeError: Acquirer.__new__(Application) is not safe, use Persistence.Persistent.__new__() Hiya, I'm looking at the two patches that were uploaded for http://www.zope.org/Collectors/Zope/1810 which is assigned to me... BUT: 1) Have we reached the end of the 2.7 line? Do I need to apply this to the 2.7 branch? Or can I just put this on the trunk and 2.8 branches and leave it at that? I really hate having to deal with both CVS and SVN for one fix... 2) Since 2.8.1 is planned for tomorrow, should I a) hurry
Re: [Zope-dev] Is there a Zope 2.7.8 planned?
[Paul Winkler] I'm looking at the two patches that were uploaded for http://www.zope.org/Collectors/Zope/1810 which is assigned to me... BUT: 1) Have we reached the end of the 2.7 line? I expect that's Andreas's call now. I still plug away adding patches to the ZODB 3.2 line (which is maintained solely for the benefit of the Zope 2.7 line). If there won't be another 2.7-line release, I'd be delighted to retire the ZODB 3.2 line too. Do I need to apply this to the 2.7 branch? Or can I just put this on the trunk and 2.8 branches and leave it at that? I really hate having to deal with both CVS and SVN for one fix... Do it one place, do cvs diff or svn diff to create a patch, then apply the patch to the other place? That often works fine the first time. 2) Since 2.8.1 is planned for tomorrow, should I a) hurry up and get it in before that, or b) wait because I don't want to risk merging a not-widely-tested patch so close to the final release? Does this require ZODB changes? If so, ZODB 3.4.1 final tarballs+installers have already been cut tested (just awaiting upload announcements). If I have to cut another ZODB release for Zope 2.8.1 (which is fine, if that's what's needed), the Zope 2.8.1 release should be delayed by a day to make enough time to do that. or c) just create a bugfix branch and leave it for somebody else to sort out the merge, since I'll be out of town for the next 2 weeks starting tomorrow and can't help if there's anything wrong with the fix? :-) Sounds like starting on #c now wouldn't be a waste of time in any case, and would leave all other options open. ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Is there a Zope 2.7.8 planned?
--On 10. August 2005 08:54:59 -0500 Paul Winkler [EMAIL PROTECTED] wrote: Hiya, I'm looking at the two patches that were uploaded for http://www.zope.org/Collectors/Zope/1810 which is assigned to me... BUT: 1) Have we reached the end of the 2.7 line? Do I need to apply this to the 2.7 branch? Or can I just put this on the trunk and 2.8 branches and leave it at that? I really hate having to deal with both CVS and SVN for one fix... Why should we have reached the end? 2.7 should be supported as long as needed (I think at least for one further year) until 2.8 will be widely adopted (whatever that means). This means for me I will make releases as soon as their is a significant number of fixes or in case of important security fixes. 2) Since 2.8.1 is planned for tomorrow, should I a) hurry up and get it in before that, or b) wait because I don't want to risk merging a not-widely-tested patch so close to the final release? or c) just create a bugfix branch and leave it for somebody else to sort out the merge, since I'll be out of town for the next 2 weeks starting tomorrow and can't help if there's anything wrong with the fix? :-) No further untested fixes or whatever are acceptable for 2.8.1. Please commit your fixes after the release tomorrow. Andreas pgplZXtZhJxNf.pgp Description: PGP signature ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Catalog and Unicode
Florent Guillaume wrote at 2005-8-9 17:18 +0200: We're seeing problems in one application here due to the catalog and interactions with Unicode. Here's what happens: - an object is indexed with a Unicode title, so in the catalog the metadata tuple has for instance (u'cafe',) - later that title is changed to latin-1, so the new metadata tuple would be ('caf\xe9',) The problem is that Catalog.py has in updateMetadata() the code: if data.get(index, 0) != newDataRecord: data[index] = newDataRecord try: changed = data.get(index, 0) != newDataRecord except UnicodeDecodeError: changed = True if changed: data[index] = newDataRecord Objections ? I fear, you will get similar problems in the indexes. You should avoid mixed unicode/non-unicode in fields or indexes (or the the default encoding appropriately). -- Dieter ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-PAS] Re: auth fallback with cookies
On Wed, Aug 10, 2005 at 11:59:34AM -0400, Tres Seaver wrote: | Sidnei da Silva wrote: | On Sun, Aug 07, 2005 at 03:49:36PM -0700, Kapil Thangavelu wrote: | | make the cookie auth plugin push form credentials into the the request | | as basic auth headers ala cookie crumbler. | | I've tried that but have not succeeded for some reason. | | OTOH, replacing the root User Folder by a PAS equivalent (using | PluggableAuthService/Extensions/upgrade.py + adding cookie extraction | plugin) *does* do the trick. | | Anyone can think of a good reason not to do this and try harder at the | cookie crumbler approach? | | Nope. If you are going to drink the PAS koolaid, you might as well go | all the way. ;) Yes, I'm ok with that. However I *do* think there's a problem in there. Here's a description of the issue: - User exists at (unknown) user folder on / - PAS user folder at /foo - Client visits /foo/auth_required_page - PAS user folder challenges the client - Client sends credentials - PAS user folder successfully extracts credentials - PAS user folder cannot find the user - BaseRequest moves on to next user folder - (unknown) user folder on / cannot extract credentials because it's not a PAS user folder, or because it *IS* a PAS user folder but doesn't have the correct extraction plugin. So my current feeling is that PAS should have a way to pass the extracted credentials on to the next user folder somehow. This way seems to be using request._auth, which is what the Cookie Crumbler does, however the patch I've submitted on a separate email is required for this to work. Thoughts? -- Sidnei da Silva Enfold Systems, LLC. http://enfoldsystems.com ___ Zope-PAS mailing list Zope-PAS@zope.org http://mail.zope.org/mailman/listinfo/zope-pas
Re: [Zope] Changing Properties With ZPT
--On 9. August 2005 21:37:11 -0400 Dyyryath [EMAIL PROTECTED] wrote: I'm trying to figure out how I can change the properties of a template with ZPT. For example, let's say I've got a Page Template with a property called 'name' and I want to change it in response to something in the HTTP request: div tal:condition=python:'name' in context.REQUEST SOME CODE TO CHANGE THE PROPERTY TO EQUAL context.REQUEST['name'] /div I haven't seen anyway to do this with ZPT so I'm assuming that I'll need to use a python script of some sort, but I'm not sure how to access the template's properties without hardcoding the template's name. Your question indicates that you have not understand yet that everything in Zope is an object with a unique API. Objects can be modified by calling their API from within ZPT, PythonScripts, external methods, product code or from wherever as long as the Zope security allows it. This means it makes no difference to modify an object from a PythonScript or from a ZPT *as long* as you know its API. What you want is provided by the PropertyManager API (see Zope Book Appendix B - PropertyManager). -aj pgphkqJuMKldS.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: Need to find RSS product
Leticia Larrosa wrote: Hi all: Any recommendation for a RSS product. Indeed what i want is a client to obtain information from a RSS server and present this in a page. try CMFSin jodok Thanks in advanced !!! ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] howto i18n?
Hi, for now I use the Zope 2.7.5 tarball. I write freelance (not bound in a product) page template and wish it to be i18n'ed. I have appropriate tags inside and the domain set at the top. There is also Plone with its products in that instance. Where should I put the PO files, so the messages can be substituted? Thanks. -- \//\/\ (Sometimes credited as 1494 F8DD 6379 4CD7 E7E3 1FC9 D750 4243 1F05 9424.) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] how add LocalFS products into zope 2.7.0
Dear All, If any one using zope 2.7.0 kindly let me know how to add LocalFS into zope. When I try to add this LocalFS into zope instance directory having products directory. I have received lot of errors regards Prabahar Send a rakhi to your brother, buy gifts and win attractive prizes. Log on to http://in.promos.yahoo.com/rakhi/index.html ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: localhost:8080 not found on windows
Thanks for the help here. I'm calling in a support engineer to try and get it up and running. Firewall, router issues involved. Strange though that localhost doesn't work. Because that wouldn't go through the firewall/router. I've also noticed that something shuts down pythonservice.exe program which is strange. On 8/9/05, Philip Kilner [EMAIL PROTECTED] wrote: Hi Michael, michael nt milne wrote: Ok, thanks. Yes, Apache would be much better to route traffic through. And also it looks like a complete pain to try and route traffic through IIS. Is Apache for windows good? I only have experience of it on UNIX Works fine - once it's up and running and you are looking at the .conf file, you will probably barely notice the difference. Since I am not expecting very high traffic for my site at first I am going to use the Zope server at first. My head is hurting too much just now! Understood! By the way do you have any experience of altering the zope database or adding fields to the registration process on Plone etc? Seems a wee bit tricky and a client wants extra fields etc. That's one for the Plone list - but there is now a release candidate out for Plone 2.1, and I understand such things are simpler in that version. There may be an existing CMF/Plone product that does what you want for that matter. -- Regards, PhilK Email: [EMAIL PROTECTED] PGP Public key: http://www.xfr.co.uk Voicemail Facsimile: 07092 070518 You'll find that one part's sweet and one part's tart: say where the sweetness and the sourness start. - Tony Harrison ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] how add LocalFS products into zope 2.7.0
--On 10. August 2005 13:27:14 +0100 praba kar [EMAIL PROTECTED] wrote: Dear All, If any one using zope 2.7.0 kindly let me know how to add LocalFS into zope. When I try to add this LocalFS into zope instance directory having products directory. I have received lot of errors There is hacked LocalFS version for 2.7.X on easyleading.org somewhere. Btw. 2.7.0 is f*cking old. -aj pgpZibWb6btKC.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Streaming files
Dear List, Am a newbie so please bear with me. I need Zope to stream files to my users when they click on a link. Exactly how is this done ? Is it by the use of the Request.Write () method ? If so, canyou give me sample code and some reference links ? Thanks. Danny ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Streaming files
--On 10. August 2005 21:40:43 +0800 Sinang, Danny [EMAIL PROTECTED] wrote: Dear List, Am a newbie so please bear with me. I need Zope to stream files to my users when they click on a link. What means streaming for you? REQUEST.RESPONSE.write(data) write the passed data as part of the HTTP response back to the client. You might also look at the filestream_iterator implementation in Zope 2.7.X -aj pgpEosMXCaGU7.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Re: howto i18n?
Hi Vlada, for now I use the Zope 2.7.5 tarball. I write freelance (not bound in a product) page template and wish it to be i18n'ed. I have appropriate tags inside and the domain set at the top. There is also Plone with its products in that instance. Where should I put the PO files, so the messages can be substituted? Normally you have to put them inside a i18n folder located in your product tree. However, according to your message, you don't have a python product, so, I guess, you have to look for the plone's i18n folder and put your PO files there. The only problem I see here is that you have to remmember it every time you update plone. I'm not sure if this would work: you could try to create a dummy folder, let's say MyTranslations, inside the Products folder of your instance. Then create an empty __init__.py file and add a 18n folder to put your PO files. Regards, Josef ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: localhost:8080 not found on windows
Hi Michael, michael nt milne wrote: Thanks for the help here. I'm calling in a support engineer to try and get it up and running. Firewall, router issues involved. Strange though that localhost doesn't work. Because that wouldn't go through the firewall/router. I despise ISA Server with a passion - have just spent a couple of hours hunting down a silly mistake in one of my rules in the 2K3 version which would have stuck out like a sore thumb in an Apache .conf file. I wouldn't make any assumptions about what it might block, up to and including localhost - it bites me time after time, and all I ever have to do is add web publishing rules, which that /should/ be simple enough. Problem is, it's all hidden in tabbed dialogues where you can't see the whole rule at once...spit I've also noticed that something shuts down pythonservice.exe program which is strange. Now that /is/ a new one on me - but would certainly explain your problem... Good luck! -- Regards, PhilK Email: [EMAIL PROTECTED] PGP Public key: http://www.xfr.co.uk Voicemail Facsimile: 07092 070518 You'll find that one part's sweet and one part's tart: say where the sweetness and the sourness start. - Tony Harrison ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] fsrecover.py won't pack
Hi Tim, Thank you for your response. fsrefs.py raised the same error I reported earlier about unpickling. I ended up: 1) Creating a new instance_home using zope-2.5.0-final 2) using zopectl debug connected to the bad database, I exported all my objects. For folders that couldn't be exported, I started 'drilling down' until I found the object that was causing problems. There were about 5 such objects in my database. - Some objects (folderish) could be exported, but then would raise a POSKey error upon import, so I drilled down in those folders as well. 3) I imported each .zexp into the new database. This process was time consuming, but it appears to have recreated the ZODB in a sane state. I think it's time to look into using repozo for backups ;-) Andy On Monday 08 August 2005 05:45 pm, Tim Peters wrote: [Andy Altepeter] I ran fsrecover.py on a copy of my Data.fs. It found no errors, but then when it attempted to pack the file, it raised an unpickleable error, with this traceback: ... File /export1/Zope-2.7.5-final/lib/python/ZODB/referencesf.py, line 38, in referencesf raise ValueError, 'Error unpickling, %s' % p ValueError: Error unpickling, and the rest is presumably the pickle. I receive this same error when trying to pack using the ZMI. Any idea what's going on? It suggests data corruption in your Data.fs file (assuming you're using FileStorage). Please read this for background info: http://zope.org/Wikis/ZODB/FileStorageBackup Because fsrecover.py completed without error, best guess is that fstest.py (described in the link above) would also complete without error. However, neither of those can detect higher-level corruption inside serialized object state (see the link for more words). Running fsrefs.py (see the link again) can identify most such corruption. So run it and see what it says. There is no wholly safe and automatic way to recover from frsrefs.py-level corruption (short of reverting to a good backup), so don't expect this to go easily. Note that better versions of these tools exist in more recent versions of ZODB (IIRC, you said you were running Zope-2.7.2, which corresponds to ZODB 3.2.3 -- ZODB 3.2.9 is the current production 3.2 release). ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Changing Properties With ZPT
Thanks for the reply, Andreas. Actually, I probably didn't properly explain my question. I do realize that the template is an object and that all I need to do is access the template's API to modify it's properties (though, I admit I'm a newbie here). My problem is that the only way I can find to access the template object is through ZPT's built-in variable 'template'. Since I'd like to change the property, it seems like I'll need to use a python line that uses the template's manage_changeProperties() method. I'm just not sure what the python equivalent of the ZPT 'template' variable is. An example is probably in order. Take the following code: div tal:content=template/titleTITLE HERE/div div tal:content=python:context.titleTITLE HERE/div The first line does what I'd like it to do, it returns the 'title' property of the template. The second line doesn't. It returns the 'title' property of the template's container. How do I make the second line do the same thing as the first line. If someone can give me that, I'll know how to do the rest. Thanks for the On Wed, 2005-08-10 at 09:00 +0200, Andreas Jung wrote: --On 9. August 2005 21:37:11 -0400 Dyyryath [EMAIL PROTECTED] wrote: I'm trying to figure out how I can change the properties of a template with ZPT. For example, let's say I've got a Page Template with a property called 'name' and I want to change it in response to something in the HTTP request: div tal:condition=python:'name' in context.REQUEST SOME CODE TO CHANGE THE PROPERTY TO EQUAL context.REQUEST['name'] /div I haven't seen anyway to do this with ZPT so I'm assuming that I'll need to use a python script of some sort, but I'm not sure how to access the template's properties without hardcoding the template's name. Your question indicates that you have not understand yet that everything in Zope is an object with a unique API. Objects can be modified by calling their API from within ZPT, PythonScripts, external methods, product code or from wherever as long as the Zope security allows it. This means it makes no difference to modify an object from a PythonScript or from a ZPT *as long* as you know its API. What you want is provided by the PropertyManager API (see Zope Book Appendix B - PropertyManager). -aj ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: localhost:8080 not found on windows
Hi I've even tried using the machine's local IP but that doesn't work in the same way that localhost doesn't. I've installed Apache now as well so as to route requests through that to Zope. I'm going to be using the same IP address that the webmail exchange service uses. It uses mail.sbcscot.com so I guess if I have http://plone.sbcscot.com then I could tell Apache to route that to Zope? How would I tell IIS or ISA not to listen to that domain? Meanwhile I noticed on installing Apache that it failed to bind to port 80!On 8/10/05, Philip Kilner [EMAIL PROTECTED] wrote: Hi Michael,michael nt milne wrote: Thanks for the help here. I'm calling in a support engineer to try and get it up and running. Firewall, router issues involved. Strange though that localhost doesn't work. Because that wouldn't go through the firewall/router.I despise ISA Server with a passion - have just spent a couple of hourshunting down a silly mistake in one of my rules in the 2K3 version whichwould have stuck out like a sore thumb in an Apache .conf file. I wouldn't make any assumptions about what it might block, up to andincluding localhost - it bites me time after time, and all I ever haveto do is add web publishing rules, which that /should/ be simple enough. Problem is, it's all hidden in tabbed dialogues where you can't see thewhole rule at once...spit I've also noticed that something shuts down pythonservice.exe program which is strange. Now that /is/ a new one on me - but would certainly explain your problem...Good luck!--Regards,PhilKEmail: [EMAIL PROTECTED]PGP Public key: http://www.xfr.co.ukVoicemail Facsimile: 07092 070518You'll find that one part's sweet and one part's tart:say where the sweetness and the sourness start. - Tony Harrison ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Zope service being shut down automatically on Windows
Does anyone have experience of their Zope/Plone instance being closed down mysteriously on windows XP or other windows platforms. A microsoft demon? I keep having to re-start it. Michael ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Changing Properties With ZPT
Am Mittwoch, 10. August 2005 16:31 schrieb Dyyryath: An example is probably in order. Take the following code: div tal:content=template/titleTITLE HERE/div div tal:content=python:context.titleTITLE HERE/div why not using the same name in the python expression? :-) div tal:content=python: template.titleTITLE HERE/div just beware that the path expression template/title might do some magic for you, like calling a method, or accessing a dictionary etc. if in doubt, you can always do div tal:content=python: path('template/title')TITLE HERE/div cheers, sascha ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: localhost:8080 not found on windows
Hi Michael, michael nt milne wrote: I've even tried using the machine's local IP but that doesn't work in the same way that localhost doesn't. I've installed Apache now as well so as to route requests through that to Zope. I'm going to be using the same IP address that the webmail exchange service uses. It uses mail.sbcscot.com http://mail.sbcscot.com so I guess if I have http://plone.sbcscot.com then I could tell Apache to route that to Zope? How would I tell IIS or ISA not to listen to that domain? Meanwhile I noticed on installing Apache that it failed to bind to port 80! Well, you /can't/ tell IIS not to listen on that domain - it listens at a port on an IP. The host header translation for virtual hosting can only happen if it can field the request in the first place (e.g. if there are no clashes at that port/IP). If you have a single interface, you are stuck using non-standard ports to avoid clashes. Apache will not bind to port 80 either because you have http://mail.sbcscot.com bound to the same port IP, or because of the socket pooling nonsense if you have a separate IP. I would not touch ISA with a barge-pole if I had a choice - but assuming you are on SBS and are/could be behind a separate firewall, I would: - - Leave Zope/Plone on 8080 - Change the port for webmail (and any other IIS stuff) to a different high port (e.g. 9080?), so it is no longer clashing with Apache. - Disable socket pooling. spit! - Run Apache on port 80 - Use virtual hosts with rewrite rules in the Apache .conf to pass requests to your Zope and Webmail sites. You could probably do something similar with ISA server (I do, but not on the same box as IIS and Zope/Plone), but I'd rather not even think about that... -- Regards, PhilK Email: [EMAIL PROTECTED] PGP Public key: http://www.xfr.co.uk Voicemail Facsimile: 07092 070518 You'll find that one part's sweet and one part's tart: say where the sweetness and the sourness start. - Tony Harrison ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Database Connections
Has anyone had problems with Zope hanging on to database connections? I am using MySQL with Zope and when I last checked there were 25 connections (both active and sleeping connections included). I only have 5 Zope database objects so I don't know how so many connections were created. Any help would be greatly appreciated. Thanks. - Asad ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] BTree Folders questions
How many objects should one have in a single folder to consider using BTree Folder over the regular Folder? Does it make sense to use a BTree folder for 100 - 500 objects or should it be reserved for situations where there are say 1000 + objects or more. Are there any benefits to be gained at the lower end as well or are there drawbacks? On another note, why do CMFBTree folders not appear in CMF? Is this the way they are supposed to work? If so, what differentiates them from a BTreeFolder2 if they are not a type visible to CMF? Many thanks. Regards, David ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Database Connections
There is probably a (real) RDB connection per Zope thread times the number of database connection objects that are in use in your ZODB. Or something equally baffling. ;-) - C On Wed, 2005-08-10 at 16:41 -0400, Asad Habib wrote: Has anyone had problems with Zope hanging on to database connections? I am using MySQL with Zope and when I last checked there were 25 connections (both active and sleeping connections included). I only have 5 Zope database objects so I don't know how so many connections were created. Any help would be greatly appreciated. Thanks. - Asad ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] funny-looking events in the event.log
Just found these in the event log of a relatively low-traffic Zope 2.7.4 instance. Does this just seem like a local network connectivity issue or should I be concerned? (If yes, any advice where to begin diagnosing this kind of a report?) Thanks, Jim 2005-06-08T11:32:55 ERROR(200) ZServer uncaptured python exception, closing chan nel ZServer.HTTPServer.zhttp_channel connected 66.240.66.2:4869 at 0x42d2f66c c hannel#: 566 requests: (socket.error:(110, 'Connection timed out') [/usr/local/ Python-2.3.5/lib/python2.3/asynchat.py|handle_read|88] [/home/zope/Zope-2.7.4-0/ lib/python/ZServer/medusa/http_server.py|recv|423] [/usr/local/Python-2.3.5/lib/ python2.3/asyncore.py|recv|356]) -- 2005-06-10T14:14:32 ERROR(200) ZServer uncaptured python exception, closing chan nel ZServer.HTTPServer.zhttp_channel connected 66.240.66.2:4426 at 0x410ddb2c c hannel#: 635 requests: (socket.error:(110, 'Connection timed out') [/usr/local/ Python-2.3.5/lib/python2.3/asynchat.py|handle_read|88] [/home/zope/Zope-2.7.4-0/ lib/python/ZServer/medusa/http_server.py|recv|423] [/usr/local/Python-2.3.5/lib/ python2.3/asyncore.py|recv|356]) -- 2005-06-13T11:53:21 ERROR(200) ZServer uncaptured python exception, closing chan nel ZServer.HTTPServer.zhttp_channel connected 66.240.66.2:1967 at 0x410ecd4c c hannel#: 639 requests: (socket.error:(110, 'Connection timed out') [/usr/local/ Python-2.3.5/lib/python2.3/asynchat.py|handle_read|88] [/home/zope/Zope-2.7.4-0/ lib/python/ZServer/medusa/http_server.py|recv|423] [/usr/local/Python-2.3.5/lib/ python2.3/asyncore.py|recv|356]) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] funny-looking events in the event.log
This typically is indicative of a user pressing their stop button on a page before it has been fully downloaded. I really should take time out to figure out how to prevent it from logging this scary message, but in the meantime it's assumed to be harmless. - C On Wed, 2005-08-10 at 17:38 -0400, Jim Abramson wrote: Just found these in the event log of a relatively low-traffic Zope 2.7.4 instance. Does this just seem like a local network connectivity issue or should I be concerned? (If yes, any advice where to begin diagnosing this kind of a report?) Thanks, Jim 2005-06-08T11:32:55 ERROR(200) ZServer uncaptured python exception, closing chan nel ZServer.HTTPServer.zhttp_channel connected 66.240.66.2:4869 at 0x42d2f66c c hannel#: 566 requests: (socket.error:(110, 'Connection timed out') [/usr/local/ Python-2.3.5/lib/python2.3/asynchat.py|handle_read|88] [/home/zope/Zope-2.7.4-0/ lib/python/ZServer/medusa/http_server.py|recv|423] [/usr/local/Python-2.3.5/lib/ python2.3/asyncore.py|recv|356]) -- 2005-06-10T14:14:32 ERROR(200) ZServer uncaptured python exception, closing chan nel ZServer.HTTPServer.zhttp_channel connected 66.240.66.2:4426 at 0x410ddb2c c hannel#: 635 requests: (socket.error:(110, 'Connection timed out') [/usr/local/ Python-2.3.5/lib/python2.3/asynchat.py|handle_read|88] [/home/zope/Zope-2.7.4-0/ lib/python/ZServer/medusa/http_server.py|recv|423] [/usr/local/Python-2.3.5/lib/ python2.3/asyncore.py|recv|356]) -- 2005-06-13T11:53:21 ERROR(200) ZServer uncaptured python exception, closing chan nel ZServer.HTTPServer.zhttp_channel connected 66.240.66.2:1967 at 0x410ecd4c c hannel#: 639 requests: (socket.error:(110, 'Connection timed out') [/usr/local/ Python-2.3.5/lib/python2.3/asynchat.py|handle_read|88] [/home/zope/Zope-2.7.4-0/ lib/python/ZServer/medusa/http_server.py|recv|423] [/usr/local/Python-2.3.5/lib/ python2.3/asyncore.py|recv|356]) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZDatabaseTool - does this still exist?
michael nt milne wrote at 2005-8-8 17:49 +0100: ... Are there any other database manager tools for the ZODB? To do what? There is a Database Manager in the Control_Panel -- but (of course), the ZODB is very easy to manage. That's why the Manager is so simple... -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] howto i18n?
Vlada Macek wrote at 2005-8-10 12:58 +0200: for now I use the Zope 2.7.5 tarball. I write freelance (not bound in a product) page template and wish it to be i18n'ed. I have appropriate tags inside and the domain set at the top. There is also Plone with its products in that instance. Where should I put the PO files, so the messages can be substituted? Read the i18n HowTo on plone.org. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] bad ZCatalog behavior
Andy Altepeter wrote at 2005-8-8 08:15 -0500: There seems to be a problem with my ZCatalog, and it seems to be getting worse as time goes by. ... Module ZODB.Connection, line 562, in setstate Module ZODB.Connection, line 601, in _set_ghost_state AttributeError: 'str' object has no attribute 'append' In fact, this looks like a broken pickle in your ZODB storage (and not like a ZCatalog problem). -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] REStructuredText and Title
Justin Fletcher wrote at 2005-8-7 13:47 -0500: I am adding ReStructuredText documents through the ZMI and I noticed that I am unable to set the 'Title' attribute. Am I missing something? You miss that you must provide complete problem reports: What does unable to set 'Title' attribute mean? What is the 'Title' attribute? What happens when you try (exception? then we need the traceback!) When adding a document the 'ID' also shows up in the 'Title' section, and I can't find a way through the interface to change the 'Title'. What is the 'Title' section? Do you mean the HTML title element? -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZODB BTrees File Storage error on start up
David Pratt wrote at 2005-8-8 11:11 -0300: I just began receiving this error this morning in one of my event logs on start up. It looks serious. 2005-08-08T08:49:26 WARNING ZODB.FileStorage Failed to load database index: exceptions.AttributeError: type object 'BTrees._fsBTree.fsBTree' has no attribute '__basicnew__' Can someone advise a course of action and what may have happened to generate such an error. I use CMFBTreeFolders extensively in CMF. Many thanks. Mysterious: BTrees._fsBTree.fsBTree should have a '__basicnew__' attribute (like all 'ExtensionClass'es). Try to import fsBTree in an interactive Python interpreter and check it. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] BTree Folders questions
On 10 Aug 2005, at 21:57, David Pratt wrote: How many objects should one have in a single folder to consider using BTree Folder over the regular Folder? Does it make sense to use a BTree folder for 100 - 500 objects or should it be reserved for situations where there are say 1000 + objects or more. Are there any benefits to be gained at the lower end as well or are there drawbacks? I would use them with 100 and more items. On another note, why do CMFBTree folders not appear in CMF? Is this the way they are supposed to work? If so, what differentiates them from a BTreeFolder2 if they are not a type visible to CMF? Do you have the BTreeFolder2 product installed? Only then can you instantiate and use the CMFBtreeFolder type in the types tool. jens ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] BTree Folders questions
Hi Jens. Thank you for your advice. I am planning on contents of folders to be no more than 2000 items maximum and using CMFBTreeFolders for larger folders consistent with your recommendations. I am using CMF 1.5.2 and Zope 2.8.0 - will upgrading again this week to 1.5.3 and 2.8.1 I removed my BTreeFolder2 product as it was indicating it was duplicated product in my event log after my recent upgrade - so it appears to have become part of the distribution. I did not really understand the difference between a BTreeFolder2 and a CMFBTreeFolder since CMFBTreeFolder did not appear as content even though it is displayed as an option in Core Content in ZMI. So my content was appearing on the web but not visible in the portal as a folder. I guess I am wondering why isn't it ready to go by default as a core type in CMFDefault. It appears everything is there except registering in types tool. My opinion is it would be really great if it were included as a core type (in the sense it is ready to go as the other types are). It could also remove confusion in ZMI that Core Content will produce content that is immediately recognized by the portal. Many thanks. Regards, David On Wednesday, August 10, 2005, at 07:38 PM, Jens Vagelpohl wrote: On 10 Aug 2005, at 21:57, David Pratt wrote: How many objects should one have in a single folder to consider using BTree Folder over the regular Folder? Does it make sense to use a BTree folder for 100 - 500 objects or should it be reserved for situations where there are say 1000 + objects or more. Are there any benefits to be gained at the lower end as well or are there drawbacks? I would use them with 100 and more items. On another note, why do CMFBTree folders not appear in CMF? Is this the way they are supposed to work? If so, what differentiates them from a BTreeFolder2 if they are not a type visible to CMF? Do you have the BTreeFolder2 product installed? Only then can you instantiate and use the CMFBtreeFolder type in the types tool. jens ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] ZODB BTrees File Storage error on start up
Hi Dieter. It is rather strange for sure. The warning has appeared over the past couple of days. First day I removed what I thought might be a bad CMFBTree folder since it was last thing I remember working with from previous night to do with BTrees. Then it appeared again - first restart of the day - it never appeared again that day even after a number of restarts. Received the error again this morning - first restart of day. This time cleared the Data.fs.index and restarted. Again it did not appear again all day after a number of restarts. It almost makes me wonder if it is somehow related to automated backup since it appears consistently on the first restart of the day. Can this make any sense? Like the index is getting corrupted from backup. The only other thing that I can think of at the moment is that I had some nested CMFBTreeFolders that were not registered properly registered in the types tool yet inside a CMFSite instance. These were added programmatically with manage_add. I don't know if this could result in this error. In any case, I am resolving the types tool registration issue tonight and will see what happens tomorrow am. I am restarting this zope several times a day since I am developing on it. I have been adding and removing many BTree folders since I am in process of building a product that will use these quite a bit. I have been running tests then removing CMFBTreeFolders, updating product, restarting, rerunning with changes, etc In any case I will examine fsBtree as you have suggested if I see warning again tomorrow in my log. This is a relatively new CMF1.5.2 and Zope2.8.0 instance and the only server I have this combination on at the moment. Regards, David On Wednesday, August 10, 2005, at 06:37 PM, Dieter Maurer wrote: David Pratt wrote at 2005-8-8 11:11 -0300: I just began receiving this error this morning in one of my event logs on start up. It looks serious. 2005-08-08T08:49:26 WARNING ZODB.FileStorage Failed to load database index: exceptions.AttributeError: type object 'BTrees._fsBTree.fsBTree' has no attribute '__basicnew__' Can someone advise a course of action and what may have happened to generate such an error. I use CMFBTreeFolders extensively in CMF. Many thanks. Mysterious: BTrees._fsBTree.fsBTree should have a '__basicnew__' attribute (like all 'ExtensionClass'es). Try to import fsBTree in an interactive Python interpreter and check it. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] [ANN] Zope 2.8.1 final released
Hi all, on behalf of Zope Corporation and the Zope community I am pleased to announce the release of Zope 2.8.1. You can download Zope 2.8.1 from http://www.zope.org/Products/Zope/2.8.1/ Some new features of Zope 2.8: - ZODB 3.4 with MVCC (multi version concurrency control) support. MVCC solves nearly every problem with ZODB read-conflict errors which is very important for high-traffic Zope sites. - Extension Classes were rewritten as Python new-style classes making all features of Python new-style classes available in Zope objects. This includes support for cyclic garbage collection. - Integration of Zope 3 technologies through Five (see http://codespeak.net/z3/five/) For more information on what is new in this release, see the CHANGES.txt files for the release: http://www.zope.org/Products/Zope/2.8.1/CHANGES.txt See also: http://www.zope.org/Wikis/DevSite/Projects/Zope2.8/OverView Please bring all the bugs you have found to the Zope bugtracker: http://collector.zope.org/Zope:http://collector.zope.org/Zope For more information on the available Zope releases, guidance for selecting the right distribution and installation instructions, please see: http://www.plope.com/Books/2_7Edition/InstallingZope.stx Please also keep in mind that Zope 2.8.1 requires Python 2.3.5. Zope 2.8.1 is not certified for any Python 2.4.x versions. So using Python 2.4 is neither recommended nor supported and any related questions or problems are likely to be ignored until 2.4 is an officially support Python version for Zope. -- Andreas Jung(andreas at zopyx dot com) pgp3pckGtpUNI.pgp Description: PGP signature ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )