Hello,
I am very very new to Cylc community.
Here is my tutorial issue:
https://cylc.github.io/cylc-doc/latest/html/tutorial/runtime/introduction.html#admonition-7
$ cylc version
8.1.0
$ cylc get-resources tutorial/runtime-introduction
INFO - Extracting tutorial/runtime-tutorial to /home/teemsis/cylc-src/runtime-introduction
$ cd /home/teemsis/cylc-src/runtime-introduction
$ cylc validate --debug .
2023-01-20T16:05:46Z DEBUG - Reading file /home/teemsis/cylc-src/runtime-introduction/flow.cylc
2023-01-20T16:05:46Z DEBUG - Processing with Jinja2
2023-01-20T16:05:47Z DEBUG - Setting Jinja2 template variables:
+ CYLC_TEMPLATE_VARS={'CYLC_VERSION': '8.1.0', 'CYLC_TEMPLATE_VARS': {...}}
+ CYLC_VERSION=8.1.0
2023-01-20T16:05:47Z DEBUG - Expanding [runtime] namespace lists and parameters
2023-01-20T16:05:47Z DEBUG - Parsing the runtime namespace hierarchy
2023-01-20T16:05:47Z DEBUG - Parsing [special tasks]
2023-01-20T16:05:47Z DEBUG - Parsing the dependency graph
Instantiating tasks to check trigger expressions
2023-01-20T16:05:47Z DEBUG - Loading site/user config files
+ 20000101T0000Z/get_observations_camborne ok
+ 20000101T0000Z/consolidate_observations ok
+ 20000101T0000Z/get_observations_heathrow ok
+ 20000101T0000Z/get_observations_shetland ok
+ 20000101T0000Z/get_observations_aldergrove ok
+ 20000101T0000Z/forecast ok
+ 20000101T0000Z/get_rainfall ok
+ 20000101T0000Z/process_exeter ok
Valid for cylc-8.1.0
$ cylc install
INSTALLED runtime-introduction/run1 from /home/teemsis/cylc-run/runtime-introduction
$ cylc play --debug runtime-introduction
2023-01-20T16:21:48Z DEBUG - Loading site/user config files
▪ ■ Cylc Workflow Engine 8.1.0
██ Copyright (C) 2008-2023 NIWA
▝▘ & British Crown (Met Office) & Contributors
2023-01-20T16:21:48Z DEBUG - /home/teemsis/cylc-run/runtime-introduction/run4/log/scheduler: directory created
2023-01-20T16:21:48Z DEBUG - /home/teemsis/cylc-run/runtime-introduction/run4/log/job: directory created
2023-01-20T16:21:48Z DEBUG - /home/teemsis/cylc-run/runtime-introduction/run4/log/config: directory created
2023-01-20T16:21:48Z DEBUG - /home/teemsis/cylc-run/runtime-introduction/run4/share: directory created
2023-01-20T16:21:48Z DEBUG - /home/teemsis/cylc-run/runtime-introduction/run4/work: directory created
2023-01-20T16:21:48Z INFO - Extracting job.sh to /home/teemsis/cylc-run/runtime-introduction/run4/.service/etc/job.sh
Then, the tutorial says:
The tasks will start to run - you should see them going through the *waiting*, *running* and *succeeded* states. The *preparing* and *submitted* states may be too quick to notice.
But, my job seems in state stopped
(looked with cylc tui
) and when I try to play again, here is my issue:
Traceback (most recent call last):
File "/opt/mambaforge-pypy3/lib/pypy3.9/site-packages/cylc/flow/workflow_db_mgr.py", line 771, in _get_last_run_ver
last_run_ver = self._get_last_run_version(pri_dao)
File "/opt/mambaforge-pypy3/lib/pypy3.9/site-packages/cylc/flow/workflow_db_mgr.py", line 697, in _get_last_run_version
return pri_dao.connect().execute(
TypeError: 'NoneType' object is not subscriptable (key 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/mambaforge-pypy3/bin/cylc", line 10, in <module>
sys.exit(main())
File "/opt/mambaforge-pypy3/lib/pypy3.9/site-packages/cylc/flow/scripts/cylc.py", line 653, in main
execute_cmd(command, *cmd_args)
File "/opt/mambaforge-pypy3/lib/pypy3.9/site-packages/cylc/flow/scripts/cylc.py", line 286, in execute_cmd
entry_point.resolve()(*args)
File "/opt/mambaforge-pypy3/lib/pypy3.9/site-packages/cylc/flow/terminal.py", line 232, in wrapper
wrapped_function(*wrapped_args, **wrapped_kwargs)
File "/opt/mambaforge-pypy3/lib/pypy3.9/site-packages/cylc/flow/scheduler_cli.py", line 624, in play
return _play(parser, options, id_)
File "/opt/mambaforge-pypy3/lib/pypy3.9/site-packages/cylc/flow/scheduler_cli.py", line 634, in _play
return scheduler_cli(options, id_)
File "/opt/mambaforge-pypy3/lib/pypy3.9/site-packages/cylc/flow/scheduler_cli.py", line 378, in scheduler_cli
if not _version_check(
File "/opt/mambaforge-pypy3/lib/pypy3.9/site-packages/cylc/flow/scheduler_cli.py", line 461, in _version_check
last_run_version = wdbm.check_workflow_db_compatibility()
File "/opt/mambaforge-pypy3/lib/pypy3.9/site-packages/cylc/flow/workflow_db_mgr.py", line 799, in check_workflow_db_compatibility
last_run_ver = self._get_last_run_ver(pri_dao)
File "/opt/mambaforge-pypy3/lib/pypy3.9/site-packages/cylc/flow/workflow_db_mgr.py", line 773, in _get_last_run_ver
raise ServiceFileError(f"{INCOMPAT_MSG}, or is corrupted.")
cylc.flow.exceptions.ServiceFileError: Workflow database is incompatible with Cylc 8.1.0, or is corrupted.
Could you help be to understand what cylc.flow.exceptions.ServiceFileError: Workflow database is incompatible with Cylc 8.1.0, or is corrupted.
error means, please?
Best,
Teemsis