OpenEnergyPlatform / OpenEnergyPlatform/omi

Add Error Message that compiling backwards to 1.3 is not possible

Open
#15 1 comment 0 reactions 3 assignees View on GitHub

@jh-RLI is already working on this.

Since Oct 5, 2021.

priority: low :sloth: resolution: wontfix :no_entry: status: blocked :stop_sign:
Dominant language
Python
Stars
8
Forks
8
PR merge metrics
No merged PRs in 30d

Description

I tried to parse and compile this file which first fails with the error described in #12 . After changing the null values to dates for testing purposes, I can parse without a problem.

Compiling the parsed metadata back to v1.4 works. Compiling to 1.3 yields this error:

    print(dialect1_3.compile(parsed))
  File ".../omi/env/lib/python3.7/site-packages/omi-0.0.2-py3.7.egg/omi/dialects/base/dialect.py", line 13, in compile
    c = self._compiler()
TypeError: 'NoneType' object is not callable

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.