Re: [Gimp-docs] No module named libxml2



Den 26.09.2012 20:15, skreiv Ulf-D. Ehlert:
On Sat, Sep 22, 2012 at 05:35:44PM +0200, Kolbjørn Stuestøl wrote:
The program acted as before, i.e. listed the 19 orphaned images, and
then output: Aborted. No further messages.
So, it looks like it is doing what it is intended to do. :-)
Yes, but I can't see any reason why it should abort.

I do not know about programming in Python, but it looks like being
similar to  many other programming languages so perhaps I have a
closer look at it some day.
You could start with
	python [-v] tools/validate_references.py --help
or even
	python -c 'import sys; sys.exit(0)'
to check if even a simple python script aborts.

Good luck ;-)
Ulf

Tried all command options mentioned in the --help listing (not the -h listing).
All returned something + "Aborted".

The only one that not was aborted was python tools/validate_references.py --help

I had to put the option *after* the command:
python tools/validate_references.py -o
Writing python -o tools/validate_references.py

resulted in error message  "Unknown option: -o"


python -c 'import sys; sys.exit(0)'
returned nothing.

Is there any way to step through the Python script or to get a log that register every step of the script? Or do I have to add some print's to the script to follow the steps?

I have not tried other pyhon scripts. Programming has to wait. At the moment I am writing on the gimp-help-2 (Brush) Dynamics.

Kolbjoern



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