# Error message for master (Themes addon)

**URL:** <https://gramps.discourse.group/t/error-message-for-master-themes-addon/3889>\
**Category:** Beta Testing\
**Created:** [July 29, 2023, 10:49pm UTC](https://gramps.discourse.group/t/error-message-for-master-themes-addon/3889 "2023-07-29T22:49:48Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![moorob](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/moorob/32/586_2.png) [@moorob](https://gramps.discourse.group/u/moorob)\
**Post date:** [July 29, 2023, 10:49pm UTC](https://gramps.discourse.group/t/error-message-for-master-themes-addon/3889/1 "2023-07-29T22:49:48Z")

</div>

Downloaded latest code from master repository. Everything looking good. When I click on preference I’m getting the following error message.

2023-07-29 18:30:46.401: ERROR: grampsapp.py: line 173: Unhandled exception  
Traceback (most recent call last):  
File “/home/moorob/grampdev/gramps/gramps/gui/viewmanager.py”, line 681, in preferences\_activate  
GrampsPreferences(self.uistate, self.dbstate)  
File “/home/moorob/.gramps/gramps52/plugins/Themes/themes.py”, line 111, in **init**  
self.add\_behavior\_panel,  
^^^^^^^^^^^^^^^^^^^^^^^  
AttributeError: ‘GrampsPreferences’ object has no attribute ‘add\_behavior\_panel’

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [July 29, 2023, 11:11pm UTC](https://gramps.discourse.group/t/error-message-for-master-themes-addon/3889/2 "2023-07-29T23:11:56Z")

</div>

The 5.1 and 5.2 preferences are going to be incompatible. As are the databases. So you don’t want these 2 versions cross-pollinating.

5.2 hasn’t been released into public beta yet. So refinements (like segregating the .ini files in the User Directory… or not failing when trying to reading incompatible .ini files… or not trying to automatically update your version 19 5.1.x database schema to the version 20 of the 5.2.x version)

You should have these versions in separate VMs. This alpha version is high risk. And the Beta will be too. (Or it would be release, rather than in beta.)

---

<div class="post-metadata">

**Author:** ![moorob](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/moorob/32/586_2.png) [@moorob](https://gramps.discourse.group/u/moorob)\
**Post date:** [July 29, 2023, 11:43pm UTC](https://gramps.discourse.group/t/error-message-for-master-themes-addon/3889/3 "2023-07-29T23:43:36Z")

</div>

This is on a fresh install of Manjaro with no other gramps installations. Deleting everything and cloning the repository, preference works fine. On save and then exiting Gramps, when restart, I then get the above error message. The Gramps I’m using for day to day is on another hard drive and OS so no mixing. The reason I’m messing with 5.2 is to be ready for when it comes out in Aug so I can move over to it quickly. 5.2 has features I’ve been wanting for a long time and what I see so far, 5.2 is going to smoke the 5.1 versions.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [July 29, 2023, 11:54pm UTC](https://gramps.discourse.group/t/error-message-for-master-themes-addon/3889/4 "2023-07-29T23:54:04Z")

</div>

> [@moorob](#):
>
> The reason I’m messing with 5.2 is to be ready for when it comes out in Aug so I can move over to it quickly.

I had the same reasons for diving in a bit early too. Since there is a beta, I wanted to be ready for that cycle.

I saw something similar after triying to install the Themes add-on. And it adds a panel to the Preferences. Have you installed addons?

---

<div class="post-metadata">

**Author:** ![moorob](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/moorob/32/586_2.png) [@moorob](https://gramps.discourse.group/u/moorob)\
**Post date:** [July 30, 2023, 2:16pm UTC](https://gramps.discourse.group/t/error-message-for-master-themes-addon/3889/5 "2023-07-30T14:16:13Z")

</div>

Yes I did. Didn’t think to look at that since themes had always been in preference. When I can get to my other computer, I’ll take a look and remove the Themes addon.

---

<div class="post-metadata">

**Author:** ![prculley](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/prculley/32/41_2.png) [@prculley](https://gramps.discourse.group/u/prculley)\
**Post date:** [July 30, 2023, 4:11pm UTC](https://gramps.discourse.group/t/error-message-for-master-themes-addon/3889/6 "2023-07-30T16:11:47Z")

</div>

The Themes addon has not been updated to work with 5.2. That may be true for other addons as well.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [July 30, 2023, 4:53pm UTC](https://gramps.discourse.group/t/error-message-for-master-themes-addon/3889/7 "2023-07-30T16:53:28Z")

</div>

Can the Theme addon’s `.gpr.py` be tweaked to version 5.1 in the 5.2 addons listings/downloads until (if?) it is upgraded?

I had not yet discovered others that don’t work.

---

<div class="post-metadata">

**Author:** ![DaveSch](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davesch/32/40_2.png) [@DaveSch](https://gramps.discourse.group/u/DaveSch)\
**Post date:** [July 30, 2023, 9:36pm UTC](https://gramps.discourse.group/t/error-message-for-master-themes-addon/3889/8 "2023-07-30T21:36:22Z")

</div>

> [@emyoulation](#):
>
> Can the Theme addon’s `.gpr.py` be tweaked to version 5.1 in the 5.2 addons listings/downloads until (if?) it is upgraded?

The Themes addon adds itself to the tabs found in Preferences and the tab names must agree. When I reworked the Preferences file, I also set the Themes for the changed tabs. I have not checked to see if others made more changes that need to be accounted for.

> <https://github.com/gramps-project/addons-source/pull/472>
>
> Brings Themes \_panel tabs into agreement with Pull
> 
> https://github.com/gramps-…project/gramps/pull/1149

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [July 30, 2023, 11:17pm UTC](https://gramps.discourse.group/t/error-message-for-master-themes-addon/3889/9 "2023-07-30T23:17:56Z")

</div>

The Addon Manager was 1st set to a separate tab in Preferences. Then spun out to its own Menu Item.  
There are 11 tabs in Preferences:

1. Data
2. General
3. Family Tree
4. Import
5. Limits
6. Colors
7. Genealogical Symbols
8. ID Formats
9. Text
10. Warnings
11. Researcher

 ![image](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/3/309c22cb4b68c605e7c052db23adf435773e5b22.png)

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [August 3, 2023, 9:01pm UTC](https://gramps.discourse.group/t/error-message-for-master-themes-addon/3889/10 "2023-08-03T21:01:04Z")

</div>

> [@DaveSch](#):
>
> [github.com/gramps-project/addons-source](https://github.com/gramps-project/addons-source/pull/472)
> 
> [Update themes.py by DaveSch-gramps · Pull Request #472 · gramps-project/addons-source · GitHub](https://github.com/gramps-project/addons-source/pull/472)

bug reported:  
[0012940: [Addon:Themes] incompatible with 5.2beta1 - Gramps - Bugtracker](https://gramps-project.org/bugs/view.php?id=12940)

---

<div class="post-metadata">

**Author:** ![Nick-Hall](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/nick-hall/32/95_2.png) [@Nick-Hall](https://gramps.discourse.group/u/Nick-Hall)\
**Post date:** [August 3, 2023, 9:41pm UTC](https://gramps.discourse.group/t/error-message-for-master-themes-addon/3889/11 "2023-08-03T21:41:30Z")

</div>

Thank you.

This has now been fixed in commit [4eba3ce](https://github.com/gramps-project/addons-source/commit/4eba3ce26399cfebedb88c9b1bf97f0fb60bbbb1).

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [September 2, 2023, 9:42pm UTC](https://gramps.discourse.group/t/error-message-for-master-themes-addon/3889/12 "2023-09-02T21:42:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
