(no subject)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

(no subject)

Arentas
Not much I was using my gramps on Linux desktop, but today I have error message while working with it.  I did install a bunch of gramplets yesterday. But now difficult to guess what causes this error. Will do report as a bug but I'm hoping that someone can spot the problem from the log message.
After closing error message Gramps still opens but I have many menu buttons missing in the main bar, probably something else, that I cant spot it at the moment.
Thank you for any information that can put me on the right track to fix the issue.

Error Details:
===================

3117: ERROR: grampsapp.py: line 157: Unhandled exception
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/gramps/gui/grampsgui.py", line 795, in do_activate
    Gramps(self.argparser, self)
  File "/usr/lib/python3.7/site-packages/gramps/gui/grampsgui.py", line 643, in __init__
    self._vm.open_activate(filename)
  File "/usr/lib/python3.7/site-packages/gramps/cli/grampscli.py", line 249, in open_activate
    self._read_recent_file(path, username, password)
  File "/usr/lib/python3.7/site-packages/gramps/cli/grampscli.py", line 288, in _read_recent_file
    self._post_load_newdb(filename, 'x-directory/normal', title)
  File "/usr/lib/python3.7/site-packages/gramps/gui/viewmanager.py", line 1001, in _post_load_newdb
    self._post_load_newdb_gui(filename, filetype, title)
  File "/usr/lib/python3.7/site-packages/gramps/gui/viewmanager.py", line 1036, in _post_load_newdb_gui
    self.__change_page(self.notebook.get_current_page())
  File "/usr/lib/python3.7/site-packages/gramps/gui/viewmanager.py", line 885, in __change_page
    self.active_page.set_active()
  File "/usr/lib/python3.7/site-packages/gramps/gui/views/navigationview.py", line 153, in set_active
    PageView.set_active(self)
  File "/usr/lib/python3.7/site-packages/gramps/gui/views/pageview.py", line 328, in set_active
    self.bottombar.set_active()
  File "/usr/lib/python3.7/site-packages/gramps/gui/widgets/grampletbar.py", line 275, in set_active
    gramplet.pui.update()
  File "/usr/lib/python3.7/site-packages/gramps/gen/plug/_gramplet.py", line 311, in update
    self._generator = self.main()
  File "/home/are/.gramps/gramps51/plugins/Overview/Overview.py", line 171, in main
    self.display_person(active_handle)
  File "/home/are/.gramps/gramps51/plugins/Overview/Overview.py", line 187, in display_person
    spouse = self.dbstate.db.get_person_from_handle(mother_handle)
  File "/usr/lib/python3.7/site-packages/gramps/gen/db/generic.py", line 1275, in get_person_from_handle
    return self._get_from_handle(PERSON_KEY, Person, handle)
  File "/usr/lib/python3.7/site-packages/gramps/gen/db/generic.py", line 1256, in _get_from_handle
    raise HandleError('Handle is None')
gramps.gen.errors.HandleError: Handle is None


System Information:
===================

Gramps version: 5.1.1
Python version: 3.7.3 (default, Apr 09 2019, 05:18:21) [GCC]
BSDDB version: 6.2.6 (4, 8, 30)
sqlite version: 3.29.0 (2.6.0)
LANG: en_GB.UTF-8
OS: Linux
Distribution: 5.2.14-1-default

GTK version    : 3.24.11
gobject version: 3.32.2
cairo version  : (1, 18, 1)


--
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org
Reply | Threaded
Open this post in threaded view
|

Re: (no subject)

prculley
There is a bug in the Gramplet 'Person Overview'.  I will attempt to fix it and upload a fixed version so you can update your addons.
In the meantime, the problem is that the tree you have open and person you are looking at has a family without one parent.  Not a real problem, but the author of the Gramplet forgot that not all families are complete.

You can close the current tree, and remove that Gramplet, restart to keep working.  I should have a fix by tomorrow, so you can see if it has been updated then.

Paul C.

On Sat, Sep 21, 2019 at 11:08 AM Arentas <[hidden email]> wrote:
Not much I was using my gramps on Linux desktop, but today I have error message while working with it.  I did install a bunch of gramplets yesterday. But now difficult to guess what causes this error. Will do report as a bug but I'm hoping that someone can spot the problem from the log message.
After closing error message Gramps still opens but I have many menu buttons missing in the main bar, probably something else, that I cant spot it at the moment.
Thank you for any information that can put me on the right track to fix the issue.

Error Details:
===================

3117: ERROR: grampsapp.py: line 157: Unhandled exception
Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/gramps/gui/grampsgui.py", line 795, in do_activate
    Gramps(self.argparser, self)
  File "/usr/lib/python3.7/site-packages/gramps/gui/grampsgui.py", line 643, in __init__
    self._vm.open_activate(filename)
  File "/usr/lib/python3.7/site-packages/gramps/cli/grampscli.py", line 249, in open_activate
    self._read_recent_file(path, username, password)
  File "/usr/lib/python3.7/site-packages/gramps/cli/grampscli.py", line 288, in _read_recent_file
    self._post_load_newdb(filename, 'x-directory/normal', title)
  File "/usr/lib/python3.7/site-packages/gramps/gui/viewmanager.py", line 1001, in _post_load_newdb
    self._post_load_newdb_gui(filename, filetype, title)
  File "/usr/lib/python3.7/site-packages/gramps/gui/viewmanager.py", line 1036, in _post_load_newdb_gui
    self.__change_page(self.notebook.get_current_page())
  File "/usr/lib/python3.7/site-packages/gramps/gui/viewmanager.py", line 885, in __change_page
    self.active_page.set_active()
  File "/usr/lib/python3.7/site-packages/gramps/gui/views/navigationview.py", line 153, in set_active
    PageView.set_active(self)
  File "/usr/lib/python3.7/site-packages/gramps/gui/views/pageview.py", line 328, in set_active
    self.bottombar.set_active()
  File "/usr/lib/python3.7/site-packages/gramps/gui/widgets/grampletbar.py", line 275, in set_active
    gramplet.pui.update()
  File "/usr/lib/python3.7/site-packages/gramps/gen/plug/_gramplet.py", line 311, in update
    self._generator = self.main()
  File "/home/are/.gramps/gramps51/plugins/Overview/Overview.py", line 171, in main
    self.display_person(active_handle)
  File "/home/are/.gramps/gramps51/plugins/Overview/Overview.py", line 187, in display_person
    spouse = self.dbstate.db.get_person_from_handle(mother_handle)
  File "/usr/lib/python3.7/site-packages/gramps/gen/db/generic.py", line 1275, in get_person_from_handle
    return self._get_from_handle(PERSON_KEY, Person, handle)
  File "/usr/lib/python3.7/site-packages/gramps/gen/db/generic.py", line 1256, in _get_from_handle
    raise HandleError('Handle is None')
gramps.gen.errors.HandleError: Handle is None


System Information:
===================

Gramps version: 5.1.1
Python version: 3.7.3 (default, Apr 09 2019, 05:18:21) [GCC]
BSDDB version: 6.2.6 (4, 8, 30)
sqlite version: 3.29.0 (2.6.0)
LANG: en_GB.UTF-8
OS: Linux
Distribution: 5.2.14-1-default

GTK version    : 3.24.11
gobject version: 3.32.2
cairo version  : (1, 18, 1)
--
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org


--
Gramps-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-users
https://gramps-project.org