Hi....
I am getting a consistent

Unable to read environment locale: exit now.

error when trying to run context with this command (set in the create menu)

mtxrun --autogenerate --script context --autopdf --purge --synctex=-1 "%d/%f"

Executing the same command in a terminal works fine. From TextMate also no problems.

Replacing the actual command with a useless
cat "%d/%f"
produces no errors.

I am on MacOS 10.11.6, LANG=de_DE.UTF-8 shows in terminal, below is the debug info.
I do notice the Gtk warning about locale not supported. If I set LANG=en_US.UTF-8 in .profile the error remains the same. What to do?

22:02:13: Gtk WARNING : Locale not supported by C library. Using the fallback 'C' locale. 22:02:13: Geany INFO : Geany 1.33, C 22:02:13: Geany INFO : GTK 2.24.31, GLib 2.52.2 22:02:13: Geany INFO : System data dir: /Applications/Geany.app/Contents/Resources/share/geany 22:02:13: Geany INFO : User config dir: /Users/martin/.config/geany 22:02:13: Geany INFO : System plugin path: /Applications/Geany.app/Contents/Resources/lib/geany 22:02:13: Geany INFO : Added filetype Arduino (61). 22:02:13: Geany INFO : Added filetype Clojure (62). 22:02:13: Geany INFO : Added filetype CUDA (63). 22:02:13: Geany INFO : Added filetype Cython (64). 22:02:13: Geany INFO : Added filetype Genie (65). 22:02:13: Geany INFO : Added filetype Graphviz (66). 22:02:13: Geany INFO : Added filetype JSON (67). 22:02:13: Geany INFO : Added filetype Scala (68). 22:02:13: Geany INFO : Loaded libvte from libvte.9.dylib 22:02:13: Geany INFO : /Users/martin/Documents/daf-Kurse/ABS/Mathe/Schätzen/textaufgabenweg.tex : LaTeX (UTF-8)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.