.. toctree:: :caption: Troubleshooting :maxdepth: 1 /troubleshooting/error-codes ############### Troubleshooting ############### Changing the job status with Autosubmit stopped =============================================== Review :ref:`setstatus`. Changing the job status while Autosubmit runs ============================================= Review :ref:`setstatusno`. My project parameters are not being substituted in the templates ================================================================ *Explanation*: If there is a duplicated section or option in any other side of autosubmit, including proj files, it won't be able to recognize which option pertains to what section in which file. *Solution*: Don't repeat section names and parameters names until Autosubmit 4.0 release. Unable to recover remote logs files =================================== *Explanation*: If there are limitations on the remote platform regarding multiple connections. *Solution*: You can try DISABLE_RECOVERY_THREADS: TRUE under the platform_name: section in the platforms_.yml. Error on create caused by a configuration parsing error ======================================================= When running create, you can come across an error similar to: :: [ERROR] Trace: '%' must be followed by '%' or '(', found: u'%HPCROOTDIR%/remoteconfig/%CURRENT_ARCH%_launcher.sh' The important part of this error is the message ``'%' must be followed by '%'``. It indicates that the source of the error is the ``configparser`` library. This library is included in the python common libraries, so you shouldn't have any other version of it installed in your environment. Execute ``pip list``, if you see ``configparser`` in the list, then run ``pip uninstall configparser``. Then, try to create your experiment again. Error when using jobs..VALIDATE: True ========================================== When using the ``VALIDATE: True`` option in your job configuration, you might encounter errors related to syntax issues in the generated Python script for that job. This validation checks if your script is compatible with autosubmit and will print any errors it finds. To get rid of this error, you need to fix the syntax issues in your job script. The error message will indicate the specific line and type of syntax error that needs to be addressed. Example of how to enable validation for a job in your configuration: .. tab-set-code:: .. code-block:: yaml JOBS: JOB: FILE: VALIDATE: True Example output of the command: .. code-block:: none [CRITICAL] Syntax error in generated Python script for job t006_LOCAL_SETUP: unexpected indent (, line 45) [eCode=7014] Other possible errors ===================== **I see the ``database malformed`` error on my experiment log.** *Explanation*: The latest version of autosubmit uses a database to efficiently track changes in the jobs of your experiment. It could have happened that this small database got corrupted. *Solution*: run ``autosubmit dbfix `` where ```` is the identifier of your experiment. This function will rebuild the database saving as much information as possible (usually all of it). Error codes =========== The latest version of **Autosubmit** implements a code system that guides you through the process of fixing some of the common problems you might find. Check :doc:`error-codes`, where you will find the list of error codes, their descriptions, and solutions. Changelog ========= For the changes in each release, see the `CHANGELOG on GitHub`_, which is always up to date. The :doc:`changelog page ` in these docs also covers migrating configuration from Autosubmit 3 to 4. .. _CHANGELOG on GitHub: https://github.com/BSC-ES/autosubmit/blob/master/CHANGELOG.md