GrampsAIO-6.0.7 not recognizing tweaks and hacks

Installed GrampsAIO-6.0.7-pyinstaller-aio-cbf185c_win64 on Windows10

The program worked until I applied all my tweaks to the code.

I made all my tweaks and hacks to the 6.0.7 files and then copied and replaced them into the gramps program. Many of the changes I have been using since 4.1.

The tweaks I make to the Relationship view (plugins\view\relview.py) are accepted. But many are not.

One hack that is easy to explain and view are changes to gen\recentfiles.py. I wanted to keep my working database away from beta testing newer versions. The hack was to move recent-files-gramps.xml from USER_DATA to VERSION_DIR

Line 40
from .const import VERSION_DIR, GRAMPS_LOCALE as glocale

and line 49
GRAMPS_FILENAME = os.path.join(VERSION_DIR, "recent-files-gramps.xml")

Gramps 6.0.7 is still creating the file in USER_DATA. As a test, I shortened recent-files-gramps.xml to recent-files.xml. 6.0.7 is still creating recent-files-gramps.xml in USER_DATA.

I used Notepad++ and did a search within the program files and subdirectories for ‘recent-files-gramps.xml’. It could not find the text in the code.

:woozy_face:

I did another test by copying the 6.0.6 program folder to 6.0.7 test and then applying my changes to the gramps folder. All my hacks work!

???

1 Like

I’ll look into this. It may be that something in 6.0.7 changed that prevents this from working as it used to. Or it may be a installer issue. I’ll check.