Repository navigation
Replies: 1 comment
|
pls help me |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
when I run "mineru -p /xx.pdf -o output -m auto", no matter I choose huggingface or modelscope, I always get : 2026-01-23 18:06:50.755 | ERROR | mineru.cli.client:parse_doc:211 - 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "/Users/hy/PycharmProjects/RAG-Anything/venv/bin/mineru", line 7, in
sys.exit(client.main())
│ │ │ └
│ │ └ <module 'mineru.cli.client' from '/Users/hy/PycharmProjects/RAG-Anything/venv/lib/python3.11/site-packages/mineru/cli/client....
│ └
└ <module 'sys' (built-in)>
File "/Users/hy/PycharmProjects/RAG-Anything/venv/lib/python3.11/site-packages/click/core.py", line 1485, in call
return self.main(*args, **kwargs)
│ │ │ └ {}
│ │ └ ()
│ └ <function Command.main at 0x10534c9a0>
└
File "/Users/hy/PycharmProjects/RAG-Anything/venv/lib/python3.11/site-packages/click/core.py", line 1406, in main
rv = self.invoke(ctx)
│ │ └ <click.core.Context object at 0x104ec4110>
│ └ <function Command.invoke at 0x10534c680>
└
File "/Users/hy/PycharmProjects/RAG-Anything/venv/lib/python3.11/site-packages/click/core.py", line 1269, in invoke
return ctx.invoke(self.callback, **ctx.params)
│ │ │ │ │ └ {'input_path': '/Users/hy/PycharmProjects/RAG-Anything/documents/消费信贷小结.pdf', 'output_dir': 'output', 'method': 'auto', 'back...
│ │ │ │ └ <click.core.Context object at 0x104ec4110>
│ │ │ └ <function main at 0x13732e980>
│ │ └
│ └ <function Context.invoke at 0x105347880>
└ <click.core.Context object at 0x104ec4110>
File "/Users/hy/PycharmProjects/RAG-Anything/venv/lib/python3.11/site-packages/click/core.py", line 824, in invoke
return callback(*args, **kwargs)
│ │ └ {'input_path': '/Users/hy/PycharmProjects/RAG-Anything/documents/消费信贷小结.pdf', 'output_dir': 'output', 'method': 'auto', 'back...
│ └ ()
└ <function main at 0x13732e980>
File "/Users/hy/PycharmProjects/RAG-Anything/venv/lib/python3.11/site-packages/click/decorators.py", line 34, in new_func
return f(get_current_context(), *args, **kwargs)
│ │ │ └ {'input_path': '/Users/hy/PycharmProjects/RAG-Anything/documents/消费信贷小结.pdf', 'output_dir': 'output', 'method': 'auto', 'back...
│ │ └ ()
│ └ <function get_current_context at 0x10532a020>
└ <function main at 0x13732f240>
File "/Users/hy/PycharmProjects/RAG-Anything/venv/lib/python3.11/site-packages/mineru/cli/client.py", line 220, in main
parse_doc([Path(input_path)])
│ │ └ '/Users/hy/PycharmProjects/RAG-Anything/documents/消费信贷小结.pdf'
│ └ <class 'pathlib.Path'>
└ <function main..parse_doc at 0x13732eb60>
AttributeError: 'NoneType' object has no attribute 'get'
All reactions