zim-wiki team mailing list archive
Mailing list archive
Re: writing plugins
thank you for your help.
Running zim with "-D" (which I knew, but I forgotten about!) did the
funny, it wasnt a python error but a stupid gnuplot error - I inserted
as a test "exp(x)" instead of a "plot exp(x)": zim -D showed the error
Well, the plugin works - if anybody is interested!
thank you for your help, again
On 02/10/2011 03:29 PM, Jaap Karssenberg wrote:
On Thu, Feb 10, 2011 at 9:13 AM, Alessandro Magni<magni@xxxxxxxx> wrote:
But any code I use inside it returns a "Looks like you found a bug" window,
telling me "AttributeError: 'NoneType' object has no attribute 'basename' "
What you want to do is run zim with "zim -D" from a terminal, when the
error happens it will spit out a stack trace that shows the exact line
in the code were it goes wrong. On that line there is some parameter
that is None but should probably contain a file object. Work back from
that line to where that file should come from.
(Btw. latest dev version / next release this stack trace will also be
shown in the "you found a bug" dialog directly to make it a bit
Hope this helps,
/ Dr.Alessandro Magni
\ Electromagnetics Division
/ INRiM Strada delle Cacce 91, 10135 Torino (ITALIA)
\ Email magni@xxxxxxxx
/ Tel: 0039-011-3919821 Fax: 0039-011-3919834
\ URL http://www.inrim.it/~magni
/ Our business in life is not to succeed but to continue to fail
\ in high spirits. -- Robert Louis Stevenson