Below is an overview of all parsing and processing issues that appeared while importing the data.
Below is an overview of all parsing and processing issues that appeared while importing the data.
Go back to the global issues overview or view the dataset page.
Issue #c772f1e06ebb95f0ae7f3f2f92b44de7f24071d0: black_sea_mou_psc| exception | Traceback (most recent call last):
File "/opensanctions/zavod/zavod/crawl.py", line 36, in crawl_dataset
entry_point(context)
File "${ZAVOD_DATASETS_PATH}/_global/black_sea_mou/psc/crawler.py", line 63, in crawl
crawl_psc_records(
File "/opensanctions/zavod/zavod/shed/bs_tokyo_mou_psc.py", line 198, in crawl_psc_records
crawl_vessel_page(context, str(shipuid), headers, getships_url)
File "/opensanctions/zavod/zavod/shed/bs_tokyo_mou_psc.py", line 142, in crawl_vessel_page
inspection_table = h.xpath_element(
^^^^^^^^^^^^^^^^
File "/opensanctions/zavod/zavod/helpers/html.py", line 164, in xpath_element
return xpath_elements(el, xpath, expect_exactly=1)[0]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opensanctions/zavod/zavod/helpers/html.py", line 154, in xpath_elements
raise ValueError(
ValueError: Expected 1 elements, got 0 for xpath "//h2[text()='Inspection data']/following-sibling::table[1]" |
|---|---|
| dataset | black_sea_mou_psc |
| exc_info | True |