You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: Trying to build the tasks with CMS uninstalled is not working. Are these examples supposed to build?
Steps to reproduce:
clone the repository: git clone https://github.com/cms-dev/con_test.git
make a task: cd con_test/batch && cmsMake -a
Expected:
The task should have been build successfully.
Actual:
It didn't (see the errors below).
Logs
$ cmsMake -a
2023-07-09 21:05:05,648 - WARNING [<unknown>] No configuration file found: falling back to default values.
Traceback (most recent call last):
File "venv/cms/bin/cmsMake", line 11, in <module>
load_entry_point('cms==1.4rc1', 'console_scripts', 'cmsMake')()
File "venv/cms/lib/python3.6/site-packages/cms-1.4rc1-py3.6.egg/cmstaskenv/cmsMake.py", line 730, in main
actions = build_action_list(base_dir, task_type, yaml_conf)
File "venv/cms/lib/python3.6/site-packages/cms-1.4rc1-py3.6.egg/cmstaskenv/cmsMake.py", line 562, in build_action_list
gen_actions, in_out_files = build_gen_list(base_dir, task_type, yaml_conf)
File "venv/cms/lib/python3.6/site-packages/cms-1.4rc1-py3.6.egg/cmstaskenv/cmsMake.py", line 397, in build_gen_list
raise Exception("Couldn't find generator")
Exception: Couldn't find generator
I have tried adding a file called generator.cpp, but I was getting the same error. The error disappeared if I renamed the file generatore.cpp (Italian name).
At that point, though, another error popped up, which was the lack of validator. Fixing also that lead to this error:
$ cmsMake -a
2023-07-09 21:34:41,768 - WARNING [<unknown>] No configuration file found: falling back to default values.
Traceback (most recent call last):
File "venv/cms/bin/cmsMake", line 11, in <module>
load_entry_point('cms==1.4rc1', 'console_scripts', 'cmsMake')()
File "venv/cms/lib/python3.6/site-packages/cms-1.4rc1-py3.6.egg/cmstaskenv/cmsMake.py", line 731, in main
exec_tree, generated_list = build_execution_tree(actions)
File "venv/cms/lib/python3.6/site-packages/cms-1.4rc1-py3.6.egg/cmstaskenv/cmsMake.py", line 614, in build_execution_tree
raise Exception("Target %s not unique" % (exe))
Exception: Target sol/solution not unique
disappeared
System Information
CMS version:v1.4.rc1 (latest stable) Was CMS installed: no Using a virtualenv: yes Postgres version: N/A Distribution and version: N/A
The text was updated successfully, but these errors were encountered:
Description: Trying to build the tasks with CMS uninstalled is not working. Are these examples supposed to build?
Steps to reproduce:
git clone https://github.com/cms-dev/con_test.git
cd con_test/batch && cmsMake -a
Expected:
The task should have been build successfully.
Actual:
It didn't (see the errors below).
Logs
I have tried adding a file called
generator.cpp
, but I was getting the same error. The error disappeared if I renamed the filegeneratore.cpp
(Italian name).At that point, though, another error popped up, which was the lack of validator. Fixing also that lead to this error:
disappeared
System Information
CMS version:
v1.4.rc1
(latest stable)Was CMS installed: no
Using a virtualenv: yes
Postgres version: N/A
Distribution and version: N/A
The text was updated successfully, but these errors were encountered: