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

parse_tender_ranked #1

Open
bjornjorgensen opened this issue Jul 6, 2024 · 1 comment
Open

parse_tender_ranked #1

bjornjorgensen opened this issue Jul 6, 2024 · 1 comment

Comments

@bjornjorgensen
Copy link
Owner

2022-945636.xml
(ted_to_ocds_2) bjorn@128:~/github/ted_to_ocds_2$ python main.py
Traceback (most recent call last):
File "/home/bjorn/github/ted_to_ocds_2/main.py", line 2219, in
main(xml_path, ocid_prefix)
File "/home/bjorn/github/ted_to_ocds_2/main.py", line 989, in main
tender_ranked_data = parse_tender_ranked(xml_content)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bjorn/github/ted_to_ocds_2/converters/BT_1711_Tender.py", line 26, in parse_tender_ranked
lot_id = lot_tender.xpath("efac:TenderLot/cbc:ID[@schemeName='Lot']/text()", namespaces=namespaces)[0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

@bjornjorgensen
Copy link
Owner Author

efac:TenderLot
<cbc:ID schemeName="Lot">MISSING</cbc:ID>

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