From: Miranda C. <mir...@ti...> - 2007-04-04 14:41:22
|
User Information: =================== I was adding children to a family. I accidentally clicked "OK" (or "Save" or whatever button it is) twice; I don't know if that's what caused the bug or not! Error Details: =================== 1169779: ERROR: gramps.py: line 148: Unhandled exception Traceback (most recent call last): File "/usr/share/gramps/Editors/_EditFamily.py", line 829, in save self.db.transaction_commit(trans,_("Add Family")) File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1425, in transaction_commit self.txn.commit() AttributeError: 'NoneType' object has no attribute 'commit' System Information: =================== Python version: 2.5 (release25-maint, Mar 29 2007, 11:14:31) [GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] BSDDB version: 4.4.5.2 Gramps version: 2.2.6-1 LANG: en_CA.UTF-8 OS: Linux Distribution: 2.6.20-13-generic |
From: Don A. <don...@co...> - 2007-04-04 14:45:55
|
Your data should be safe. I will add a check to the program to make sure that you cannot accidentally double click the button. I'll add this to 2.2.7. Don On Wed, 2007-04-04 at 09:41 -0500, Miranda Caswell wrote: > User Information: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > I was adding children to a family. I accidentally clicked "OK" (or=20 > "Save" or whatever button it is) twice; I don't know if that's what=20 > caused the bug or not! >=20 >=20 > Error Details: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > 1169779: ERROR: gramps.py: line 148: Unhandled exception > Traceback (most recent call last): > File "/usr/share/gramps/Editors/_EditFamily.py", line 829, in save > self.db.transaction_commit(trans,_("Add Family")) > File "/usr/share/gramps/GrampsDb/_GrampsBSDDB.py", line 1425, in=20 > transaction_commit > self.txn.commit() > AttributeError: 'NoneType' object has no attribute 'commit' >=20 >=20 > System Information: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > Python version: 2.5 (release25-maint, Mar 29 2007, 11:14:31) [GCC 4.1.2=20 > (Ubuntu 4.1.2-0ubuntu4)] > BSDDB version: 4.4.5.2 > Gramps version: 2.2.6-1 > LANG: en_CA.UTF-8 > OS: Linux > Distribution: 2.6.20-13-generic >=20 >=20 > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share y= our > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Gramps-bugs mailing list > Gra...@li... > https://lists.sourceforge.net/lists/listinfo/gramps-bugs |