[Zope] Serious problem with PlacelessTranslationService

Peter Bengtsson mail at peterbe.com
Tue Jun 8 06:39:32 EDT 2004


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/HowToInstallAndUsePlacelessTranslationService 
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



More information about the Zope mailing list