2011/10/6 Mike Evans <mikee@saxicola.co.uk>
On Thursday 06 Oct 2011 09:41:15 Benny Malengier wrote:
> 2011/10/3 Mike Evans <mikee@saxicola.co.uk>
>
> > Plugin fails to load with following error:
> >
> > Traceback (most recent call last):
> >  File "/home/mikee/progs/share/gramps/gen/plug/_manager.py", line 219, in
> >
> > load_plugin
> >
> >    _module = self.import_plugin(pdata)
> >
> >  File "/home/mikee/progs/share/gramps/gen/plug/_manager.py", line 251, in
> >
> > import_plugin
> >
> >    module = __import__(pdata.mod_name)
> >
> >  File "/home/mikee/.gramps/gramps34/plugins/ExportRaw/ExportRaw.py", line
> >
> > 35
> >
> >    with OpenFileOrStdout(filename as fp:
> > Line 35 should be:
> >    with OpenFileOrStdout(filename) as fp:
> Please post this on the bug tracker.
> Gramps34 is the development version. It will not be ready for another 6
> months or so.
>
> Benny
>
> >
Regarding the bug:
http://www.gramps-project.org/bugs/view.phVN version of gramps-addons at the time.  The addons were
installed by the application on first run.  Does this mean that the addons are
not being sourced from the correct branch?p?id=5280


I didn't have the SVN version of gramps-addons at the time.  The addons were
installed by the application on first run.  Does this mean that the addons are
not being sourced from the correct branch?  If so, is another bug?

It seems to me the developer of ExportRaw (Doug I suppose, see svn info on the file) mistyped a bracket. As it is the devel version, we normally just mail the person directly or fix the typo or do a bug ticket and send reminder to the developer who did the bug. The gramps-bugs mailing list is read by very few people.

As Gary replied to this bug,
svn up
in your source tree should have fixed it. For devel version, always to svn up before reporting any bugs.

Benny

Thanks and regards

Mike E

--
GPG Key: 1024D/050895C2
Keyserver: http://pgp.mit.edu/
Search String: 0x050895C2