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!

???

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.

Thanks @dsblank for your attempts to build the new AIO for Windows. But with the new release of GrampsAIO-6.0.7–1_win64 this issue no longer exists as of today.

But it is a mystery why code changes were ignored. I could never figure out where the program was getting the original code. I installed my modifications before launching the program for the first time and I even deleted all of the compiled __pycache__ folders.