[ubuntu-art] Backtestground Explained

Thorsten Wilms t_w_ at freenet.de
Sat Jan 22 14:07:07 UTC 2011


On Sat, 2011-01-22 at 14:05 +0300, Сергей wrote:
> Try this version, it's more structured.

Leaves no images behind, but:
----
$: ./auto-extract-context
starting in 3 seconds
3
2
1
Reverting your settings
/usr/local/bin/extract-background-context
Backtestground returned an error
$:~/Desktop/test$ usage: extract-background-context [-h] [-v] [-o
path/filename] [-f]
                                  on_white on_shadow-color
extract-background-context: error: [Errno 2] No such file or directory:
'on_white.png'
----

I tested the part before "if which 'extract-background-context'"
separately and it works. Proceeded to test parts of the rest via pasting
to the shell:

"which 'extract-background-context'" prints the path as expected.

"extract-background-context on_white.png on_black.png &! echo
'Backtestground returned an error'"

Then does execute extract-background-context successfully, but also
prints 'Backtestground returned an error'.


Perhaps I will rewrite this as Python script.


-- 
Thorsten Wilms

thorwil's design for free software:
http://thorwil.wordpress.com/




More information about the ubuntu-art mailing list