Gourmet doesn't open (new Mac installation)

Asked by Ronel

Hello

I installed Gourmet Recipe Manager using Macports but can't open it.

I checked that everything was installed (according to Macports) and don't get any error messages. Specifically, if I try to re-install Gourmet, I get the following message:

ronels-imac:~ Ronel$ sudo port install gourmet
---> Computing dependencies for gourmet
---> Cleaning gourmet
---> Scanning binaries for linking errors
---> No broken files found.

There is nothing in my applications folder (should there be?), so to launch it I entered the following into Terminal:

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/gourmet

and received the following message:

** (process:77872): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:77872): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:77872): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'

(process:77872): Gtk-WARNING **: Locale not supported by C library.
 Using the fallback 'C' locale.

I have no idea what that means but Gourmet doesn't open. Any assistance would be greatly appreciated.

Thanks,
Ronel

Question information

Language:
English Edit question
Status:
Solved
For:
Gourmet Edit question
Assignee:
No assignee Edit question
Solved by:
Ronel
Solved:
Last query:
Last reply:
Revision history for this message
Bernhard Reiter (ockham-razor) said :
#1

Those warnings don't really look suspicious -- none of them seem to be related to anything that should keep Gourmet from launching. Unfortunately, I do not have a computer running OS X, so I cannot really help you, so I have to refer you to MacPorts' bug tracker at https://www.macports.org/ -- please report the issue there, as it seems to be specific to the MacPorts package.

(One thing that might be worth mentioning is your locale as the last warning indicates that something is going wrong loading it.)

Revision history for this message
Ronel (ronelmeyer) said :
#2

Thanks for the feedback.

The problem was the locale. For anyone else that runs into this problem, do the following:

1. Open Terminal
2. Enter "cd" to go to your home directory
3. Create a bash_profile file (if you don't have one yet) by typing the command "nano .bash_profile"
4. Add the following two lines to the new file:
export LC_ALL=en_GB.UTF-8
export LANG=en_GB.UTF-8

replacing en_GB with your preferred language

5. Hit Ctrl + O to save the file, hit enter to confirm the name, then Ctrl + X to exit the editor.

6. Close Terminal, then Gourmet should open.

This didn't solve my problem with the first 3 errors but at least it opens now.