[Zope] Serious problem with PlacelessTranslationService

Jean-Francois.Doyon at CCRS.NRCan.gc.ca Jean-Francois.Doyon at CCRS.NRCan.gc.ca
Tue Jun 8 08:43:35 EDT 2004


Well those log messages at least are perfectly normal.

The "home" for the PTS is at http://sf.net/projects/collective.

I understand the best place to get support for it is from the Plone
community ...

I don't compile my PO files into anything and it works just fine, so
you can leave them as is.

As for the error itself, I don't know ... I would've expected PTS to
require Zope 2.7/Python 2.3 though (Since it's a backport
from Zope 3) ... Might that be it?

J.F.

-----Original Message-----
From: zope-bounces at zope.org [mailto:zope-bounces at zope.org]On Behalf Of
Peter Bengtsson
Sent: June 8, 2004 6:40 AM
To: ZOPE.org
Subject: [Zope] Serious problem with PlacelessTranslationService


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
ervice 
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

_______________________________________________
Zope maillist  -  Zope at 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 )



More information about the Zope mailing list