#39 — AttributeError: TranslationService => Can't start my instance

by Florent MICHON last modified Dec 17, 2009 11:33 AM
State Unconfirmed
Version: 2.8.0b1
Area Process
Issue type Bug
Severity Medium
Submitted by Florent MICHON
Submitted on Sep 10, 2009
Responsible
Target release:
This error is due to this line in iw/fss/__init__.py :
context._ProductContext__app.Control_Panel.TranslationService._load_i18n_dir(i18n_dir)

It appears when i do my first bin/instance fg of a fresh buildout Plone-3.3 configured with iw.recipe.fss and with the egg iw.fss==2.8.0b1. (if you want you can find the buildout i'm using here : http://svn.plone.org/svn/collective/album/trunk/)

It appears only if you never have started your instance before.

I've tried a new fresh buildout Plone-3.3 from paster with only one of my package with the same hook for i18n context._ProductContext__app.Control_Panel.TranslationService._load_i18n_dir(i18n_dir)
 and the result is the same => AttributeError: TranslationService.

May be you can remove this hook in the 2.8.0b2, the unic translation is not really necessary ;)
Added by Noe Nieto on Oct 19, 2009 07:46 PM
We were having the same problems with Plone 3.3 and iw.fss 2.6.7.

atreal.patchfss might be able to solve the problem.

http://pypi.python.org/pypi/atreal.patchfss/1.0.0
Added by Florent MICHON on Dec 17, 2009 11:33 AM
atreal.patchfss was just a "dirty patch" (i made it... the code is not dirty, but the idea of a package to patch the initialize of another package...) to deploy easily and quickly a buildout. It was an emergency case. This package is totally useless since iw.fss 2.8.0rc1.

This issue can be resolved with the target release 2.8.0rc1;)

No responses can be added.