# Imatest Stops Working – Advanced Troubleshooting

July 11, 2017
July 11, 2017

### Recovering Mathworks Log Files

Please recover this log file and send to support@imatest.com

The log file name is called “mathworks_<username>.log”. Where <username> is the username of the user that ran the installer. Please see the instructions below to locate the log file depending on your OS.

Windows 10 \ Windows 8 \ Windows 7 \ Windows Vista

The installer log file will be located in the AppData\Local\Temp directory under the user account who ran the installer. The full path, as an example, is:

C:\Users\<username>\AppData\Local\Temp


A shortcut to get to this path is to enter the following into the address bar of File Explorer window, then press Enter:

%tmp%


Windows XP:

The directory is:

C:\Documents and Settings\<username>\Local Settings\Temp\mathworks_<username>.log


Linux:

The log file will be located at the following location:

/tmp/mathworks_<username>.log


Mac OS X:

Follow these steps to retrieve the installer log file on a Mac:

2. Open a Terminal window (you can use Spotlight Search to find Terminal)

3. Copy and paste the following command, and press enter to run it in Terminal. Do not edit the command, run it exactly how it appears below:

cp $TMPDIR/mathworks_$USER.log ~/Desktop


This will create a copy of the installer log file on the desktop. If the command fails, this means the installer log file is not being created. This could indicate that the installer is starting at all, and is thus not able to write the log file. If that is the case, additional information may be able to be obtained from the Console:

Applications – Utilities – Console (or use Spotlight Search to find the Console application)

Use the ‘Clear display’ button to clear out previous console messages. Then try running the installer again and see what is recorded in the console. You can save this information from console. This output may be helpful in addition to the installer log file.

All operating systems:

Forcing the creation of the log file in a specific location:

If the installer is not creating a log file, then you may need to create your own. You can run the installer in command prompt or terminal with a flag to force a log file to be created. You could use a command like the following to do this:

Windows:

/full/path/to/setup.exe -outputfile “C:\path\to\logfile.log”

or

Linux/Mac:

./install -outputfile /path/to/logfile.log

As a note, you can drag the installer into command prompt or terminal and command prompt will automatically populate the path of the installer for you. When defining where the log file will go, make sure it is a directory that you have write permissions. You may need to run command prompt as administrator (Windows) or the installer as sudo (Linux/Mac) in order to do this.

This site uses Akismet to reduce spam. Learn how your comment data is processed.