Hi Gabriel I'd be interested to hear about how TeX works with the new 2.4 version. It uses pyinstaller instead of py2app, so the PATH works differently. I had trouble making it access system apps, so if you're able to send any advice, maybe I can fiddle with the code or the packaging to make TeX work better, or make it work at all. Let me know...
On Tue, Aug 23, 2016 at 2:21 AM Devin Howard <[email protected]> wrote: > Sounds good, TeX was taking a long time to download anyways! > > I'll try to figure out how to make the packaged app search system paths > and repackage 2.3.6 in case it comes up for someone else. If I get that > done, I'll send Gabriel a message in the hopes that he can test it out :D > > On Mon, Aug 22, 2016 at 2:49 PM Peter Bienstman <[email protected]> > wrote: > > Hi, > > > > I’m not so sure packaging latex is a good idea, as it’s a big package and > people typically customise it with their own libraries. > > > > Perhaps it’s a simple as making sure the system paths are searched? > > > > Cheers, > > > > Peter > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Devin Howard > *Sent:* 22 August 2016 05:23 > *To:* mnemosyne-proj-users <[email protected]> > *Subject:* [mnemosyne-proj-users] Re: Fixed PATH, still no TeX joy > > > > 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 > <https://groups.google.com/d/msgid/mnemosyne-proj-users/5a662481-6faf-448e-b259-5401b7394a37%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "mnemosyne-proj-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/mnemosyne-proj-users/M4yEorN8vwQ/unsubscribe > . > To unsubscribe from this group and all its topics, 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/fa2cdf2902cb4522a3cf0eea340748ce%40xmail102.UGent.be > <https://groups.google.com/d/msgid/mnemosyne-proj-users/fa2cdf2902cb4522a3cf0eea340748ce%40xmail102.UGent.be?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > -- 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/CAKr60uO1HbmY28n0jD6mqb2cCG-ZY2-%2BJa03b2iT7%3DAbqyZoqQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
