lve-org/lve

lve commit not working properly

Closed this issue · 2 comments

ayukh commented

I had troubles using lve commit for past couple of weeks, the latest lve version is throwing pydantic errors. Looks like there is an issue when auto-filling read.me file for a new LVE:

File "lve\lve-tools\lve_tools\lve\cli\readme.py", line 131, in get_readme_update
    readme_content = patch_readme(readme_content, lve)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "lve\lve-tools\lve_tools\lve\cli\readme.py", line 68, in patch_readme
    instance = TestInstance(**json.loads(line))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Input should be a valid string [type=string_type, input_value=None, input_type=NoneType]
    For further information visit https://errors.pydantic.dev/2.4/v/string_type

@ayukh Could you check if it works now? I think it might be fixed with my last commit.

ayukh commented

@mbalunovic yes, it works ok now, thanks!