Taapeli / isotammi-addons

Gramps addons for Isotammi project / Isotammen Gramps-lisäosia
8 stars 2 forks source link

Events Filter+ error when defining Create Filter #21

Closed emyoulation closed 10 months ago

emyoulation commented 10 months ago

Define filter with the following Events Filter+ parameters generates an error: image

4306244: ERROR: grampsapp.py: line 173: Unhandled exception
Traceback (most recent call last):
  File "/home/districtsupport/.gramps/gramps51/plugins/Filter+/filter+.py", line 111, in define_filter
    rule1 = HasEventBase1(rule.list, rule.use_regex)
            ^^^^^^^^^^^^^
NameError: name 'HasEventBase1' is not defined
emyoulation commented 10 months ago

Sources Filter+ has similar error when creating a Custom Filter:

7287640: ERROR: grampsapp.py: line 173: Unhandled exception
Traceback (most recent call last):
  File "/home/districtsupport/.gramps/gramps51/plugins/Filter+/filter+.py", line 116, in define_filter
    rule1 = HasSourceBase1(rule.list, rule.use_regex)
            ^^^^^^^^^^^^^^
NameError: name 'HasSourceBase1' is not defined
kkujansuu commented 10 months ago

Fixed.