cubicweb #2200673 [json] UnicodeDecodeError: 'ascii' codec can't decode byte [waiting feedback]

2012-02-21 18:06:13 - (cubicweb.web) ERROR: UnicodeDecodeError('ascii', '<?xml version="1.0" encoding="UTF-8"?>\n\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" [\n <!ATTLIST html xmlns:cubicweb CDATA #FIXED \'http://www.logilab.org/2008/cubicweb\' >\n\n<!ENTITY % coreattrs\n "id ID #IMPLIED\n class CDATA #IMPLIED\n style CDATA #IMPLIED\n title CDATA #IMPLIED\n\n cubicweb:accesskey CDATA #IMPLIED\n cubicweb:actualrql CDATA #IMPLIED\n cubicweb:dataurl CDATA #IMPLIED\n cubicweb:facetName CDATA #IMPLIED\n cubicweb:facetargs CDATA #IMPLIED\n cubicweb:fallbackvid CDATA #IMPLIED\n cubicweb:fname CDATA #IMPLIED\n cubicweb:initfunc CDATA #IMPLIED\n cubicweb:inputid CDATA #IMPLIED\n cubicweb:inputname CDATA #IMPLIED\n cubicweb:limit CDATA #IMPLIED\n cubicweb:loadtype CDATA #IMPLIED\n cubicweb:loadurl CDATA #IMPLIED\n cubicweb:maxlength CDATA #IMPLIED\n cubicweb:required CDATA #IMPLIED\n cubicweb:rooteid CDATA #IMPLIED\n cubicweb:rql CDATA #IMPLIED\n cubicweb:size CDATA #IMPLIED\n cubicweb:sortvalue CDATA #IMPLIED\n cubicweb:target CDATA #IMPLIED\n cubicweb:tindex CDATA #IMPLIED\n cubicweb:tlunit CDATA #IMPLIED\n cubicweb:type CDATA #IMPLIED\n cubicweb:unselimg CDATA #IMPLIED\n cubicweb:uselabel CDATA #IMPLIED\n cubicweb:value CDATA #IMPLIED\n cubicweb:variables CDATA #IMPLIED\n cubicweb:vid CDATA #IMPLIED\n cubicweb:wdgtype CDATA #IMPLIED\n "> ] >\n\n<html xmlns="http://www.w3.org/1999/xhtml" xmlns:cubicweb="http://www.logilab.org/2008/cubicweb" xml:lang="fr" lang="fr">\n<head>\n<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8"/>\n<meta name="ROBOTS" content="NOINDEX" />\n<link rel="shortcut icon" href="https://www.cubicweb.org/data/df287e79f38cdeb263faa3ab0d925833/favicon.ico"/>\n<title> (CubicWeb&#39;s Forge)</title>\n<script type="text/javascript"><!--//--><![CDATA[//><!--\nif (typeof pageid == "undefined") {pageid = "1403072679219362037738398ed496ba671905dce089902";}\nBASE_URL = "https://www.cubicweb.org/";\n\n//--><!]]></script><link rel="stylesheet" type="text/css" media="all" href="https://www.cubicweb.org/data/df287e79f38cdeb263faa3ab0d925833/cubicweb.old.css"/>\n<link rel="stylesheet" type="text/css" media="print" href="https://www.cubicweb.org/data/df287e79f38cdeb263faa3ab0d925833/cubicweb.print.css"/>\n<script type="text/javascript" src="https://www.cubicweb.org/data/df287e79f38cdeb263faa3ab0d925833/??jquery.js,jquery.corner.js,jquery.json.js,cubicweb.js,cubicweb.compat.js,cubicweb.python.js,cubicweb.htmlhelpers.js"></script>\n<script type="text/javascript"><!--//--><![CDATA[//><!--\nif (typeof(pageDataUnloaded) == \'undefined\') {\n jQuery(window).unload(unloadPageData);\n pageDataUnloaded = true;\n}\n//--><!]]></script></head>\n\n<body>\n<table id="header"><tr>\n<td id="headtext"><a href="https://www.cubicweb.org/"><img id="logo" src="https://www.cubicweb.org/data/df287e79f38cdeb263faa3ab0d925833/logo.png" alt="logo"/></a>&#160;<span id="appliName"><a href="https://www.cubicweb.org/">CubicWeb&#39;s Forge</a></span>&#160;<span id="breadcrumbs" class="pathbar">&#160;&gt;&#160;rechercher</span>&#160;</td><td id="header-right"><div class="" id="userActionsBox"><div class="menuContent">\n<a href="javascript: toggleVisibility(\'boxmenu_anon\')" class="popupMenu">anon</a><div class="popupWrapper"><div id="boxmenu_anon" class="hidden popup"><ul><li><a href="https://www.cubicweb.org/myprefs">pr\xc3\xa9f\xc3\xa9rences utilisateur</a></li><li><a href="https://www.cubicweb.org/cwuser/anon?vid=notifications">notifications</a></li><li><a href="https://www.cubicweb.org/cwuser/anon?vid=edition">profil</a></li><li><a href="https://www.cubicweb.org/logout">se d\xc3\xa9connecter</a></li></ul></div></div></div>\n</div>&#160;</td></tr></table>\n<div id="stateheader"></div><div id="page"><table width="100%" border="0" id="mainLayout"><tr>\n<td id="navColumnLeft"><div class="navboxes">\n<div class="contextFreeBox search_box" id="search_box"><div class="boxTitle"><span><span onclick="javascript: toggleVisibility(\'rqlinput\')">rechercher</span></span></div><div class="boxBody"><form action="https://www.cubicweb.org/view">\n<table id="tsearch"><tr><td>\n<input id="norql" type="text" accesskey="q" tabindex="1" title="search text" value="" name="rql" />\n<input type="hidden" name="__fromsearchbox" value="1" />\n<input type="hidden" name="subvid" value="tsearch" />\n</td><td>\n<input tabindex="2" type="submit" id="rqlboxsubmit" class="rqlsubmit" value="" />\n </td></tr></table>\n </form></div><div class="boxFooter"></div></div>\n</div></td>\n<td id="contentColumn">\n<div id="rqlinput" class="hidden"><form action="https://www.cubicweb.org/view"><fieldset>\n<input type="text" id="rql" name="rql" value="DISTINCT Any V,VNUM,P,PNAME,PDATE WHERE V is Version, V version_of P, P name PNAME, V num VNUM, V prevision_date PDATE, V in_state VS, NOT VS name &quot;published&quot;, V prevision_date &gt;= &quot;2012-01-29&quot;, V prevision_date &lt;= &quot;2012-03-11&quot;, V todo_by U, U login &quot;adimascios&quot;" title="texte \xc3\xa0 rechercher ou requ\xc3\xaate RQL" tabindex="3" accesskey="q" class="searchField" />\n</fieldset></form></div><div id="appMsg" onclick="javascript: toggleVisibility(\'appMsg\')" class=" ">\n<div class="message" id="applmessagesComponent">Vous n\'avez pas acc\xc3\xa8s \xc3\xa0 cette vue ou elle ne peut pas afficher ces donn\xc3\xa9es.</div></div><div id="pageContent">\n<div id="contentmain">\n<div class="searchMessage"><strong>Aucun r\xc3\xa9sultat ne correspond \xc3\xa0 la requ\xc3\xaate</strong></div>\n</div>\n</div>\n</td>\n</tr></table></div>\n<div id="footer"><a href="https://www.cubicweb.org/doc/main">Aide</a> | <a href="https://www.cubicweb.org/changelog">Nouveaut\xc3\xa9s</a> | <a href="https://www.cubicweb.org/doc/about">\xc3\x80 propos de ce site</a> | <a href="http://www.cubicweb.org">Construit avec CubicWeb</a></div></body>\n</html>', 3719, 3720, 'ordinal not in range(128)')
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/cubicweb/web/application.py", line 369, in main_publish
result = controller.publish(rset=rset)
File "/usr/lib/python2.6/dist-packages/cubicweb/web/views/json.py", line 60, in publish
json_data = '%s(%s)' % (json_padding, json_data)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3719: ordinal not in range(128)

prioritynormal
typebug
done in<not specified>
closed by<not specified>