|
安装到 /opt/gimp 下
系统: ubuntulinux 5.04
[code:1]
$sudo ./configure --prefix=/opt/gimp --disable-print && make && make install
[/code:1]
比如我使用 addfog 这个python-gimp 插件: 可以出现插件的画面,但是按“确定”之后却不能正确执行。
[code:1]woody@ubuntu:~$ bin/gimp2.3
This is a development version of The GIMP.
Debug messages may appear here.
Traceback (most recent call last):
File "/opt/gimp/lib/gimp/2.0/python/gimpfu.py", line 503, in response
dialog.res = run_script(params)
File "/opt/gimp/lib/gimp/2.0/python/gimpfu.py", line 269, in run_script
return apply(function, params)
File "/opt/gimp/lib/gimp/2.0/plug-ins/foggify.py", line 40, in python_foggify
pdb.plug_in_plasma(img, mask, int(time.time()), turbulence)
TypeError: wrong number of parameters
[/code:1]
其中 bin/gimp2.3 内容为
[code:1]
#!/bin/sh
PATH=/opt/gimp/bin:$PATH
export PATH
LD_LIBRARY_PATH=/opt/gimp/lib:/opt/gimp/lib/gimp/2.0/python
export LD_LIBRARY_PATH
/opt/gimp/bin/gimp-2.3 "$@"[/code:1]
所有的python-gimp插件都会出现这样的情况。 |
|