Running Python script
- From: Philip Cavaco <Philip Cavaco ki se>
- To: dia-list gnome org
- Subject: Running Python script
- Date: Fri, 13 Feb 2009 15:18:25 +0100
Hello
I am preparing to write a python script for Dia and am getting started
by following the tutorial here
http://faemalia.org/wiki/view/Technical/CourseGraph.
So far it isn't working and I don't know why. I am running Ubuntu
Intrepid and first tried with Dia installed from the package manager.
The python console is available from the Dialogs menu so I assume python
support is compiled. I placed the hello.py file in ~/.dia/python (after
creating the directory) After lunching dia I see no effect from
hello.py. I expected there to be a new menu in the diagram window called
Plugins. I have also looked in File>Plugins... no sign of it there. A
hello.pyc file is generated so the script was executed.
I then downloaded the source and compiled with ./configure --with-python
&& make && sudo make install. It completed successfully but when I
execute it from /usr/local/bin I still see no evidence that the script
is loading.
What am I missing?
Philip
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]