bug report

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

bug report

Gerard Martens


User Information:
===================




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

111167: ERROR: grampsapp.py: line 140: Unhandled exception
Traceback (most recent call last):
  File "/Applications/Gramps.app/Contents/Resources/lib/python3.4/site-packages/gramps/gui/editors/editcitation.py", line 315, in save
    self.db.add_citation(self.obj, trans)
  File "/Applications/Gramps.app/Contents/Resources/lib/python3.4/site-packages/gramps/gen/db/write.py", line 1610, in add_citation
    self.commit_citation)
  File "/Applications/Gramps.app/Contents/Resources/lib/python3.4/site-packages/gramps/gen/db/write.py", line 1560, in __add_object
    obj.gramps_id = find_next_func()
  File "/Applications/Gramps.app/Contents/Resources/lib/python3.4/site-packages/gramps/gen/db/read.py", line 648, in find_next_citation_gramps_id
    self.cmap_index, self.cid_trans)
  File "/Applications/Gramps.app/Contents/Resources/lib/python3.4/site-packages/gramps/gen/db/read.py", line 590, in __find_next_gramps_id
    while trans.get(bindex, txn=self.txn) is not None:
bsddb3.db.DBSecondaryBadError: (-30973, 'DB_SECONDARY_BAD: Secondary index inconsistent with primary -- /Users/GerardenJellie/EIgen cloud/Genealogie/553b8597/citation.db/citation: DB_SECONDARY_BAD: Secondary index inconsistent with primary')


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

Python version: 3.4.3 (default, Aug 16 2016, 18:17:24) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
BSDDB version: 5.3.0 (4, 8, 30)
Gramps version: 4.2.4
LANG: nl_NL.UTF-8
OS: Darwin
Distribution: 16.0.0

GTK version    : 3.14.5
gobject version: 3.14.0
cairo version  : (1, 10, 0)


Met vriendelijke groet,

Gerard Martens,

Martens & Dochters BV
Albert Schweitzerlaan 40
2871 LD  Schoonhoven
06-52532109
[hidden email]




------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-bugs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-bugs
Reply | Threaded
Open this post in threaded view
|

Re: bug report

John Ralls-2

> On Oct 8, 2016, at 8:20 PM, Gerard Martens <[hidden email]> wrote:
>
>
>
> User Information:
> ===================
>
>
>
>
> Error Details:
> ===================
>
> 111167: ERROR: grampsapp.py: line 140: Unhandled exception
> Traceback (most recent call last):
>  File "/Applications/Gramps.app/Contents/Resources/lib/python3.4/site-packages/gramps/gui/editors/editcitation.py", line 315, in save
>    self.db.add_citation(self.obj, trans)
>  File "/Applications/Gramps.app/Contents/Resources/lib/python3.4/site-packages/gramps/gen/db/write.py", line 1610, in add_citation
>    self.commit_citation)
>  File "/Applications/Gramps.app/Contents/Resources/lib/python3.4/site-packages/gramps/gen/db/write.py", line 1560, in __add_object
>    obj.gramps_id = find_next_func()
>  File "/Applications/Gramps.app/Contents/Resources/lib/python3.4/site-packages/gramps/gen/db/read.py", line 648, in find_next_citation_gramps_id
>    self.cmap_index, self.cid_trans)
>  File "/Applications/Gramps.app/Contents/Resources/lib/python3.4/site-packages/gramps/gen/db/read.py", line 590, in __find_next_gramps_id
>    while trans.get(bindex, txn=self.txn) is not None:
> bsddb3.db.DBSecondaryBadError: (-30973, 'DB_SECONDARY_BAD: Secondary index inconsistent with primary -- /Users/GerardenJellie/EIgen cloud/Genealogie/553b8597/citation.db/citation: DB_SECONDARY_BAD: Secondary index inconsistent with primary')
>
>
> System Information:
> ===================
>
> Python version: 3.4.3 (default, Aug 16 2016, 18:17:24) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
> BSDDB version: 5.3.0 (4, 8, 30)
> Gramps version: 4.2.4
> LANG: nl_NL.UTF-8
> OS: Darwin
> Distribution: 16.0.0
>
> GTK version    : 3.14.5
> gobject version: 3.14.0
> cairo version  : (1, 10, 0)

Looks like your database has gotten corrupted somehow.

First, back up your database (File>Backup... and follow the instructions). Then run check-and-repair on it and see if that fixes the problem. If it doesn't then create a new empty database and import your backup into it.

Regards,
John Ralls
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-bugs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-bugs