Wendy,

Your procedure worked just fine. The question I have now is, will I need to clear out the "UseAppTranslocation" flag every time I run GMAT under Mac OS x Sierra, or this just a one time procedure?

Sam Dupree.


On November/02/2016 17:03:19, Shoan, Wendy C. (GSFC-5830) wrote:
mail-signature

Sam,

We have a team member who was able to reproduce this on Sierra. Here is his analysis and instructions:

“This is an app "translocation" issue in Sierra. Basically, Sierra is setting a flag in the extended file system to run unsigned apps from a different location from the location of the application the user selects, when the unsigned app is first installed. Sierra also makes a copy of the app in the crazy location it has selected.

The solution is simple, but must be followed exactly:

•Open Finder.

•Browse to the location of the .app.

•_Using Finder_, drag and drop the app to a different location (e.g. the desktop).

•Drag and drop the app back into the correct location (the bin folder for GMAT).

The first bullet here is critical. This needs to be done from finder. There is a "UseAppTranslocation" flag in Sierra that Finder clears when the app (and only the app) is dragged to a new location. It looked to me like this drag/drop also deleted the translocation copy of the app that was trying to run and not finding the startup file.

Note: Moving the folder containing the app will not clear the flag. The app itself MUST be moved.”

HTH,

Wendy

/=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/

/Views expressed are my own and do not necessarily/

/reflect  those of my employer, or anyone else./

/=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/

/Wendy C. Shoan     301.286.6263/

/NASA/GSFC Code 583     Greenbelt MD 20771/

/wendy.c.sh...@nasa.gov/

/=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/

*From: *Samuel Dupree <sdup...@speakeasy.net>
*Organization: *XayDeltaOne
*Date: *Wednesday, 02 November, 2016 at 11:55 AM
*To: *"Shoan, Wendy C. (GSFC-5830)" <wendy.c.sh...@nasa.gov>, "gmat-users@lists.sourceforge.net" <gmat-users@lists.sourceforge.net> *Subject: *Re: [Gmat-users] Attempting to run GMAT-R2016a-Beta.app on Mac Pro under Mac OS X 10.12.1

Wendy,

I can run the GmatConsole from a Terminal window, but I don't get any graphics.

One more observation. In running the GmatConsole in a Terminal window, I noticed a message from GMAT:

*** Library "../plugins/libMatlabInterface" did not open.

I checked the R2016a subdirectory and lo and behold the plugins subdirectory is missing. Can I use the plugins subdirectory GMAT-R2015a in R2016a?

Hope this helps.

Sam Dupree.

On November/02/2016 11:26:08, Shoan, Wendy C. (GSFC-5830) wrote:

    Sam,

    We will have to investigate this, as we have not yet been able to
    reproduce it.

    In the meantime, can you successfully run the GmatConsole from a
    Terminal window?

    Thanks
    Wendy

    *From: *Samuel Dupree <sdup...@speakeasy.net>
    <mailto:sdup...@speakeasy.net>
    *Organization: *XayDeltaOne
    *Date: *Wednesday, 02 November, 2016 at 10:14 AM
    *To: *"Shoan, Wendy C. (GSFC-5830)" <wendy.c.sh...@nasa.gov>
    <mailto:wendy.c.sh...@nasa.gov>,
    "gmat-users@lists.sourceforge.net"
    <mailto:gmat-users@lists.sourceforge.net>
    <gmat-users@lists.sourceforge.net>
    <mailto:gmat-users@lists.sourceforge.net>
    *Subject: *Re: [Gmat-users] Attempting to run GMAT-R2016a-Beta.app
    on Mac Pro under Mac OS X 10.12.1

    Wendy,

    The bin folder resides in the /Users/user/GMAT/R2016a/ directory.
    Its contents are:

        gmat_startup_file.txt
        GMAT-R2016a_Beta.app
        GMAT.ini
        GmatConsole aliased to
    /Users/user/GMAT/R2016a/bin/GmatConsole-R2016a
        GmatConsole-R2016a
        libCInterface.dylib aliased to
    /Users/user/GMAT/R2016a/bin/libCInterface.R2016a.dylib
        libCInterface.R2016a.dylib

    As for the opening procedure you asked me to perform, I'm still
    getting the same error.

    Hope this helps.

    Sam Dupree.

    On November/02/2016 10:00:37, Shoan, Wendy C. (GSFC-5830) wrote:

        Sam,

        I don’t know why this would be happening.  There is perhaps
        some issue unpacking the archive.

        When you go (using the Finder) to the actual place that you
        unzipped the archive, go to the bin directory, right-click on
        the Gmat-R2016a_Beta.app, and select ‘Open’, what happens?

        Also, what are the contents of that bin folder?

        Wendy

        *From: *Samuel Dupree <sdup...@speakeasy.net>
        <mailto:sdup...@speakeasy.net>
        *Organization: *XayDeltaOne
        *Date: *Wednesday, 02 November, 2016 at 9:28 AM
        *To: *"Shoan, Wendy C. (GSFC-5830)" <wendy.c.sh...@nasa.gov>
        <mailto:wendy.c.sh...@nasa.gov>,
        "gmat-users@lists.sourceforge.net"
        <mailto:gmat-users@lists.sourceforge.net>
        <gmat-users@lists.sourceforge.net>
        <mailto:gmat-users@lists.sourceforge.net>
        *Subject: *Re: [Gmat-users] Attempting to run
        GMAT-R2016a-Beta.app on Mac Pro under Mac OS X 10.12.1

        Wendy,

        I download and unzipped a fresh copy of GMAT for the Mac from
        sourceforge. Although the subdirectory under the
        
/private/var/folders/65/7cxpqns144q6wx5lyb7zcyh80000gq/T/AppTranslocation/
        is different, I still get the same result. GMAT-2016a_Beta for
        whatever reason is copying itself to this subdirectory and and
        is attempting to read the startup file from there.

        Please advise.

        Sam Dupree.

        P.S. - out of curiosity what is the difference between
        GMAT-R2015a_Beta and GMAT-R2016a_Beta? The R2015a appears to
        run fine under Mac OS X Sierra (v. 10.12.1) while R2016a does
        not. Something must be different between the two and that
        difference manifests itself during startup under Mac OS X
        Sierra, but what could it be?

        On November/02/2016 08:53:40, Shoan, Wendy C. (GSFC-5830) wrote:

            Sorry – I meant 10/26.

            /=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/

            /Views expressed are my own and do not necessarily/

            /reflect  those of my employer, or anyone else./

            /=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/

            /Wendy C. Shoan     301.286.6263/

            /NASA/GSFC Code 583     Greenbelt MD 20771/

            /wendy.c.sh...@nasa.gov <mailto:wendy.c.sh...@nasa.gov>/

            /=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/

            *From: *"Shoan, Wendy C. (GSFC-5830)"
            <wendy.c.sh...@nasa.gov> <mailto:wendy.c.sh...@nasa.gov>
            *Date: *Wednesday, 02 November, 2016 at 7:54 AM
            *To: *Samuel Dupree <sdup...@speakeasy.net>
            <mailto:sdup...@speakeasy.net>,
            "gmat-users@lists.sourceforge.net"
            <mailto:gmat-users@lists.sourceforge.net>
            <gmat-users@lists.sourceforge.net>
            <mailto:gmat-users@lists.sourceforge.net>
            *Subject: *Re: [Gmat-users] Attempting to run
            GMAT-R2016a-Beta.app on Mac Pro under Mac OS X 10.12.1

            Sam,

            There is nothing in the code or bundle that would cause
            the app itself to be copied there, so that is a mystery.

            We replaced the original Mac package on SourceForge with
            an updated zip archive late last Wednesday (10/16). Please
            download that one and try it to see if it works for you.

            Thanks

            Wendy

            /=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/

            /Views expressed are my own and do not necessarily/

            /reflect  those of my employer, or anyone else./

            /=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/

            /Wendy C. Shoan     301.286.6263/

            /NASA/GSFC Code 583     Greenbelt MD 20771/

            /wendy.c.sh...@nasa.gov <mailto:wendy.c.sh...@nasa.gov>/

            /=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/

            *From: *Samuel Dupree <sdup...@speakeasy.net>
            <mailto:sdup...@speakeasy.net>
            *Organization: *XayDeltaOne
            *Date: *Tuesday, 01 November, 2016 at 10:15 PM
            *To: *"Shoan, Wendy C. (GSFC-5830)"
            <wendy.c.sh...@nasa.gov> <mailto:wendy.c.sh...@nasa.gov>,
            "gmat-users@lists.sourceforge.net"
            <mailto:gmat-users@lists.sourceforge.net>
            <gmat-users@lists.sourceforge.net>
            <mailto:gmat-users@lists.sourceforge.net>
            *Subject: *Re: [Gmat-users] Attempting to run
            GMAT-R2016a-Beta.app on Mac Pro under Mac OS X 10.12.1

            Wendy,

            I downloaded GMAT-R2016a_Beta.app after the announcement
            of GMAT-2016a was posted. The GMAT-2016a was left intact
            in my home directory after unzipping the download. It
            appears that GMAT-2016a_Beta is somehow copying itself to
            a subdirectory under /private.

            Please advise.

            Sam Dupree.





            On November/01/2016 12:49:20, Shoan, Wendy C. (GSFC-5830)
            wrote:

                Sam,

                I have never seen an error like this.

                Some comments/questions:

                1.GMAT-R2016a_Beta.app and GmatConsole were not tested
                on Sierra.  Since you say that R2015a works on Sierra,
                though, I would not expect an issue with this release.

                2.This looks like it is looking in a temporary folder
                for the startup file (because of #3 below).

                3.It looks like your GMAT-R2016a_Beta.app is somehow
                in this temporary folder.  I am not sure how that
                would have happened.

                4.The GMAT-R2016a_Beta.app and GmatConsole must remain
                in the bin folder for them to work.  The gmat startup
                file needs to be in the bin folder as well.  In fact,
                all of the GMAT files need to remain where they unzip
                to, relative to each other.

                5.When did you download from SourceForge?  There was a
                zipped version put out there last Thursday – try that
                one, if that’s not what you have.

                Wendy

                /=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/

                /Views expressed are my own and do not necessarily/

                /reflect  those of my employer, or anyone else./

                /=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/

                /Wendy C. Shoan     301.286.6263/

                /NASA/GSFC Code 583     Greenbelt MD 20771/

                /wendy.c.sh...@nasa.gov <mailto:wendy.c.sh...@nasa.gov>/

                /=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/

                *From: *Samuel Dupree <sdup...@speakeasy.net>
                <mailto:sdup...@speakeasy.net>
                *Organization: *XayDeltaOne
                *Date: *Thursday, 27 October, 2016 at 11:42 PM
                *To: *"gmat-users@lists.sourceforge.net"
                <mailto:gmat-users@lists.sourceforge.net>
                <gmat-users@lists.sourceforge.net>
                <mailto:gmat-users@lists.sourceforge.net>
                *Subject: *[Gmat-users] Attempting to run
                GMAT-R2016a-Beta.app on Mac Pro under Mac OS X 10.12.1

                I'm attempting to run GMAT-2016a-Brya.app on a Mac Pro
                running Mac OS X

                ver. 10.12.1 (Sierra). GMAT-2016a-Beta.app crashes.
                The message

                displayed on the splash screen I've attached as
                screenshot to this note.

                In looking further into message displayed, I observed
                that the startup

                file was not created in the subdirectory cited in the
                message:

                Samuels-Mac-Pro:d user$ pwd

                
/private/var/folders/65/7cxpqns144q6wx5lyb7zcyh80000gq/T/AppTranslocation/88104F28-25AC-4BEE-8730-D1C97F0A26A2/d

                Samuels-Mac-Pro:d user$ ls -l

                total 0

                drwxr-xr-x@ 3 user  staff  102 Oct 27 23:04
                GMAT-R2016a_Beta.app

                Samuels-Mac-Pro:d user$

                One more point; the R2015a version of GMAT-Beta.app
                for the Mac starts

                up successfully on a Mac Pro under Mac OS X Sierra.

                Please advise.

                Sam Dupree.


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
GMAT-users mailing list
GMAT-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gmat-users

Reply via email to