id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release
10295,Trac detected an internal error:  UnicodeError: source returned bytes_ but no encoding specified,netjunki,seccanj,After install test manager in Trac 1.0beta1 I get the following error when trying to load the Test Manager page:\r\n{{{\r\n Trac detected an internal error:\r\n\r\nUnicodeError: source returned bytes_ but no encoding specified\r\n}}}\r\n\r\nI'm guessing this is related to [http://trac.edgewall.org/wiki/TracDev/ApiChanges/1.0#Genshimandatory this note] about changes in the 1.0 API to genshi. But I'm not sure how to go about fixing it myself.\r\n\r\nHere's the stack trace:\r\n{{{\r\nFile "build/bdist.macosx-10.7-intel/egg/trac/web/main.py"_ line 490_ in _dispatch_request\r\n  dispatcher.dispatch(req)\r\nFile "build/bdist.macosx-10.7-intel/egg/trac/web/main.py"_ line 224_ in dispatch\r\n  content_type)\r\nFile "build/bdist.macosx-10.7-intel/egg/trac/web/chrome.py"_ line 968_ in render_template\r\n  stream |= self._filter_stream(req_ method_ filename_ stream_ data)\r\nFile "/Users/ben/tmp/trac/trac/genshi-trunk/genshi/core.py"_ line 133_ in __or__\r\n  return Stream(_ensure(function(self))_ serializer=self.serializer)\r\nFile "build/bdist.macosx-10.7-intel/egg/trac/web/chrome.py"_ line 1147_ in inner\r\n  data)\r\nFile "build/bdist.macosx-10.7-intel/egg/testmanager/wiki.py"_ line 153_ in filter_stream\r\n  return self._catalog_wiki_view(req_ formatter_ page_name_ stream)\r\nFile "build/bdist.macosx-10.7-intel/egg/testmanager/wiki.py"_ line 238_ in _catalog_wiki_view\r\n  HTML(self._build_catalog_tree(formatter.context_ page_name_ mode_ fulldetails_ table_columns_ table_columns_map_ custom_ctx))_\r\nFile "/Users/ben/tmp/trac/trac/genshi-trunk/genshi/input.py"_ line 436_ in HTML\r\n  return Stream(list(HTMLParser(BytesIO(text)_ encoding=encoding)))\r\nFile "/Users/ben/tmp/trac/trac/genshi-trunk/genshi/core.py"_ line 273_ in _ensure\r\n  event = stream.next()\r\nFile "/Users/ben/tmp/trac/trac/genshi-trunk/genshi/input.py"_ line 443_ in _coalesce\r\n  for kind_ data_ pos in chain(stream_ [(None_ None_ None)]):\r\nFile "/Users/ben/tmp/trac/trac/genshi-trunk/genshi/input.py"_ line 335_ in _generate\r\n  raise UnicodeError("source returned bytes_ but no encoding specified")\r\n}}},defect,closed,normal,TestManagerForTracPlugin,normal,fixed,,,1.0
