Because cvcreate does validation using a list of countries, a user has to mix Norwegian with English
Mastergrad innen Fysikk fra Padova Universitetet, Italy.
instead of Italia.
The error show the following, which is thrown by the package pycountry:
`$ cv create ./AlessandroMarin_AI_Bymiljo.toml out.pdf -p : --norwegian Traceback (most recent call last):
File "/home/amarin/xal/cvcreator/venv2/bin/cv", line 8, in
sys.exit(cv())
File "/home/amarin/xal/cvcreator/venv2/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(args, kwargs)
File "/home/amarin/xal/cvcreator/venv2/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/amarin/xal/cvcreator/venv2/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/amarin/xal/cvcreator/venv2/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, ctx.params)
File "/home/amarin/xal/cvcreator/venv2/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(args, kwargs)
File "/home/amarin/xal/cvcreator/cvcreator/parser.py", line 64, in create
content = load_vitae(toml_content, badges=badges, norwegian=norwegian,
File "/home/amarin/xal/cvcreator/cvcreator/vitae/content.py", line 67, in load_vitae
content = NorwegianVitaeContent(toml.load(src))
File "pydantic/main.py", line 341, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 2 validation errors for NorwegianVitaeContent
education -> 0 -> country
unexpected value; permitted: 'Aruba', 'Afghanistan'...
Because
cvcreate
does validation using a list of countries, a user has to mix Norwegian with EnglishMastergrad innen Fysikk fra Padova Universitetet, Italy.
instead ofItalia
.The error show the following, which is thrown by the package
pycountry
:`$ cv create ./AlessandroMarin_AI_Bymiljo.toml out.pdf -p : --norwegian
Traceback (most recent call last): File "/home/amarin/xal/cvcreator/venv2/bin/cv", line 8, in