Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in console while opening an empty db #2

Open
patlx opened this issue Aug 28, 2021 · 1 comment
Open

error in console while opening an empty db #2

patlx opened this issue Aug 28, 2021 · 1 comment
Labels
bug Something isn't working SuperTool

Comments

@patlx
Copy link

patlx commented Aug 28, 2021

Hi,

FYI I've got the following console message while opening a new database I just created (I was not using ST):

Warning: DbState: Exception occurred in callback function.
Traceback (most recent call last):
File "C:\Program Files\GrampsAIO64-5.1.3\gramps\gen\utils\callback.py", line 405, in emit
fn(*args)
File "C:\Users\1\AppData\Roaming\gramps\gramps51\plugins\SuperTool\SuperTool.py", line 750, in db_changed
self.select_category()
File "C:\Users\1\AppData\Roaming\gramps\gramps51\plugins\SuperTool\SuperTool.py", line 1206, in select_category
self.category = supertool_utils.get_category_info(self.db, self.category_name)
File "C:\Users\1\AppData\Roaming\gramps\gramps51\plugins\SuperTool\supertool_utils.py", line 125, in get_category_info
info.commitfunc = db.commit_event
AttributeError: 'DummyDb' object has no attribute 'commit_event'

it appears 2 times.

@kkujansuu
Copy link
Contributor

Thanks. I try to fix this in the next version. As far as I can see this does not affect execution - it is only a message that appears on the console.

@kkujansuu kkujansuu added bug Something isn't working SuperTool labels Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working SuperTool
Projects
None yet
Development

No branches or pull requests

2 participants