Runtime error: error code (9230)

LYCIA


Problem

'The error code (9230) was received. Invalid form: root container is missing.'

Solution

This error can occur in runtime if the fm2 form has been created with Lycia3 version prior to 7.1.2161 and then used with higher version of Lycia3.
It's caused by changes in the fm2 form file format introduced in Lycia3. 
To fix the error, you need to convert fm2 forms into a new format as described below.

Backup your project source tree prior to making any changes.

Windows

  1. Close LyciaStudio.
  2. Navigate to a project folder.
  3. Delete all content of the ‘output’ folder.
  4. Download the following .zip archive (choose the respective bit type):
    qxcompat-x32-win.zip
    qxcompat-x64-win.zip
  5. Extract archive content into the project folder.
  6. Run Lycia Command Line and navigate to the project directory.
  7. Run qxcompat-[x32|x64]-win.bat
    All fm2 forms under the project directory will be converted into a new fm2 format.

Linux

  1. Close LyciaStudio.
  2. Navigate to a project folder.
  3. Delete all content of the ‘output’ folder.
  4. Download the following .zip archive (choose the respective bit type):
    qxcompat-x32-lnx.zip
    qxcompat-x64-lnx.zip
  5. Extract archive content into the project folder.
  6. Make the files from archive executable by running the following command: chmod +x qxcompat*
  7. Source Lycia3 environment by running command: . $LYCIA_DIR/environ
  8. Run qxcompat-[x32|x64]-lnx.sh
    All fm2 forms under the project directory will be converted into the new fm2 format.