I can't open my .gramps files on a new mac

I began using gramps a few months ago for a research and book project.

I recently updated to a new computer, Mac OS Sequoia and have installed Gramps 6.0. The application will not open my .gramps files.

I see some points online about changing the database path and I tried that but it’s not working.

Can anyone offer help?

Can you confirm you restored your back up from the old computer?

It is not typical to “open” .gramps (or .gpkg archives with media) files. These are the backup files and are imported into a new tree.

The working files are SQLite database files which are “loaded” using the Family Trees manager. These SQLite folders are located in the database path folder.

It is preferable to leave this “database path” in the default location unless there is a special need. (Such as: automated backup that requires folders to be in a paticular location; multiple users/workstations using a common network location.)

Copying the database folder on the old machine to the new computer would have moved the trees… but not the media objects.

However, you may be asking about “associating” an unknown filetype with a particular application on your new computer.

About setting filetypes to open with a particular macOS application

Perplexity summary of that process:

To open an unknown filetype with a specific application on macOS and set that application as the default for that filetype, follow these steps:

Opening an Unknown Filetype with a Specific Application

  • Right-click (or Control-click) the file in Finder.
  • Select “Open With” and choose your desired application from the list, or select “Other…” to pick an app not listed. If the app is greyed out, change the “Enable:” dropdown to “All Applications” to select any installed app[6][9].

Making the Application the Default for the Filetype

  • Right-click (or Control-click) the file and select “Get Info.”
  • In the Info window, find the “Open with:” section.
  • Choose your preferred application from the dropdown menu. If it’s not listed, select “Other…” and pick the app.
  • Click the “Change All…” button below the dropdown to set this application as the default for all files with the same extension.
  • Confirm when prompted[6][7][9].

Note: This process works for files with a specific extension. macOS does not provide a built-in way to set a default app for all unknown filetypes or all files without an extension; you must repeat the process for each unique extension[2][4][5].

If you frequently encounter many unknown extensions, consider using a third-party tool like RCDefaultApp (if compatible with your macOS version) to manage associations by MIME type or UTI, or create an Automator service to quickly open files with your chosen application[2][5].

Citations:
[1] macos - On Mac, how can I set a default program to open *all* unknown files? - Super User
[2] macos - How to setup a specific application to open all files with unknown extension - Ask Different
[3] Safely open apps on your Mac - Apple Support
[4] macos - mac default application for any unknown extension - Stack Overflow
[5] Reddit - The heart of the internet
[6] How to Change a File Type's Default App in macOS - MacRumors
[7] KB Parallels: Change the default application for a file type in macOS
[8] Can’t Open a Specific File in OS X? Search the Mac App Store Quickly to Find an App That Can
[9] How to set default apps on Mac | iMore
[10] https://www.youtube.com/watch?v=55Y3UjqzCMk


Answer from Perplexity: https://www.perplexity.ai/search/as-an-expert-in-the-macos-gui-2nJLpt9aSHKh9pa5Wl5nsQ?utm_source=copy_output

This worked. Thank you very much. I was going in circles.

Thank you for the help on this, including explaining the vocabulary. I was able to restore the files. I’ll see if I need to reset the database path.

Congratulations about restoring those backup files!

If you reset that database path AFTER having imported. You will need to move the files in the old path to the new path.

@npaisnel reported (on Facebook) trying the “Open with” of a .gpkg archive and having Gramps refuse to open the filetype. (He has Mac, Linux and Windows and was unsure which … or if all… OS failed. The captures below appear to be from macOS )

Is this normal for macOS?

Choosing a .gpkg (that he generated himself) to “Open With” (with the Gramps app not started)

Specifying which App to use to open

The OS error message:
opening .gpkg

opening .gramps

It does it with both .gpkg and .gramps extension files

Gramps 6.0.8 and OSX Tahoe

Geneweb file type too


They do all correctly import if a new Family Tree is created blank and Imported via the menu system

It is predictable that if the main 2 filetypes the Gramps supports are not registered as compatible with Gramps on macOS, then all the other core supported types will have the same issue.

I have certainly had problem understanding how to ensure an Importer addon can add a file extension/type to the File Selector filter and the ‘known types’ list. (Currently, I have experiments in progress with Tab Separated Values .tsv, and DoroTree .dte. And addons that compete with built-ins new revisions to .vcf, and .csv)

Just home from the farm and gardening and other after works sewing machine repair stuff and ha a chance to try with the iMac running Linux Mint

Open with …Gramps works fine and imports the exported file correctly

Alos tried on the Galaxy Tab running Win 10 Pro and that too imports correctly with “Open With”.

So yes it is just Mac OSx issue rather me not k owing how to do things…

The little Win 10 Galaxy Tab is now no longer seeing network computers..and it is not being seen by other machines…so now another issue to fix! ;). It was workmen a few days ago..bloody Windows…

With Windows network drives, Mapping a drive letter to the resource has always offered the most stability and compatibility.

(That has been true since the Windows for Workgroups and Window NT era … around 1992. That’s nearly a decade before Gramps was even a glimmer in Don Allingham’s eye. Every new release claims that that problem is a thing of the past. And within months of release, the general public is nudged back to the old reliable workaround That’s been a third of a century of persistence.)

What happens if you start Gramps and then drag either the .gpkg or .gramps files from the Finder onto the Gramps icon on the Dock?

Craig

I just tried
And nothing happens, with Gramps running or closed

BUT…

If you drag and drop into an open instance of Gramps ..and have the Family Tree manager window open, and drop on that, then the green cross appears and it instantly imports to the manager

Networking…Brian…seems SMB is working, the discovery is “broken”
if I type \192.168.1.145 or what ever in to the address bar or run window, it displays the shared folders fine..

It is a non- issue really ..I was given the Galaxy Pro with Win10 last week or so..its only purpose is really to run QDSLR Dashboard, a camera control software to run 24-36 hour time lapse sequences for exposure control during sunset/sunrise. I only put Gramps on it to see. When I was given the Galaxy, I was also given an M1 MacBook, so with a £30 AliExpress battery, the m1 is now working again and is my Gramps machine. It does me a full day on the battery. Never had a machine do that before! Last new computer I bought was 2008…I am happy to run on free throw-outs now and be a bit behind the times This 2020 M1 Mac book is my most modern machine