<p>Hi....<br>
I am getting a consistent</p>
<p><code>Unable to read environment locale: exit now.</code></p>
<p>error when trying to run context with this command (set in the create menu)</p>
<p><code>mtxrun --autogenerate --script context --autopdf --purge --synctex=-1 "%d/%f"</code></p>
<p>Executing the same command in a terminal works fine. From TextMate also no problems.</p>
<p>Replacing the actual command with a useless<br>
<code>cat "%d/%f"</code><br>
produces no errors.</p>
<p>I am on MacOS 10.11.6, LANG=de_DE.UTF-8 shows in terminal, below is the debug info.<br>
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?</p>
<p><code>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)</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1886">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ7jqAdfyyOkQwNW5Oic6NzsdYMcsks5t-AiTgaJpZM4UsZLn">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJxV3wMx5fi0EnTTnoV2uAv27_uwoks5t-AiTgaJpZM4UsZLn.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","potentialAction":{"@type":"ViewAction","target":"https://github.com/geany/geany/issues/1886","url":"https://github.com/geany/geany/issues/1886","name":"View Issue"},"description":"View this Issue on GitHub","publisher":{"@type":"Organization","name":"GitHub","url":"https://github.com"}}</script>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Error: Unable to read environment locale: exit now. (#1886)"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1886"}}}</script>
<script type="application/ld+json">{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Error: Unable to read environment locale: exit now. (#1886)",
"sections": [
{
"text": "",
"activityTitle": "**tracing-home**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@tracing-home",
"facts": [
{
"name": "Repository: ",
"value": "geany/geany"
},
{
"name": "Issue #: ",
"value": 1886
}
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1886,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1886\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/geany/geany/issues/1886"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 347181799\n}"
}
],
"themeColor": "26292E"
}</script>