Package: release.debian.org Severity: normal User: release.debian....@packages.debian.org Usertags: unblock
Please unblock package trac-subcomponents This fixes https://bugs.debian.org/774424 (some upstream code uses DOS line-ends, which I keep for consistency, sorry) diff -Nru trac-subcomponents-1.2.0+hga86f0413121f/debian/changelog trac-subcomponents-1.2.0+hga86f0413121f/debian/changelog --- trac-subcomponents-1.2.0+hga86f0413121f/debian/changelog 2014-10-09 01:15:52.000000000 +0200 +++ trac-subcomponents-1.2.0+hga86f0413121f/debian/changelog 2015-01-03 01:25:11.000000000 +0100 @@ -1,3 +1,9 @@ +trac-subcomponents (1.2.0+hga86f0413121f-4) unstable; urgency=low + + * Fix UnicodeError exception in Trac query (Closes: #774424). + + -- W. Martin Borgert <deba...@debian.org> Sat, 03 Jan 2015 00:22:41 +0000 + trac-subcomponents (1.2.0+hga86f0413121f-3) unstable; urgency=low [minor cleanups] diff -Nru trac-subcomponents-1.2.0+hga86f0413121f/debian/patches/10_fix_unicodeerror.patch trac-subcomponents-1.2.0+hga86f0413121f/debian/patches/10_fix_unicodeerror.patch --- trac-subcomponents-1.2.0+hga86f0413121f/debian/patches/10_fix_unicodeerror.patch 1970-01-01 01:00:00.000000000 +0100 +++ trac-subcomponents-1.2.0+hga86f0413121f/debian/patches/10_fix_unicodeerror.patch 2015-01-03 01:25:11.000000000 +0100 @@ -0,0 +1,22 @@ +Description: Fixes a UnicodeError exception +Author: W. Martin Borgert <deba...@debian.org> +Origin: other, http://trac-hacks.org/ticket/11752#comment:2 +Bug: http://trac-hacks.org/ticket/11752 +Bug-Debian: https://bugs.debian.org/774424 +Last-Update: 2015-01-03 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +--- a/subcomponents/web_ui.py ++++ b/subcomponents/web_ui.py +@@ -134,9 +134,8 @@ + stream |= Transformer("//div[@class='field'][1]").after(self._build_renamechildren_field()) + elif req.path_info.startswith('/query'): + # We need to load our script after the initializeFilters() call done by Trac +- html = HTML('<script type="text/javascript" charset="utf-8" src="' + +- req.href.base + +- '/chrome/subcomponents/componentselect.js"></script>') ++ html = tag.script(type='text/javascript', charset='utf-8', ++ src=req.href.chrome('subcomponents/componentselect.js')) + stream |= Transformer('//head').append(html) + return stream + diff -Nru trac-subcomponents-1.2.0+hga86f0413121f/debian/patches/series trac-subcomponents-1.2.0+hga86f0413121f/debian/patches/series --- trac-subcomponents-1.2.0+hga86f0413121f/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 +++ trac-subcomponents-1.2.0+hga86f0413121f/debian/patches/series 2015-01-03 01:25:11.000000000 +0100 @@ -0,0 +1 @@ +10_fix_unicodeerror.patch unblock trac-subcomponents/1.2.0+hga86f0413121f-4 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org