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

OMI bug regarding translation #129

Open
1 task
hedwiglieselotte opened this issue May 15, 2023 · 2 comments
Open
1 task

OMI bug regarding translation #129

hedwiglieselotte opened this issue May 15, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@hedwiglieselotte
Copy link

Description of the issue

These are the bugs I found while using OMI to review metadata in DigiPlan.

Steps to Reproduce

  1. I created a metadata file
  2. omi translate -f oep-v1.5 -t oep-v1.5

Ideas of solution

Describe possible ideas for solution and evaluate advantages and disadvantages.

Context and Environment

  • Version used: 0.1.2
  • Operating system: Linux
  • Environment setup and (python) version: 3.10

Workflow checklist

@hedwiglieselotte hedwiglieselotte added the bug Something isn't working label May 15, 2023
@hedwiglieselotte
Copy link
Author

hedwiglieselotte commented May 15, 2023

Exception 1:
omi.dialects.base.parser.ParserException: invalid value for date: 2023-28-03`

@hedwiglieselotte
Copy link
Author

Exception 2:

  File "/home/local/RL-INSTITUT/hedwig.bartels/miniconda3/envs/Metadaten/lib/python3.10/site-packages/omi/dialects/oep/parser.py", line 65, in parse_date_or_none
    raise ParserException(f"invalid type for date: {type(x)}")
omi.dialects.base.parser.ParserException: invalid type for date: <class 'list'>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants