Wiktionary data extraction errors and warnings

=== EXCEPTION while parsing page "COPOM" in process SpawnProcess-222

Return to 'Other Errors'

=== EXCEPTION while parsing page "COPOM" in process SpawnProcess-222

COPOM (Português top-level) === EXCEPTION while parsing page "COPOM" in process SpawnProcess-222

Traceback (most recent call last):
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/wiktionary.py", line 70, in page_handler
    page_data = parse_page(worker_wxr, title, page.body)  # type: ignore[arg-type]
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/page.py", line 45, in parse_page
    page_data = page_extractor_mod.parse_page(wxr, page_title, page_text)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/extractor/pt/page.py", line 202, in parse_page
    parse_section(wxr, page_data, base_data, next_level_node)
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/extractor/pt/page.py", line 90, in parse_section
    extract_pronunciation_section(wxr, page_data, level_node)
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/extractor/pt/pronunciation.py", line 34, in extract_pronunciation_section
    extract_pronunciation_section(wxr, page_data, child_level_node)
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/extractor/pt/pronunciation.py", line 29, in extract_pronunciation_section
    wxr, list_item, page_data[-1].lang_code, raw_tags
                    ~~~~~~~~~^^^^
IndexError: list index out of range
Path: COPOM


This page is a part of the kaikki.org machine-readable dictionary. This dictionary is based on structured data extracted on 2025-07-14 from the ptwiktionary dump dated 2025-07-03 using wiktextract (6dade95 and f1c2b61). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.