[Thuban-list] simple tool
jan at intevation.de
Fri Sep 12 11:38:26 CEST 2003
On Fri, Sep 12, 2003 at 12:21:03AM -0400, Fidel Serrano wrote:
> im working with thuban 0.9.0 in windows xp, i added the hello world extention and worked perfectly, so i tried to add simple_tool extention, adding the statement import simple_tool to the thubanstart.py file, and copying simple_tool.py and simple_tool.xpm
> to the thuban folder, it didnt work, is there something else that i have to do to make it work?
well, first of all you found a bug ;-)
If fixed it in CVS a minute ago.
In simple_command.py just import Tool from viewport, not from view
Furthermore, for simple_tool I recommed to use the alternative
to leave the files where they are and extend the PYTHONPATH
instead to cover the directory Examples/simple_extensions
Now it should work.
Thanks for finding this problem!
Jan-Oliver Wagner http://intevation.de/~jan/
Intevation GmbH http://intevation.de/
More information about the Thuban-list