Re: bug-buddy unicode compile error 2.14.2.1



Morris,

You are running python-2.2, which is too old [take a look at the
DEPS-LIST document]. 

You will need to update to python-2.4.x. If updating the system version
of python is not feasible, consider an installation of python-2.4.3 in a
"safe" location, for example,

	/opt/python-2.4.3

After building and installing python-2.4.3, edit gar.conf.mk to use the
new version of python.

-Joseph

================================================================================
On Sun, 2006-06-25 at 17:46 -0400, Morris Walton wrote:
> Whew,
> 
> I am working my way through the garnome build, and I've hit this 
> bug-buddy problem:
> 
> [===== NOW BUILDING:    bug-buddy-2.14.0        =====]
>         [fetch] complete for bug-buddy.
>         [checksum] complete for bug-buddy.
>         [extract] complete for bug-buddy.
>         [patch] complete for bug-buddy.
>         [fixup] complete for bug-buddy.
>         [configure] complete for bug-buddy.
>  ==> Running make in work/main.d/bug-buddy-2.14.0
> make[2]: Entering directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0'
> make  all-recursive
> make[3]: Entering directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0'
> Making all in po
> make[4]: Entering directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0/po'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0/po'
> Making all in pixmaps
> make[4]: Entering directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0/pixmaps'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0/pixmaps'
> Making all in src
> make[4]: Entering directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0/src'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0/src'
> Making all in bugzilla
> make[4]: Entering directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0/bugzilla'
> Making all in gnome
> make[5]: Entering directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0/bugzilla/gnome'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0/bugzilla/gnome'
> Making all in ximian
> make[5]: Entering directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0/bugzilla/ximian'
> make[5]: Nothing to be done for `all'.
> make[5]: Leaving directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0/bugzilla/ximian'
> make[5]: Entering directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0/bugzilla'
> make[5]: Nothing to be done for `all-am'.
> make[5]: Leaving directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0/bugzilla'
> make[4]: Leaving directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0/bugzilla'
> Making all in docs
> make[4]: Entering directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0/docs'
> if ! test -d es/; then mkdir es/; fi
> case "." in /*) sd=".";; *) sd="../.";; esac; \
> if [ -f "C/bug-buddy.xml" ]; then d="../"; else d="$sd/"; fi; \
> (cd es/ && \
>   `which xml2po` -e -p \
>     "${d}es/es.po" \
>     "${d}C/bug-buddy.xml" > bug-buddy.xml.tmp && \
>     cp bug-buddy.xml.tmp bug-buddy.xml && rm -f bug-buddy.xml.tmp)
> Traceback (most recent call last):
>   File "/home/mwalton/garnome/bin/xml2po", line 724, in ?
>     doSerialize(doc)
>   File "/home/mwalton/garnome/bin/xml2po", line 482, in doSerialize
>     outtxt += doSerialize(child)
>   File "/home/mwalton/garnome/bin/xml2po", line 476, in doSerialize
>     (starttag, content, endtag, translation) = processElementTag(node, 
> repl, 1)
>   File "/home/mwalton/garnome/bin/xml2po", line 399, in processElementTag
>     (starttag, content, endtag, translation) = processElementTag(child, 
> myrepl, 0)
>   File "/home/mwalton/garnome/bin/xml2po", line 395, in processElementTag
>     myrepl.append(processElementTag(child, myrepl, 1))
>   File "/home/mwalton/garnome/bin/xml2po", line 407, in processElementTag
>     translation = getTranslation(outtxt, isSpacePreserveNode(node))
>   File "/home/mwalton/garnome/bin/xml2po", line 223, in getTranslation
>     return gt.ugettext(text.decode('utf-8'))
>   File "/usr/lib/python2.2/gettext.py", line 195, in ugettext
>     return unicode(tmsg, self._charset)
> TypeError: decoding Unicode is not supported
> make[4]: *** [es/bug-buddy.xml] Error 1
> make[4]: Leaving directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0/docs'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy/work/main.d/bug-buddy-2.14.0'
> make[1]: *** [build-work/main.d/bug-buddy-2.14.0/Makefile] Error 2
> make[1]: Leaving directory 
> `/home/mwalton/code/pkg/garnome-2.14.2.1/desktop/bug-buddy'
> make: *** [paranoid-install] Error 2
> [mwalton columbia desktop]$
> 
> 
> I've googled around , w/o any luck.  Any advice?
> 
> Thanks,
> 
> Morris
> 
-- 
joseph_sacco [at] comcast [dot] net




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]