"Cannot set gray non-stroke color because /'Pattern3' is an invalid float value”这样的报错 #3679
Unanswered
zww249570804
asked this question in
Q&A
Replies: 1 comment
-
|
这个报错是因为 MinerU 底层用的 pdfminer.six 库在解析 PDF 时,把像 /'Pattern3' 这样的 pattern 名称误当成灰度值(float)处理,导致类型不符。一般是 PDF 文件内容流有异常,或者 pdfminer.six 对某些 PDF 兼容性不好,并不会影响最终解析结果,可以忽略,如果输出结果没问题就不用管它。 常见解决方法有:
详细讨论和方案可以参考:issue 3176 和 issue 3117。 To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
Beta Was this translation helpful? Give feedback.
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.
-
Cannot set gray non-stroke color because /'Pattern3' is an invalid float value”这样的报错,请问解决方法
Beta Was this translation helpful? Give feedback.
All reactions