The latest ZWiki requires PlacelessTranslationService so I installed the latest version (1.0fork-rc7). When I start my Zope (2.6.1) I get these messages:: 2004-06-08T11:24:32 INFO(0) PlacelessTranslationService Applying patch *** Patching ZPublisher.Publish with the get_request patch! ***------ 2004-06-08T11:24:56 INFO(0) PlacelessTranslationService Initialized: ['en.po', 'es.po', 'ga.po', 'fr.po', 'it.po', 'pt-BR.po', 'zh-CN.po', 'zh-TW.po', 'fr-CA.po'] from /home/peterbe/zope261/lib/python/Products/ZWiki/i18n ------ When I try to create a ZWiki I get this error:: Error Type: RuntimeError Error Value: Shouldn't load state for '\x00\x00\x00\x00\x00\x00R\x96' when the connection is closed With this traceback:: Traceback (innermost last): * Module ZPublisher.Publish, line 98, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 39, in call_object * Module Shared.DC.Scripts.Bindings, line 252, in __call__ * Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec * Module App.special_dtml, line 174, in _exec * Module Products.PlacelessTranslationService.TranslateTags, line 68, in render __traceback_info__: translate * Module Products.PlacelessTranslationService, line 74, in translate * Module ZODB.Connection, line 505, in setstate RuntimeError: Shouldn't load state for '\x00\x00\x00\x00\x00\x00R\x96' when the connection is closed I read on http://plone.org/documentation/howto/HowToInstallAndUsePlacelessTranslationS... that I have to compile the .po files with something called 'msgfmt'. I don't have that on any of my linux machines, nor cygwin nor win XP. On my Debian, it doesn't even find a package called 'msgfmt'. Any ideas anyone? [By the way, does PlacelessTranslationService have a homepage? Can't even figure out from where I got this release] -- Peter Bengtsson, http://www.peterbe.com
Peter Bengtsson wrote:
The latest ZWiki requires PlacelessTranslationService so I installed the latest version (1.0fork-rc7). When I start my Zope (2.6.1) I get these messages::
Any ideas anyone?
I believe this is connected with bugs in the Session machinery. I think they are solved in cvs. -- hilsen/regards Max M, Denmark http://www.mxm.dk/ IT's Mad Science
Peter Bengtsson wrote at 2004-6-8 11:39 +0100:
The latest ZWiki requires PlacelessTranslationService so I installed the latest version (1.0fork-rc7). When I start my Zope (2.6.1) I get these messages:: ... When I try to create a ZWiki I get this error::
Error Type: RuntimeError Error Value: Shouldn't load state for '\x00\x00\x00\x00\x00\x00R\x96' when the connection is closed
This indicates a persistency bug... "PlacelessTranslationService" tries to access a persistent object that belongs to a closed ZODB connection. This happens when persistent objects are stored in global variables (e.g. caches) or class attributes (or are (maybe indirectly) referenced from such objects). -- Dieter
participants (3)
-
Dieter Maurer -
Max M -
Peter Bengtsson