Re: [Gimp-docs] No module named libxml2
Den 15.09.2012 20:27, skreiv Ulf-D. Ehlert: On Sat, Sep 15, 2012 at 06:26:42PM +0200, Kolbj�rn Stuest�l wrote: Moving my work on GIMP to another computer I run into some problems. Example: make validate-nn Result: [XML] xml/nn/filters/alpha-to-logo.xml Traceback (most recent call last): File ".tools/xml2po.py", line 191, in main File ".tools/xml2po.py", line 88, in Main from xml2po import Main File "/bin/GIMP/gimp-help-2/tools/xml2po/__init__.py", line 27, in import libxml2 ImportError: No module named libxml2 Running python 2.6. I do not know about programming in Python. I do have a libxml2/libxml directory installed ( in usr/include/libxml2) but no separate files with this name. Question: Where is __init__.py looking for includes? Usually Python is looking for /usr/lib*/python*/site-packages/libxml2.py (try python -c "import sysconfig; print sysconfig.get_path('sitelib')"). The prog. did not found sysconfig How to fix this? Install package "libxml2-python" (or similar, I don't know Cygwin). Did it, but same error message. Other fixes needed? Neither does make check-images-nn works as suggested, but I think this is another question. Error messages? I deleted all Cygwin installations to clean it up and to give it a new try. Do not remember the messages. Will be back as soon as I finished reinstalling. I.e. next week. Some other things to do this weekend. I am running Cygwin on Windows 7. This ("Windows") *is* a bug... ;-) Well, I really do not disagree, but I had to use DOS and later Windows because of my job. Kolbjoern Ulf -- Kolbjørn Stuestøl, Stuestøl, 4580 Lyngdal Telefon: (47) 38 34 78 62, (47) 917 81 125 Stuestøl heimesider:http://www.stuestoel.no Sjå også Lyngdal hagelag:http://www.stuestoel.no/hagelag/hagelag.php Mandal og Lister pyntegrøntlag:http://www.mlpynt.no GIMP på norsk:http://www.gimp.no ___ gimp-docs-list mailing list gimp-docs-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-docs-list
Re: [Gimp-docs] No module named libxml2
On Sat, Sep 15, 2012 at 06:26:42PM +0200, Kolbj�rn Stuest�l wrote: > Moving my work on GIMP to another computer I run into some problems. > > Example: > make validate-nn > Result: > [XML] xml/nn/filters/alpha-to-logo.xml > Traceback (most recent call last): > File ".tools/xml2po.py", line 191, in > main > File ".tools/xml2po.py", line 88, in Main > from xml2po import Main > File "/bin/GIMP/gimp-help-2/tools/xml2po/__init__.py", line 27, > in > import libxml2 > ImportError: No module named libxml2 > > Running python 2.6. > I do not know about programming in Python. > I do have a libxml2/libxml directory installed ( in > usr/include/libxml2) but no separate files with this name. > Question: Where is __init__.py looking for includes? Usually Python is looking for /usr/lib*/python*/site-packages/libxml2.py (try python -c "import sysconfig; print sysconfig.get_path('sitelib')"). > How to fix this? Install package "libxml2-python" (or similar, I don't know Cygwin). > Other fixes needed? > > Neither does make check-images-nn works as suggested, but I think > this is another question. Error messages? > I am running Cygwin on Windows 7. This ("Windows") *is* a bug... ;-) Ulf -- Wer beleidigt, braucht nicht unrecht haben; es gibt Köpfe, denen man erst Verstand liefern müßte, um sie überzeugen zu können. -- Karlheinz Deschner ___ gimp-docs-list mailing list gimp-docs-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-docs-list
[Gimp-docs] No module named libxml2
Moving my work on GIMP to another computer I run into some problems. Example: make validate-nn Result: [XML] xml/nn/filters/alpha-to-logo.xml Traceback (most recent call last): File ".tools/xml2po.py", line 191, in main File ".tools/xml2po.py", line 88, in Main from xml2po import Main File "/bin/GIMP/gimp-help-2/tools/xml2po/__init__.py", line 27, in import libxml2 ImportError: No module named libxml2 Running python 2.6. I do not know about programming in Python. I do have a libxml2/libxml directory installed ( in usr/include/libxml2) but no separate files with this name. Question: Where is __init__.py looking for includes? How to fix this? Other fixes needed? Neither does make check-images-nn works as suggested, but I think this is another question. I am running Cygwin on Windows 7. By now I am running Cygwin on another computer, and it works. I know that I could copy the complete Cygwin directory from this computer, but choosed to install from scratch to learn a bit about how to do it. Some years ago there was a thread in this forum about installing the programs needed for translating GIMP Help, also on Cygwin, but alas I am not able to find it. Kolbjoern Stuestoel ___ gimp-docs-list mailing list gimp-docs-list@gnome.org https://mail.gnome.org/mailman/listinfo/gimp-docs-list