Hey Gabriel, thanks for the detailed report. I'll bet this is a problem 
with the way I packaged the app (that is, I didn't include tex in the 
app!). I can try rebundling the app and updating the build instructions to 
include TeX support.

Sorry about not doing that before! I never thought to test it since I don't 
use that feature.

I'll try to get this done this week.

On Saturday, August 20, 2016 at 12:10:43 PM UTC+8, Gabriel Rodriguez wrote:
>
> I installed Mnemosyne 2.3.6 on El Capitan 10.11.6. If I create a test card 
> with a bit of TeX I get "Problem with latex. Are latex and dvipng 
> installed?" 
>
> I searched the docs and found that I should update $PATH.  However, echo 
> $PATH shows /opt/local/bin is already at the beginning of my path. 
>
> Console shows: 
> 8/19/16 2:27:11.398 PM appleeventsd[55]: SecTaskLoadEntitlements failed 
> error=22 
> 8/19/16 2:27:11.403 PM launchservicesd[84]: SecTaskLoadEntitlements failed 
> error=22 
> 8/19/16 2:27:11.407 PM launchservicesd[84]: SecTaskLoadEntitlements failed 
> error=22 
> 8/19/16 2:27:13.779 PM Mnemosyne[22880]: WARNING: The Gestalt selector 
> gestaltSystemVersion is returning 10.9.6 instead of 10.11.6. This is not a 
> bug in Gestalt -- it is a documented limitation. Use NSProcessInfo's 
> operatingSystemVersion property to get correct system version number. 
> Call location: 
> 8/19/16 2:27:13.779 PM Mnemosyne[22880]: 0   CarbonCore                   
>        0x00007fff987586df ___Gestalt_SystemVersion_block_invoke + 113 
> 8/19/16 2:27:13.780 PM Mnemosyne[22880]: 1   libdispatch.dylib             
>       0x00007fff86d7440b _dispatch_client_callout + 8 
> 8/19/16 2:27:13.780 PM Mnemosyne[22880]: 2   libdispatch.dylib             
>       0x00007fff86d74303 dispatch_once_f + 67 
> 8/19/16 2:27:13.780 PM Mnemosyne[22880]: 3   CarbonCore                   
>        0x00007fff986e4fbc _Gestalt_SystemVersion + 987 
> 8/19/16 2:27:13.780 PM Mnemosyne[22880]: 4   CarbonCore                   
>        0x00007fff986e47d0 Gestalt + 139 
> 8/19/16 2:27:13.780 PM Mnemosyne[22880]: 5   QtCore                       
>        0x0000000107a851ce _ZN19QProcessEnvironment17systemEnvironmentEv + 
> 31744 
> 8/19/16 2:27:13.780 PM Mnemosyne[22880]: 6   QtCore                       
>        0x0000000107a6ac64 _ZN9QSettingsC1ERK7QStringS2_P7QObject + 34 
> 8/19/16 2:27:15.047 PM Mnemosyne[22880]: libpng warning: iCCP: known 
> incorrect sRGB profile 
> 8/19/16 2:27:15.048 PM Mnemosyne[22880]: libpng warning: iCCP: known 
> incorrect sRGB profile 
> 8/19/16 2:27:15.048 PM Mnemosyne[22880]: libpng warning: iCCP: known 
> incorrect sRGB profile 
> 8/19/16 2:27:15.049 PM Mnemosyne[22880]: libpng warning: iCCP: known 
> incorrect sRGB profile 
> 8/19/16 2:27:15.049 PM Mnemosyne[22880]: libpng warning: iCCP: known 
> incorrect sRGB profile 
> 8/19/16 2:27:17.102 PM Mnemosyne[22880]: sh: latex: command not found 
> 8/19/16 2:27:17.106 PM Mnemosyne[22880]: sh: dvipng: command not found 
> 8/19/16 2:27:19.091 PM launchservicesd[84]: SecTaskLoadEntitlements failed 
> error=22 
> 8/19/16 2:27:19.201 PM launchservicesd[84]: SecTaskLoadEntitlements failed 
> error=22 
>
>
> See time 2:27:17-- sh: latex: command not found. 
>
> Ok, so I close Mnemosyne and open a shell. I type tex and I get the tex 
> prompt. I type dvipng without parameters and I get Usage, so clearly both 
> are in my path. 
>
> Since I have the shell open, I try open -a Mnemosyne.  I get the same 
> error from Mnemosyne (Problem with latex) but slightly different console 
> output: 
>
> 8/19/16 2:40:29.357 PM appleeventsd[55]: SecTaskLoadEntitlements failed 
> error=22 
> 8/19/16 2:40:29.362 PM launchservicesd[84]: SecTaskLoadEntitlements failed 
> error=22 
> 8/19/16 2:40:29.369 PM launchservicesd[84]: SecTaskLoadEntitlements failed 
> error=22 
> 8/19/16 2:40:31.956 PM Mnemosyne[23258]: WARNING: The Gestalt selector 
> gestaltSystemVersion is returning 10.9.6 instead of 10.11.6. This is not a 
> bug in Gestalt -- it is a documented limitation. Use NSProcessInfo's 
> operatingSystemVersion property to get correct system version number. 
> Call location: 
> 8/19/16 2:40:31.957 PM Mnemosyne[23258]: 0   CarbonCore                   
>        0x00007fff987586df ___Gestalt_SystemVersion_block_invoke + 113 
> 8/19/16 2:40:31.957 PM Mnemosyne[23258]: 1   libdispatch.dylib             
>       0x00007fff86d7440b _dispatch_client_callout + 8 
> 8/19/16 2:40:31.957 PM Mnemosyne[23258]: 2   libdispatch.dylib             
>       0x00007fff86d74303 dispatch_once_f + 67 
> 8/19/16 2:40:31.957 PM Mnemosyne[23258]: 3   CarbonCore                   
>        0x00007fff986e4fbc _Gestalt_SystemVersion + 987 
> 8/19/16 2:40:31.957 PM Mnemosyne[23258]: 4   CarbonCore                   
>        0x00007fff986e47d0 Gestalt + 139 
> 8/19/16 2:40:31.957 PM Mnemosyne[23258]: 5   QtCore                       
>        0x0000000107d091ce _ZN19QProcessEnvironment17systemEnvironmentEv + 
> 31744 
> 8/19/16 2:40:31.958 PM Mnemosyne[23258]: 6   QtCore                       
>        0x0000000107ceec64 _ZN9QSettingsC1ERK7QStringS2_P7QObject + 34 
> 8/19/16 2:40:33.412 PM Mnemosyne[23258]: libpng warning: iCCP: known 
> incorrect sRGB profile 
> 8/19/16 2:40:33.413 PM Mnemosyne[23258]: libpng warning: iCCP: known 
> incorrect sRGB profile 
> 8/19/16 2:40:33.414 PM Mnemosyne[23258]: libpng warning: iCCP: known 
> incorrect sRGB profile 
> 8/19/16 2:40:33.414 PM Mnemosyne[23258]: libpng warning: iCCP: known 
> incorrect sRGB profile 
> 8/19/16 2:40:33.414 PM Mnemosyne[23258]: libpng warning: iCCP: known 
> incorrect sRGB profile 
> 8/19/16 2:40:35.964 PM Mnemosyne[23258]: tmp.dvi: No such file or 
> directory 
> 8/19/16 2:40:35.964 PM Mnemosyne[23258]: This is dvipng 1.15 Copyright 
> 2002-2015 Jan-Ake Larsson 
> 8/19/16 2:40:38.322 PM launchservicesd[84]: SecTaskLoadEntitlements failed 
> error=22 
> 8/19/16 2:40:38.405 PM launchservicesd[84]: SecTaskLoadEntitlements failed 
> error=22 
>
> So now it looks like at least it found both binaries but I don't know how 
> to address the other messages.  Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/5a662481-6faf-448e-b259-5401b7394a37%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to