Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in template file and setLanguage function #48

Open
eamadord opened this issue Nov 17, 2023 · 0 comments
Open

Error in template file and setLanguage function #48

eamadord opened this issue Nov 17, 2023 · 0 comments

Comments

@eamadord
Copy link

When I try to run mapeathor via command line with the example template, I get the following error:
ERROR: The spreadsheet template is not correct. Check the sheet and column names are correct.

After cloning the source and trying to fix the issue, I came across the following errors within the code:

  • In the function reFormatPredicateObject(data) of the mapping_generator.py file, when trying to make the sentence element['language'] = element['language'].lower() , the system halts since the key language does not exist within the data.
  • In global_config.py, the function setMappingLanguage(language) is not called, and therefore the variable templatesDir is not assign. This causes the execution to halt, since later when the mappings are written the value of the directory is non-existent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant