A module that formerly worked has stopped working

June 10, 2015
October 12, 2016

A module that formerly worked but now crashes can often be fixed by removing the section for the module in imatest-v2.ini, (or in imatest.ini, multicharts.ini or rescharts.ini prior to Imatest 4.2), as appropriate. Imatest 4.1+ may open an error reporting window when a crash occurs. We recommend sending us the error report before applying the fix.

Note 1:  Reinstalling Imatest rarely solves this type of problem.

Note 2:  rescharts.ini and multicharts.ini have been eliminated in Imatest 4.2+. All settings are stored in imatest-v2.ini, which can be opened for editing from the Imatest, Rescharts, or Multicharts windows. imatest-v2.ini is compatible with non-Latin characters (Asian languages). Changes are described in INI file format changes in 4.2.

Note 3:  To help us prevent similar errors in the future, please send the error report. In most cases an Error reporting window will appear. Follow the instructions, making sure to include your correct email and a brief description of what you were doing. If the Error reporting window fails to appear you can click File, Copy current session, then paste the session into an email to support@imatest.com. If you’ve closed and restarted Imatest since encountering the error, you can click File, Copy last session.

 
Click INI File Settings in the Imatest, Rescharts, or Multicharts window. (In Imatest 4.2+ It makes no difference because all settings are stored in imatest-v2.ini.) Then select INI File Editor.

Prior to Imatest 4.2, click INI File Settings in the

  • Rescharts window if the problem occurred in a Rescharts module (SFRplus Setup, eSFR ISO Setup, Star Chart, Random/Dead Leaves, etc.),
  • Multicharts window if the problem occurred in Multicharts, or
  • Imatest main window for all other cases.

Then select INI FILE Editor  (Edit/reset module(s) in the Settings dropdown menu prior to Imatest 3.9).

This opens the INI File Editor window, shown below.

The INI File Editor is a powerful tool for editing ini (settings) files.
You can often fix a broken (but formerly working) module by selecting the section
corresponding to the module, then clicking Delete section.

Select a section to view, edit, or delete from the Section dropdown menu (near the top). Sections generally correspond to module names. Errors can often be fixed by removing an entire section (this restores the default values) or by editing a single line (if you know what you’re doing).

To fix a problem by resetting a section, Select the section, then press Delete section.

To fix a problem by editing a line, Select the section that contains the line, select the line in the large window, make the change in the line edit window just above the large window, then press Enter.

When you are ready to save the changes press Save, which is grayed out until changes are made. If you with to cancel your changes, press either Reload ini file or Close.

Other solutions

Sometimes the problem is in the image file itself. Matlab has difficulty reading files with bad header data. Look at the command window to see if there are warnings about problems reading the file. You can often fix such problems by “laundering” the file by reading it into an image viewer/editor such as Irfanview (an excellent free program), then saving it with a similar name.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*
Website