Also:

659: ERROR: lds.py: line 66: [Errno 2] No such file or directory: u'/home/benny/gramps/branches/maintenance/gramps40/gramps/lds.xml'


With this patch, is there also not a danger a tips.xml of a previous Gramps version is found, and then values of that version are used?

Benny


2013/1/30 Benny Malengier <benny.malengier@gmail.com>
John,

Gramps is crashing for me after your patch
http://sourceforge.net/p/gramps/code/21247/

Error:
Traceback (most recent call last):
  File "/home/benny/gramps/branches/maintenance/gramps40/gramps/gui/grampsgui.py", line 338, in __startgramps
    Gramps(argparser)
  File "/home/benny/gramps/branches/maintenance/gramps40/gramps/gui/grampsgui.py", line 257, in __init__
    register_stock_icons()
  File "/home/benny/gramps/branches/maintenance/gramps40/gramps/gui/grampsgui.py", line 208, in register_stock_icons
    base_reg_stock_icons(iconpaths, extraiconsize, items+items_legacy)
  File "/home/benny/gramps/branches/maintenance/gramps40/gramps/gui/pluginmanager.py", line 99, in base_reg_stock_icons
    pixbuf = GdkPixbuf.Pixbuf.new_from_file (ICON)
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 76, in constructor
    return info.invoke(cls, *args, **kwargs)
GError: Failed to open file '/home/benny/gramps/branches/maintenance/gramps40/gramps/icons/hicolor/gramps.png': No such file or directory

I assume if share is None, then gramps/images mus be used, not icons/hicolor.

For reference, on my PC:
>>> os.environ['XDG_DATA_DIRS']
'/usr/share/kde-plasma:/usr/local/share/:/usr/share/'


Benny