English Wiktionary data extraction errors and warnings

=== EXCEPTION while parsing page "scrap" in process ForkServerProcess-254

Return to 'Other Errors'

=== EXCEPTION while parsing page "scrap" in process ForkServerProcess-254

scrap (noun) === EXCEPTION while parsing page "scrap" in process ForkServerProcess-254

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/en/page.py", line 4332, in parse_page
    datas = parse_language(wxr, langnode, lang, lang_code)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/extractor/en/page.py", line 4059, in parse_language
    process_children(langnode, None)
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/extractor/en/page.py", line 3645, in process_children
    process_children(node, pos)
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/extractor/en/page.py", line 3625, in process_children
    parse_part_of_speech(node, pos)
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/extractor/en/page.py", line 1252, in parse_part_of_speech
    floaters, poschildren = recursively_extract(
                            ^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/page.py", line 84, in recursively_extract
    e1, c1 = recursively_extract(x, fn)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/page.py", line 134, in recursively_extract
    e1, c1 = recursively_extract(contents.children, fn)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/page.py", line 84, in recursively_extract
    e1, c1 = recursively_extract(x, fn)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/page.py", line 134, in recursively_extract
    e1, c1 = recursively_extract(contents.children, fn)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/page.py", line 84, in recursively_extract
    e1, c1 = recursively_extract(x, fn)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/page.py", line 146, in recursively_extract
    e1, c1 = recursively_extract(arg, fn)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/page.py", line 84, in recursively_extract
    e1, c1 = recursively_extract(x, fn)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/page.py", line 92, in recursively_extract
    if fn(contents):
       ^^^^^^^^^^^^
  File "/home/ubuntu/temp-wiktionary/venv/lib/python3.12/site-packages/wiktextract/extractor/en/page.py", line 1266, in <lambda>
    and isinstance(x.largs[0][0], str)
                   ~~~~~~~~~~^^^
IndexError: list index out of range
Path: scrap


This page is a part of the kaikki.org machine-readable English dictionary. This dictionary is based on structured data extracted on 2025-11-06 from the enwiktionary dump dated 2025-11-01 using wiktextract (1977306 and 928f69b). 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.