What Do I Do If Files Cannot Be Loaded in the File Selection Box and GUI Buttons Become Unavailable When MindStudio Is Closed Abnormally and then Opened Again?

Symptom

After MindStudio is closed abnormally, files cannot be loaded in the file selection box and GUI buttons become unavailable when MindStudio is opened again.

Fault Analysis

Cache files are damaged after MindStudio is closed abnormally.

Solution

  1. Restart MindStudio and check whether it can be used properly.
    • If yes, no further action is required.
    • If no, go to step 2.
  2. Set the required environment variable.
    • To configure it on Linux, perform the following steps:
      1. Run the vi ~/.bashrc command in any directory as the running user to open the .bashrc file, and append the following content to the file (the default installation path of a non-root user is used as an example):
        export VFS_REBUILD=true
      2. Run the :wq! command to save the file and exit.
      3. Run the source ~/.bashrc command for the modification to take effect immediately.
    • To configure it on Windows, perform the following steps:
      1. In the Windows 10 OS, choose Control Panel > System and Security > System > Advanced system settings.
      2. The System Properties dialog box is displayed. On the Advanced tab page, select Environment Variables..., as shown in Figure 1.
        Figure 1 Environment variables
      3. In the Environment Variables > System variables dialog box, click New... at the bottom.
      4. The New System Variable dialog box is displayed. Enter VFS_REBUILD in Variable name and true in Variable value, and click OK.
      5. After the configuration is complete, click OK in the Environment Variables dialog box to save the configuration and close the dialog box.