You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run kohlrahbi ahb --assume-yes --edi-energy-mirror-path edi_energy_mirror --output-path ./machine-readable_anwendungshandbuecher/FV2504 --format-version FV2504 --file-type flatahb --file-type csv --file-type xlsx
Created directory /home/runner/work/edi_energy_mirror/edi_energy_mirror/machine-readable_anwendungshandbuecher/FV2504.
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.11.9/x64/bin/kohlrahbi", line 8, in
sys.exit(cli())
^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/kohlrahbi/ahb/command.py", line 109, in ahb
scrape_pruefis(
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/kohlrahbi/ahb/init.py", line 229, in scrape_pruefis
pruefi_to_file_mapping = get_pruefi_to_file_mapping(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/kohlrahbi/ahb/init.py", line 207, in get_pruefi_to_file_mapping
pruefi_to_file_mapping = find_pruefidentifikatoren(path_to_docx_files)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/kohlrahbi/ahb/init.py", line 142, in find_pruefidentifikatoren
pruefis.update(extract_pruefis_from_docx(docx_path))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/kohlrahbi/ahb/init.py", line 157, in extract_pruefis_from_docx
pruefis.update({pruefi: docx_path.name for pruefi in extract_pruefis_from_table(item)})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/kohlrahbi/ahb/init.py", line 185, in extract_pruefis_from_table
seed = Seed.from_table(docx_table=table)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/kohlrahbi/seed.py", line 43, in from_table
table_header = TableHeader.from_header_cell(row_cell=header_cell_with_all_pruefi_information)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/kohlrahbi/table_header.py", line 107, in from_header_cell
collector = cls.initialize_collector(paragraph=last(row_cell.paragraphs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.11.9/x64/lib/python3.11/site-packages/kohlrahbi/table_header.py", line 176, in initialize_collector
raise ValueError("collector should not be empty")
ValueError: collector should not be empty
The text was updated successfully, but these errors were encountered:
Problem is this new line in the APERAK/CONTRL AHB:
FV2504:
as compared to
FV2410:
The line "Prüfidentifikator" in the table header hints for pruefis to be found in the table. However, there are no pruefis and the error above is returned.
See: https://github.com/Hochfrequenz/edi_energy_mirror/actions/runs/9678763969/job/26703242865
based on the data in Hochfrequenz/edi_energy_mirror@0cbf3a4 with kohlrahbi version 1.1.3
The text was updated successfully, but these errors were encountered: