Skip to content

Exception: Processing failed #39

@FeHuynhVI

Description

@FeHuynhVI

ERROR:root:Failed to parse JSON even after cleanup
Traceback (most recent call last):
File "G:\agent_service\outside_tools\PageIndex\run_pageindex.py", line 67, in
toc_with_page_number = page_index_main(args.pdf_path, opt)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\agent_service\outside_tools\PageIndex\pageindex\page_index.py", line 1102, in page_index_main
return asyncio.run(page_index_builder())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python312\Lib\asyncio\base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "G:\agent_service\outside_tools\PageIndex\pageindex\page_index.py", line 1077, in page_index_builder
structure = await tree_parser(page_list, opt, doc=doc, logger=logger)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "G:\agent_service\outside_tools\PageIndex\pageindex\page_index.py", line 1037, in tree_parser
toc_with_page_number = await meta_processor(
^^^^^^^^^^^^^^^^^^^^^
File "G:\agent_service\outside_tools\PageIndex\pageindex\page_index.py", line 991, in meta_processor
raise Exception('Processing failed')
Exception: Processing failed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions