[ZCM] [ZC] 1492/ 2 Assign "Zope 2.7 doesnot serve pages to some accept-charset request headers"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Sat Sep 4 23:58:03 EDT 2004


Issue #1492 Update (Assign) "Zope 2.7 doesnot serve pages to some accept-charset request headers"
 Status Accepted, Zope/bug critical
To followup, visit:
  http://collector.zope.org/Zope/1492

==============================================================
= Assign - Entry #2 by ajung on Sep 4, 2004 11:58 pm

 Status: Pending => Accepted

 Supporters added: Tiran

I don't see the real problem at the first glance.
But since PTS is in involved I consider this a PTS problem.
@Tiran: any comments?
________________________________________
= Request - Entry #1 by Anonymous User on Sep 3, 2004 3:52 am

Dear all,

I was discover few time ago error of all Zope 2.7 servers when wieved from my nationality (cs_CZ, charsets used mainly is iso5589-1, cp1250, utf8 here). 

When I use english/us operating systems, I could view these pages correctly. Note that Zope 2.6 and below does not have any of these problems. But today I was get understable error message.

Try to look at

	http://www.tchezope.org/
	or any dzug.org page

No problem for you - it displays all, right? But :

If I use textmode browser (lynx, links, elinkx) which does not give to server my nationality (probably accept-charset in http request), pages displays good. 

When I use comfortable browsers such as Konqueror, Mozilla with Linux or MSIE6 with Windows, then I get error page or some error code.

================================================================   
Site Error


An error was encountered while publishing this resource. 


UnicodeEncodeError

 Sorry, a site error occurred.


Traceback (innermost last): 

Module ZPublisher.Publish, line 180, in publish_module_standard
 Module Products.PlacelessTranslationService.PatchStringIO, line 51, in new_publish
 Module ZPublisher.Publish, line 131, in publish
 Module Zope.App.startup, line 204, in zpublisher_exception_hook
 Module ZPublisher.Publish, line 101, in publish
 Module ZPublisher.mapply, line 88, in mapply
 Module ZPublisher.Publish, line 39, in call_object
 Module Products.CMFCore.PortalContent, line 116, in __call__
 Module Shared.DC.Scripts.Bindings, line 306, in __call__
 Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
 Module Products.CMFCore.FSPageTemplate, line 191, in _exec
 Module Products.CMFCore.FSPageTemplate, line 124, in pt_render
 Module Products.PageTemplates.PageTemplate, line 96, in pt_render
 <FSPageTemplate at /TCHEZOPE/link_view used for /TCHEZOPE/documentacao/videos/Link.2003-11-28.2147>
 Module TAL.TALInterpreter, line 189, in __call__
 Module TAL.TALInterpreter, line 233, in interpret
 Module TAL.TALInterpreter, line 663, in do_useMacro
 Module TAL.TALInterpreter, line 233, in interpret
 Module TAL.TALInterpreter, line 408, in do_optTag_tal
 Module TAL.TALInterpreter, line 393, in do_optTag
 Module TAL.TALInterpreter, line 388, in no_tag
 Module TAL.TALInterpreter, line 233, in interpret
 Module TAL.TALInterpreter, line 552, in do_insertTranslation
 Module TAL.TALInterpreter, line 615, in translate
 Module Products.PageTemplates.TALES, line 264, in translate
 Module Products.PlacelessTranslationService.PlacelessTranslationService, line 113, in translate
 Module Products.PlacelessTranslationService.PlacelessTranslationService, line 520, in translate
 Module ZPublisher.HTTPResponse, line 434, in _encode_unicode
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u0159' in position 1: ordinal not in range(256) (Also, an error occurred while attempting to render the standard error message.) 

Troubleshooting Suggestions

The URL may be incorrect.
The parameters passed to this resource may be incorrect.
A resource that this resource relies on may be encountering an error.

For more detailed information about the error, please refer to error log. 


If the error persists please contact the site maintainer. Thank you for your patience. 
================================================================   


==============================================================



More information about the Zope-Collector-Monitor mailing list