Re: xml2po (gnome-doc-utils)



On 12/27/05, Clytie Siddall <clytie riverland net au> wrote:
> Pearl:~/Vietnamese/Main Projects/Gnome/gnome-doc-utils/xml2po clytie
> $ ./xml2po.py -o vi.po vi.xml
> Traceback (most recent call last):
>    File "./xml2po.py", line 34, in ?
>      import libxml2
> ImportError: No module named libxml2
> ____

The python binding of libxml2 is probably missing from system.
You can search for file named libxml2.py under python install
location (assuming it's /usr/lib/python2.4 here)

$ find /usr/lib/python2.4 -name 'libxml2.py' -print

If it's not found, indeed you must install the missing part.

Abel

>
> I have libxml2 in my $PATH.
>
> Do I need to install the whole gnome-doc-utils? Or is there something
> else I need to do differently?
>
> Thanks for any help you can offer. :)
>
> from Clytie (vi-VN, Vietnamese free-software translation team / nhÃm
> Viát hÃa phán mám tá do)
> http://groups-beta.google.com/group/vi-VN
>
>
> _______________________________________________
> gnome-i18n mailing list
> gnome-i18n gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-i18n
>


--
Abel Cheung   (GPG Key: 0xC67186FF)
Key fingerprint: 671C C7AE EFB5 110C D6D1  41EE 4152 E1F1 C671 86FF
--------------------------------------------------------------------
* GNOME Hong Kong - http://www.gnome.hk/
* Opensource Application Knowledge Assoc. - http://oaka.org/


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