Re: 2.15.1, desktop/gnome-desktop, needs python libxml2 ?
- From: "Joseph E. Sacco, Ph.D." <joseph_sacco comcast net>
- To: garnome-list <garnome-list gnome org>
- Subject: Re: 2.15.1, desktop/gnome-desktop, needs python libxml2 ?
- Date: Fri, 28 Apr 2006 16:52:04 -0400
Adam,
>From the DEPS-LIST you will note that GARNOME requires two external
python packages:
* Pyrex
* PyXML
-Joseph
============================================================================
On Fri, 2006-04-28 at 16:44 -0400, Adam Worrall wrote:
> While getting 2.15.1 up and running on fc3/x86_64, with a custom
> python (v2.4), I bumped into this:
>
> make[7]: Entering directory
> `/foo/src/work/gnome-desktop/main.d/gnome-desktop-2.15.1/desktop-docs/fdl'
> if ! test -d es/; then mkdir es/; fi
> case "." in /*) sd=".";; *) sd="../.";; esac; \
> if [ -f "C/fdl.xml" ]; then d="../"; else d="$sd/"; fi; \
> (cd es/ && \
> `which xml2po` -e -p \
> "${d}es/es.po" \
> "${d}C/fdl.xml" > fdl.xml.tmp && \
> cp fdl.xml.tmp fdl.xml && rm -f fdl.xml.tmp)
> Traceback (most recent call last):
> File "/foo/bin/xml2po", line 34, in ?
> import libxml2
> ImportError: No module named libxml2
>
> I grabbed and installed
> ftp://xmlsoft.org/libxml2/python/libxml2-python-2.4.30.tar.gz.
>
> This got me only one step further:
>
> make[7]: Entering directory
> `/foo/src/work/gnome-desktop/main.d/gnome-desktop-2.15.1/desktop-docs/fdl'
> if ! test -d es/; then mkdir es/; fi
> case "." in /*) sd=".";; *) sd="../.";; esac; \
> if [ -f "C/fdl.xml" ]; then d="../"; else d="$sd/"; fi; \
> (cd es/ && \
> `which xml2po` -e -p \
> "${d}es/es.po" \
> "${d}C/fdl.xml" > fdl.xml.tmp && \
> cp fdl.xml.tmp fdl.xml && rm -f fdl.xml.tmp)
> Traceback (most recent call last):
> File "/foo/bin/xml2po", line 724, in ?
> doSerialize(doc)
> File "/foo/bin/xml2po", line 482, in doSerialize
> outtxt += doSerialize(child)
> File "/foo/bin/xml2po", line 476, in doSerialize
> (starttag, content, endtag, translation) = processElementTag(node, repl, 1)
> File "/foo/bin/xml2po", line 399, in processElementTag
> (starttag, content, endtag, translation) =
> processElementTag(child, myrepl, 0)
> File "/foo/bin/xml2po", line 399, in processElementTag
> (starttag, content, endtag, translation) =
> processElementTag(child, myrepl, 0)
> File "/foo/bin/xml2po", line 395, in processElementTag
> myrepl.append(processElementTag(child, myrepl, 1))
> File "/foo/bin/xml2po", line 399, in processElementTag
> (starttag, content, endtag, translation) =
> processElementTag(child, myrepl, 0)
> File "/foo/bin/xml2po", line 410, in processElementTag
> starttag = startTagForNode(node)
> File "/foo/bin/xml2po", line 233, in startTagForNode
> for p in node.properties:
> TypeError: iteration over non-sequence
> make[7]: *** [es/fdl.xml] Error 1
>
> Does anyone have any tips on this python business ?
>
> Thanks,
>
> - Adam
--
joseph_sacco [at] comcast [dot] net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]