Jaap, Stefan,
thank you for your help.
Running zim with "-D" (which I knew, but I forgotten about!) did the trick... 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 immediately.
Well, the plugin works - if anybody is interested!


thank you for your help, again


alessandro


On 02/10/2011 03:29 PM, Jaap Karssenberg wrote:
On Thu, Feb 10, 2011 at 9:13 AM, Alessandro Magni<ma...@inrim.it>  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
easier.)

Hope this helps,

Jaap




--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/  Dr.Alessandro Magni
\        Electromagnetics Division
/        INRiM Strada delle Cacce 91, 10135 Torino (ITALIA)
\        Email ma...@inrim.it
/        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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to