From: Frode J. <fro...@sk...> - 2005-03-05 18:54:52
|
fredag 4. mars 2005, 19:31, skrev Don Allingham: > <SNIP> > We have several examples in the source tree under the src/plugins > directory, and we have a tutorial for the 2.0 API at > http://gramps.sourceforge.net/wiki/index.php/ReportTutorial I looked through this, and when I downloaded this file, it didn't initializ= e=20 correct when I started 1.1.90. (Tried it with 1.0.10, but then I get a err= or=20 about missing module ReportOptions.) One line in the tutorial, and in the file that we can download is like this: "from Plugins import register_report" When I start GRAMPS, I get a error saying: "ImportError: cannot import name register_report" Changing the line in the file from Plugins to PluginMgr like this: "from PluginMgr import register_report" , fixes this problem. Is this an error in the tutorial, or am I doing something wrong ? =2D-=20 =2DFrode The world is coming to an end ... SAVE YOUR BUFFERS!!! Petition for a Software Patent Free Europe: http://petition.eurolinux.org/ Petition for "World of Warcraft" on Linux: http://www.blizzpub.net/petition/ |