On Thu, 09 Feb 2006 11:08:16 +0200, Lauri Virtanen wrote:
> When I select "Add new event" I still get: 
> 
>    UnicodeDecodeError
>    'utf8' codec can't decode bytes in posititon 1-3: invalid data 

events_log attached in https://dev.plone.org/plone/ticket/5158

This may be related to the fact that I used to have PloneChat and
CMFCollector installed in some older version (before migrations). 
In evens_log there are lines: 

------
2006-02-09T11:40:53 ERROR(200) Types Tool _queryFactoryMethod raised an 
exception
Traceback (most recent call last):
  File "/Applications/Plone2/Sites/intra/Products/CMFCore/TypesTool.py", line 
518, in _queryFactoryMethod
    p = dispatcher[self.product]
  File 
"/Applications/Plone2/Library/Software/Zope278/Zope/lib/python/App/FactoryDispatcher.py",
 line 26, in __getitem__
    return self.__bobo_traverse__(None, name)
  File 
"/Applications/Plone2/Library/Software/Zope278/Zope/lib/python/App/FactoryDispatcher.py",
 line 29, in __bobo_traverse__
    product=self.aq_acquire('_getProducts')()._product(name)
  File 
"/Applications/Plone2/Library/Software/Zope278/Zope/lib/python/App/Product.py", 
line 67, in _product
    def _product(self, name): return getattr(self, name)
AttributeError: CMFCollector

------ clip ------

2006-02-09T11:40:53 ERROR(200) Types Tool _queryFactoryMethod raised an 
exception
Traceback (most recent call last):
  File "/Applications/Plone2/Sites/intra/Products/CMFCore/TypesTool.py", line 
518, in _queryFactoryMethod
    p = dispatcher[self.product]
  File 
"/Applications/Plone2/Library/Software/Zope278/Zope/lib/python/App/FactoryDispatcher.py",
 line 26, in __getitem__
    return self.__bobo_traverse__(None, name)
  File 
"/Applications/Plone2/Library/Software/Zope278/Zope/lib/python/App/FactoryDispatcher.py",
 line 29, in __bobo_traverse__
    product=self.aq_acquire('_getProducts')()._product(name)
  File 
"/Applications/Plone2/Library/Software/Zope278/Zope/lib/python/App/Product.py", 
line 67, in _product
    def _product(self, name): return getattr(self, name)
AttributeError: PloneChat
------ clip ------

Lots of lines like this: 

  File 
"/Applications/Plone2/Library/Software/Zope278/Zope/lib/python/TAL/TALInterpreter.py",
 line 234, in interpret
    handlers[opcode](self, args)
  File 
"/Applications/Plone2/Library/Software/Zope278/Zope/lib/python/TAL/TALInterpreter.py",
 line 637, in do_condition
    self.interpret(block)
  File 
"/Applications/Plone2/Library/Software/Zope278/Zope/lib/python/TAL/TALInterpreter.py",
 line 234, in interpret
    handlers[opcode](self, args)

---- clip ----

  File 
"/Applications/Plone2/Library/Software/Zope278/Zope/lib/python/Products/PageTemplates/TALES.py",
 line 221, in evaluate
    return expression(self)
  File 
"/Applications/Plone2/Library/Software/Zope278/Zope/lib/python/Products/PageTemplates/ZRPythonExpr.py",
 line 47, in __call__
    return eval(code, g, {})
  File "Python expression "here.translate(vocab.getMsgId(item), 
default=vocab.getValue(item))"", line 1, in <expression>
  File "/Applications/Plone2/Sites/intra/Products/CMFCore/FSPythonScript.py", 
line 108, in __call__
    return Script.__call__(self, *args, **kw)
  File 
"/Applications/Plone2/Library/Software/Zope278/Zope/lib/python/Shared/DC/Scripts/Bindings.py",
 line 306, in __call__
    return self._bindAndExec(args, kw, None)
  File 
"/Applications/Plone2/Library/Software/Zope278/Zope/lib/python/Shared/DC/Scripts/Bindings.py",
 line 343, in _bindAndExec
    return self._exec(bound_data, args, kw)
  File "/Applications/Plone2/Sites/intra/Products/CMFCore/FSPythonScript.py", 
line 163, in _exec
    result = f(*args, **kw)
  File "Script (Python)", line 21, in translate
  File 
"/Applications/Plone2/Sites/intra/Products/CMFPlone/TranslationServiceTool.py", 
line 44, in encode
    m = unicode(str(m), input_encoding, errors)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 1-3:
invalid data



_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to