Where is obslight/fakeobs currently maintained? The only official source of information seems to be opensuse wiki [1]. Meego's bugzilla is listed there as place to file bugs at, but the site seems to be down permanently. Then again, same wiki lists Tizen general as mailing list where obs related discussion is taking place.
Some packages available in Tizen repositories use utf-8 encoded characters in description field. Example of a package causing grief is [2], fakeobs bails out complaining that ® cannot be represented in ascii. I've attached a patch that fixes characted encoding issues for me, allowing grabgbs to complete successfuly. [1] http://en.opensuse.org/openSUSE:OBS_Light [2] https://download.tizen.org/snapshots/2.1/common/tizen-2.1_20130608.1/repos/tizen-main/source/cups-1.6.1-9.1.src.rpm
>From 86035249e146ab455804c53848d396cc20b4301f Mon Sep 17 00:00:00 2001 From: Maciej Borzecki <maciej.borze...@open-rnd.pl> Date: Wed, 24 Jul 2013 15:27:21 +0200 Subject: [PATCH] Fix utf-8 handling in package description --- obslight-fakeobs/ObsLightFakeObs/GbsTree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obslight-fakeobs/ObsLightFakeObs/GbsTree.py b/obslight-fakeobs/ObsLightFakeObs/GbsTree.py index 164323a1d1a79fe9267f4ff0c04c6f1df96239b0..e19a121435af65eb23471ed870a80e59ea053485 100644 --- a/obslight-fakeobs/ObsLightFakeObs/GbsTree.py +++ b/obslight-fakeobs/ObsLightFakeObs/GbsTree.py @@ -687,7 +687,7 @@ class GbsTree: if n: n = n.firstChild if n and n.nodeType == n.TEXT_NODE: - return n.data.strip() + return n.data.strip().encode('utf-8') return "" def _attr(self,n,name): -- 1.8.3.1
-- Maciej Borzcęki Senior Software Developer at Open-RnD Sp. z o.o., Poland www.open-rnd.pl mobile: +48 889 117 365, fax: +48 42 657 9079
_______________________________________________ General mailing list General@lists.tizen.org https://lists.tizen.org/listinfo/general