​​The Cambridge Crystallographic Data Centre (CCDC).
The CCDC websites use cookies. By continuing to browse the site you are agreeing to our use of cookies. For more details about cookies and how to manage them, see our  cookie policy.

Mercury, Hermes or CrossMiner 2023.1 crashes after running for 5 minutes

Solution

By default Mercury, Hermes and CrossMiner automatically check for updates after they have been running for 5 minutes. In the 2023.1 release this can cause error messages or crashes if it fails for any reason, including:

  • The system is not connected to the internet or a firewall is blocking access to the repositories
  • The user does not have write access to the cache (usually in this case they would be unable to install the updates anyway)
  • The software has been installed with the offline installer and no local repository has been created
  • The repositories have been configured incorrectly

The simplest way to disable the automated update check is via Help -> Check For Updates in the program's GUI, but if this is not working for you then it is also possible to disable it by editing the program's configuration file manually. This config file is stored in a (hidden) subdirectory of your home directory.

  • Windows: %USERPROFILE%\AppData\Roaming\CCDC
  • Linux: ~/.config/CCDC
  • Mac: ~/Library/Preferences/CCDC

The name of the file is Mercury.ini, Hermes.ini or CSD-CrossMiner.ini. Close the CCDC program which uses this file (e.g. close Mercury before editing Mercury.ini) and open the file in a text editor. Search for the string automatic_check_for_updates. For Mercury or CrossMiner there will be a line

automatic_check_for_updates=true

For Hermes it will be

general_application_settings\automatic_check_for_updates=true

Change the word "true" to "false" and save the file. If you use more than one of Mercury, Hermes and CrossMiner repeat this process for each program.

This issue is resolved in version 2023.2