2012/9/22 Nick Hall <nick__hall@hotmail.com>
On 21/09/12 20:41, Benny Malengier wrote:
Rev 20430, also treebasemodel, as we already converted to str a long anyway this was easy.
So if all is ok, this warning for you should now be gone (I'm on older pygobject, so don't see this).


The warnings have now gone.



I do obtain a seg fault when I do  an expand all nodes in a treeview. Do you also have that with a newer pygobject?


I don't get a seg fault on expand or collapse, but I do get seg faults when changing views.

Ok, that is strange, I don't have problems with that. Python coding sure became more difficult with these bindings. Could be
 

I get the following warning:

src/gui/widgets/styledtexteditor.py:208: Warning: invalid cast from `GdkWindowImplX11' to `DbusmenuMenuitem'
  settings.set_property('gtk-show-unicode-menu', False)

After the seg faults the backtrace contains a libdbusmenu entry and a line for the invalid cast.

But does the note editor work, or does it fail?
I think Unity of Ubuntu uses dbus for their global menu. Then it would be an Ubuntu hack issue, it would not be the first time Ubuntu global menu fails for gramps. If so, that is something they should fix or someone who wants to support Unity.
 
I also get the following warning in the place tree view:

/usr/lib/python2.7/dist-packages/gi/types.py:47: Warning: unable to set property `markup' of type `gchararray' from value of type `PyObject'
  return info.invoke(*args, **kwargs)

Warnings are annoying, but if we don't see problems in the GUI, not of immediate concern. Markup should be things like column with bold or italic text or color text that no longer shows. Don't know in place treeview if that is used

Benny

This doesn't cause a seg fault though.

Nick.