-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
In https://github.com/esm-tools/esm_tools/tree/awicm-3-frontiers-frozen I'm preparing for the upcoming freeze of AWICM 3.0.
I renamed a bunch of esm_tools awicm3 versions that had names that were all over the place. The new tagged version is supposed to be called 3.0:
available_versions:
- '3.0'
- 'master'
- 'frontiers'
- 'frontiers-xios'
- 'deck'
When running esm_master after making the changes I get:
Traceback (most recent call last):
File "/home/ollie/jstreffi/.local/bin/esm_master", line 8, in <module>
sys.exit(main())
File "/home/ollie/jstreffi/.local/lib/python3.7/site-packages/esm_master/cli.py", line 103, in main
main_flow(parsed_args, target)
File "/home/ollie/jstreffi/.local/lib/python3.7/site-packages/esm_master/esm_master.py", line 29, in main_flow
setups2models = setup_and_model_infos(vcs, main_infos, parsed_args)
File "/home/ollie/jstreffi/.local/lib/python3.7/site-packages/esm_master/compile_info.py", line 372, in __init__
self.all_packages = self.list_all_packages(vcs, general)
File "/home/ollie/jstreffi/.local/lib/python3.7/site-packages/esm_master/compile_info.py", line 509, in list_all_packages
no_infos=True,
File "/home/ollie/jstreffi/.local/lib/python3.7/site-packages/esm_master/software_package.py", line 33, in __init__
None, self.kind, self.model, self.version
File "/home/ollie/jstreffi/.local/lib/python3.7/site-packages/esm_master/compile_info.py", line 597, in assemble_raw_name
raw = raw + sep + version
TypeError: can only concatenate str (not "float") to str
The error seems similar in nature to #71 A case of python thinking it's smart and converting a string that looks like a float into a float. Unless of course I'm mistaken and the actually error is somewhere else entirely. Which is possible given that I just changed the names and versions of dozens of things as once.
+---------------------+-----------+---------------------------------------------------------+--------------------------+----------------------+
| package_name | version | file | branch | tags |
|---------------------+-----------+---------------------------------------------------------+--------------------------+----------------------|
| esm_calendar | 5.0.0 | /home/ollie/jstreffi/.local/lib/python3.7/site-packages | | |
| esm_database | 5.0.0 | /home/ollie/jstreffi/.local/lib/python3.7/site-packages | | |
| esm_environment | 5.1.1 | /home/ollie/jstreffi/.local/lib/python3.7/site-packages | | |
| esm_master | 5.1.3 | /home/ollie/jstreffi/.local/lib/python3.7/site-packages | | |
| esm_motd | 5.0.2 | /home/ollie/jstreffi/.local/lib/python3.7/site-packages | | |
| esm_parser | 5.1.7 | /home/ollie/jstreffi/.local/lib/python3.7/site-packages | | |
| esm_plugin_manager | 5.0.1 | /home/ollie/jstreffi/.local/lib/python3.7/site-packages | | |
| esm_profile | 5.0.0 | /home/ollie/jstreffi/.local/lib/python3.7/site-packages | | |
| esm_rcfile | 5.1.0 | /home/ollie/jstreffi/.local/lib/python3.7/site-packages | | |
| esm_runscripts | 5.1.27 | /home/ollie/jstreffi/.local/lib/python3.7/site-packages | | |
| esm_tools | 5.0.12 | /home/ollie/jstreffi/esm_tools | awicm-3-frontiers-frozen | v5.0.12-351-g48a7d2c |
| esm_version_checker | 5.1.4 | /home/ollie/jstreffi/.local/lib/python3.7/site-packages | | |
+---------------------+-----------+---------------------------------------------------------+--------------------------+----------------------+
Metadata
Metadata
Assignees
Labels
No labels