Ticket #6065 (closed Bug: fixed)
LinguaPlone: UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
| Reported by: | grebenyuk | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 2.5.3 |
| Component: | Internationalization | Version: | |
| Keywords: | Cc: |
Description
After installing into my Plone site LinguaPlone product I get the error: Error Type
UnicodeDecodeError
Error Value
'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
I get the same problem with Plone 2.5.1
Plone version: 2.5.2-rc1 Zope version: (Zope 2.9.4-final, python 2.4.3, linux2) Apache version: CMF version (if known): CMF-1.6.2 Browser(s) and version(s): Mozilla/5.0 (Windows; U; Windows NT 5.2; ru; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1 Operating system: linux2 Python version: 2.4.3 (#2, Oct 6 2006, 15:32:41) [GCC 4.1.1 20060724 (prerelease) (4.1.1-3mdk)] Debug mode: No
Installed Products
ATContentTypes 1.1.4-final installed ATReferenceBrowserWidget 1.7 installed Archetypes 1.4.2-final installed BTreeFolder2 BTreeFolder2-1.0.2 CMFActionIcons CMF-1.6.2 installed CMFBoard 2.2.1 CMFCalendar CMF-1.6.2 installed CMFCore CMF-1.6.2 CMFDefault CMF-1.6.2 CMFDynamicViewFTI 2.1 CMFFormController 2.0.6 installed CMFMember 1.1-beta2 CMFPlacefulWorkflow 1.0.2 installed CMFPlone 2.5.2-rc1 CMFQuestionnaire 0.4.5 CMFQuestions 0.5.2 CMFQuickInstallerTool 1.5.9 installed CMFSetup CMF-1.6.2 CMFTopic CMF-1.6.2 CMFUid CMF-1.6.2 CPSSkins 2.3.3 CalendarX 0.6.6(stable) 2006-01-03 installed DCWorkflow CMF-1.6.2 DIYPloneStyle 2.1.4 Epoz 2.0.1 ExtendedPathIndex 2.4 ExternalEditor 0.9.3 ExternalMethod External Method-1-0-0 Faq Five Five 1.3.7 Formulator Formulator 1.11.1 GenericSetup GenericSetup-1.1 GroupUserFolder 3.54.1 installed I18NFolder 3.0beta8 LinguaPlone 0.9.0 - $Revision: 10093 $ installed MIMETools MailHost MailHost-1-3-0 Marshall 0.6.6-final installed MimetypesRegistry 1.4.1-final installed OFSP OFSP-1-0-0 PageTemplates PageTemplates-1-4-0 PasswordResetTool 0.4.2 installed PlacelessTranslationService 1.2.0 PloneErrorReporting 1.0 installed PloneHotFix20061031 PloneLanguageTool 1.5 installed PlonePAS 2.2 installed PloneSiteMap 2.3.1 PloneSurvey 1.0.beta PloneTestCase 0.9.0 PloneTranslations 2.6.1 PluggableAuthService PluggableAuthService-1.4.1 PluginIndexes PluginRegistry 1.1.1 PortalTransforms 1.5.0-final installed PythonScripts PythonScripts-2-0-0 RedirectionTool 1.0 ResourceRegistries 1.3.4 installed SecureMailHost 1.0.4 Sessions SiteAccess SiteAccess-2-0-0 SiteErrorLog StandardCacheManagers StandardCacheManagers-1-1-0 TemporaryFolder TextIndexNG2 2.2.0 b2 (28.02.2005) Transience UnicodeErrorDetector 1.0 VIRTSkin 1.0 ZCTextIndex ZCatalog ZCatalog-2-2-0 ZGadflyDA ZODBMountPoint ZReST 1.1 ZSQLMethods ZopeTutorial Zope Tutorial 1.2 generator 1.3.0-final17 kupu kupu 1.3.9 installed statusmessages 2.0.1 validation 1.5.0-final
Traceback Traceback (innermost last):
Module ZPublisher.Publish, line 115, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 41, in call_object Module Shared.DC.Scripts.Bindings, line 311, in call Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module Products.CMFCore.FSPageTemplate, line 195, in _exec Module Products.CMFCore.FSPageTemplate, line 134, in pt_render Module Products.PageTemplates.PageTemplate, line 104, in pt_render
- <FSPageTemplate at /virt2/document_view used for /virt2/front-page>
Module TAL.TALInterpreter, line 238, in call Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 749, in do_useMacro Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 457, in do_optTag_tal Module TAL.TALInterpreter, line 442, in do_optTag Module TAL.TALInterpreter, line 437, in no_tag Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 780, in do_defineSlot Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 457, in do_optTag_tal Module TAL.TALInterpreter, line 442, in do_optTag Module TAL.TALInterpreter, line 437, in no_tag Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 728, in do_defineMacro Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 772, in do_defineSlot Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 457, in do_optTag_tal Module TAL.TALInterpreter, line 442, in do_optTag Module TAL.TALInterpreter, line 437, in no_tag Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 728, in do_defineMacro Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 457, in do_optTag_tal Module TAL.TALInterpreter, line 442, in do_optTag Module TAL.TALInterpreter, line 437, in no_tag Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 749, in do_useMacro Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 715, in do_condition Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 457, in do_optTag_tal Module TAL.TALInterpreter, line 442, in do_optTag Module TAL.TALInterpreter, line 437, in no_tag Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 749, in do_useMacro Module TAL.TALInterpreter, line 281, in interpret Module TAL.TALInterpreter, line 507, in do_setLocal_tal Module Products.PageTemplates.TALES, line 221, in evaluate
- URL: file:LinguaPlone/skins/LinguaPlone/global_languageselector.pt
- Line 35, Column 6
- Expression: standard:'context/languageSelectorData'
- Names:
{'container': <PloneSite at /virt2>,
'context': <ATDocument at /virt2/front-page>, 'default': <Products.PageTemplates.TALES.Default instance at 0xb6e98d0c>, 'here': <ATDocument at /virt2/front-page>, 'loop': <Products.PageTemplates.TALES.SafeMapping object at 0xb2de7eac>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb6f443cc>, 'nothing': None, 'options': {'args': ()}, 'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0xb2de7eac>, 'request': <HTTPRequest, URL= http://vdll.kture.kharkov.ua:8080/virt2/front-page/document_view>, 'root': <Application at >, 'template': <FSPageTemplate at /virt2/document_view used for /virt2/front-page>, 'traverse_subpath': [], 'user': <PropertiedUser 'master'>}
Module Products.PageTemplates.Expressions, line 185, in call Module Products.PageTemplates.Expressions, line 180, in _eval Module Products.PageTemplates.Expressions, line 77, in render Module Products.PageTemplates.ZRPythonExpr, line 76, in call_with_ns Module Products.CMFCore.FSPythonScript, line 103, in render_with_namespace Module Shared.DC.Scripts.Bindings, line 325, in render_with_namespace Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module Products.CMFCore.FSPythonScript, line 164, in _exec Module None, line 16, in languageSelectorData
- <FSPythonScript at /virt2/languageSelectorData used for /virt2/front-page>
- Line 16
Module Products.CMFCore.FSPythonScript, line 108, in call Module Shared.DC.Scripts.Bindings, line 311, in call Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec Module Products.CMFCore.FSPythonScript, line 164, in _exec Module None, line 14, in translate
- <FSPythonScript at /virt2/translate used for /virt2/front-page>
- Line 14
Module Products.CMFPlone.TranslationServiceTool, line 35, in utranslate Module Products.CMFPlone.i18nl10n, line 34, in utranslate Module Products.Five.i18n, line 51, in translate Module Products.PageTemplates.GlobalTranslationService, line 32, in translate
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)

Thx for the report, the problem is fixed in current SVN and will be gone in Plone 2.5.3.