ä ö ü in title

6 messages Options
Embed this post
Permalink
daniel_fab

ä ö ü in title

Reply Threaded More More options
Print post
Permalink
Hi folks. I need HELP! I using plone 3.1.2. I defined a rule to get informed by mail when an article is "submitted". That works fine. But when the title contains ä, ö, ü or ß an error occures. I tried with ö etc. but that doesn't work in title. Any other idea how to cope with this problem?

many thx!
daniel
Karl Johan Kleist

Re: ä ö ü in title

Reply Threaded More More options
Print post
Permalink

Daniel,

If you told more about the error, maybe somebody could assist...

daniel_fab wrote:
Hi folks. I need HELP! I using plone 3.1.2. I defined a rule to get informed by mail when an article is "submitted". That works fine. But when the title contains ä, ö, ü or ß an error occures. I tried with ö etc. but that doesn't work in title. Any other idea how to cope with this problem?

many thx!
daniel
Mikko Ohtamaa

Re: ä ö ü in title

Reply Threaded More More options
Print post
Permalink
In reply to this post by daniel_fab

daniel_fab wrote:
Hi folks. I need HELP! I using plone 3.1.2. I defined a rule to get informed by mail when an article is "submitted". That works fine. But when the title contains ä, ö, ü or ß an error occures. I tried with ö etc. but that doesn't work in title. Any other idea how to cope with this problem?
To help, we usually need full error message and traceback from Plone logs.

This article contains some information how to provide the traceback:

http://plone.org/documentation/how-to/diagnosing-third-party-product-installation-problems/

Skip to the part finding a log file.
daniel_fab

Re: ä ö ü in title

Reply Threaded More More options
Print post
Permalink
In reply to this post by daniel_fab
Sorry, here some more information about my problem:

the rule works fine when the title of the article does NOT contain any "äöüß". Otherwise I got the following error-message:

Exception traceback

Time 2009/10/19 09:21:41.657 GMT+2
User Name (User Id) admin (admin)
Request URL http://87.98.149.5/rwn/news/test/content_status_modify
Exception Type UnicodeDecodeError
Exception Value 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)

Traceback (innermost last):

    * Module ZPublisher.Publish, line 119, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 42, in call_object
    * Module Products.CMFFormController.FSControllerPythonScript, line 104, in __call__
    * Module Products.CMFFormController.Script, line 145, in __call__
    * Module Products.CMFCore.FSPythonScript, line 140, in __call__
    * Module Shared.DC.Scripts.Bindings, line 313, in __call__
    * Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
    * Module Products.CMFCore.FSPythonScript, line 196, in _exec
    * Module None, line 42, in content_status_modify
      <FSControllerPythonScript at /rwn/content_status_modify used for /rwn/news/test>
      Line 42
    * Module Products.CMFCore.WorkflowTool, line 245, in doActionFor
    * Module Products.CMFCore.WorkflowTool, line 573, in _invokeWithNotification
    * Module zope.event, line 23, in notify
    * Module zope.component.event, line 26, in dispatch
    * Module zope.component._api, line 130, in subscribers
    * Module zope.component.registry, line 290, in subscribers
    * Module zope.interface.adapter, line 535, in subscribers
    * Module plone.app.contentrules.handlers, line 184, in workflow_action
    * Module plone.app.contentrules.handlers, line 89, in execute
    * Module plone.contentrules.engine.executor, line 27, in __call__
    * Module plone.contentrules.rule.rule, line 48, in __call__
    * Module plone.app.contentrules.actions.mail, line 94, in __call__

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)

Display traceback as text

REQUEST
form
workflow_action 'publish'
cookies
__ac 'NjE2NDZkNjk2ZTo3MzZmNzI2NTZlMzIzMDMwMzE2MQ%3D%3D'
lazy items
SESSION <bound method SessionDataManager.getSessionData of <SessionDataManager at /session_data_manager>>
other
URL4 'http://87.98.149.5'
__ac 'NjE2NDZkNjk2ZTo3MzZmNzI2NTZlMzIzMDMwMzE2MQ%3D%3D'
URL3 'http://87.98.149.5/rwn'
URL2 'http://87.98.149.5/rwn/news'
AUTHENTICATION_PATH ''
LANGUAGE 'de-de'
AUTHENTICATED_USER <PropertiedUser 'admin'>
SERVER_URL 'http://87.98.149.5'
traverse_subpath []
ACTUAL_URL 'http://87.98.149.5/rwn/news/test/content_status_modify'
URL 'http://87.98.149.5/rwn/news/test/content_status_modify'
PUBLISHED <FSControllerPythonScript at /rwn/content_status_modify used for /rwn/news/test>
workflow_action 'publish'
controller_state <Products.CMFFormController.ControllerState.ControllerState object at 0xb0ce06cc>
TraversalRequestNameStack []
LANGUAGE_TOOL <Products.PloneLanguageTool.LanguageTool.LanguageBinding instance at 0xb0bc2c8c>
BASE1 'http://87.98.149.5'
BASE2 'http://87.98.149.5/rwn'
BASE3 'http://87.98.149.5/rwn/news'
BASE4 'http://87.98.149.5/rwn/news/test'
BASE5 'http://87.98.149.5/rwn/news/test/content_status_modify'
URL1 'http://87.98.149.5/rwn/news/test'
URL0 http://87.98.149.5/rwn/news/test/content_status_modify
URL1 http://87.98.149.5/rwn/news/test
URL2 http://87.98.149.5/rwn/news
URL3 http://87.98.149.5/rwn
URL4 http://87.98.149.5
BASE0 http://87.98.149.5
BASE1 http://87.98.149.5
BASE2 http://87.98.149.5/rwn
BASE3 http://87.98.149.5/rwn/news
BASE4 http://87.98.149.5/rwn/news/test
BASE5 http://87.98.149.5/rwn/news/test/content_status_modify
environ
HTTP_COOKIE '__ac="NjE2NDZkNjk2ZTo3MzZmNzI2NTZlMzIzMDMwMzE2MQ%3D%3D"'
SERVER_SOFTWARE 'Zope/(Zope 2.10.6-final, python 2.4.4, linux2) ZServer/1.1 Plone/3.1.2'
SCRIPT_NAME ''
REQUEST_METHOD 'GET'
HTTP_KEEP_ALIVE '300'
SERVER_PROTOCOL 'HTTP/1.1'
QUERY_STRING 'workflow_action=publish'
channel.creation_time 1255936751
CONNECTION_TYPE 'keep-alive'
HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
HTTP_USER_AGENT 'Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)'
HTTP_REFERER 'http://87.98.149.5/rwn/news/test'
SERVER_NAME '0.0.0.0'
REMOTE_ADDR '91.32.183.134'
PATH_TRANSLATED '/rwn/news/test/content_status_modify'
SERVER_PORT '80'
HTTP_HOST '87.98.149.5'
HTTP_ACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_ACCEPT_LANGUAGE 'de-de,de;q=0.8,en-us;q=0.5,en;q=0.3'
HTTP_ACCEPT_ENCODING 'gzip,deflate'
PATH_INFO '/rwn/news/test/content_status_modify'





daniel_fab wrote:
Hi folks. I need HELP! I using plone 3.1.2. I defined a rule to get informed by mail when an article is "submitted". That works fine. But when the title contains ä, ö, ü or ß an error occures. I tried with ö etc. but that doesn't work in title. Any other idea how to cope with this problem?

many thx!
daniel
daniel_fab

Re: ä ö ü in title

Reply Threaded More More options
Print post
Permalink
In reply to this post by Mikko Ohtamaa
:-) Hi Mikko. You are right. I just added some more information...
thx
Daniel


Mikko Ohtamaa wrote:
daniel_fab wrote:
Hi folks. I need HELP! I using plone 3.1.2. I defined a rule to get informed by mail when an article is "submitted". That works fine. But when the title contains ä, ö, ü or ß an error occures. I tried with ö etc. but that doesn't work in title. Any other idea how to cope with this problem?
To help, we usually need full error message and traceback from Plone logs.

This article contains some information how to provide the traceback:

http://plone.org/documentation/how-to/diagnosing-third-party-product-installation-problems/

Skip to the part finding a log file.
daniel_fab

Re: ä ö ü in title

Reply Threaded More More options
Print post
Permalink
In reply to this post by Karl Johan Kleist
Hi Karl Johan,

my fault... I just added some more information.

thx Daniel

Karl Johan Kleist wrote:
Daniel,

If you told more about the error, maybe somebody could assist...

daniel_fab wrote:
Hi folks. I need HELP! I using plone 3.1.2. I defined a rule to get informed by mail when an article is "submitted". That works fine. But when the title contains ä, ö, ü or ß an error occures. I tried with ö etc. but that doesn't work in title. Any other idea how to cope with this problem?

many thx!
daniel