Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新版本相较于旧版本,出错的概率似乎变大了 #840

Closed
cpy1990 opened this issue Nov 1, 2024 · 4 comments
Closed

新版本相较于旧版本,出错的概率似乎变大了 #840

cpy1990 opened this issue Nov 1, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@cpy1990
Copy link

cpy1990 commented Nov 1, 2024

Description of the bug | 错误描述

Info: {"detail":"code=7: cannot parse object (19 0 R)"}
Info: {"detail":"code=7: cannot parse object (36 0 R)"}
Info: {"detail":"code=7: cannot parse object (88 0 R)"}
Info: {"detail":"code=7: cannot parse object (29 0 R)"}
这四个文件旧版没问题,新版本下报错。
用的demo.py里的方式解析,也就是只出md文件和images,auto、txt、ocr模式下都报一样的错

How to reproduce the bug | 如何复现

0.9.0下的问题

Operating system | 操作系统

Linux

Python version | Python 版本

3.10

Software version | 软件版本 (magic-pdf --version)

0.8.x

Device mode | 设备模式

cuda

@cpy1990 cpy1990 added the bug Something isn't working label Nov 1, 2024
@myhloli
Copy link
Collaborator

myhloli commented Nov 2, 2024

报错看上去是像是由于pymupdf更新导致的,能上传一下出错的pdf文件吗?

@cpy1990
Copy link
Author

cpy1990 commented Nov 2, 2024

报错看上去是像是由于pymupdf更新导致的,能上传一下出错的pdf文件吗?

发您[email protected]邮箱了

@myhloli
Copy link
Collaborator

myhloli commented Nov 2, 2024

报错是写出可视化文件时pymupdf库报的,4个pdf只在2,3上报,我把pymupdf降级到之前的几个版本依然报错
猜想应该是pdf文件本身格式问题,用浏览器打开后重新打印该pdf文件,再测试就没有报错了。

@myhloli myhloli closed this as completed Nov 3, 2024
@myhloli
Copy link
Collaborator

myhloli commented Nov 14, 2024

#957 fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@myhloli @cpy1990 and others