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

Can't mix strings and bytes in path components #1079

Closed
hukai520 opened this issue Nov 25, 2024 · 1 comment
Closed

Can't mix strings and bytes in path components #1079

hukai520 opened this issue Nov 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@hukai520
Copy link

Description of the bug | 错误描述

当我使用简单的demo.py时显示如标题所示的错误,而当我使用magic_pdf_parse_main.py时,又会出现“string indices must be integers”的错误,非常感谢您的解答!

How to reproduce the bug | 如何复现

image

Operating system | 操作系统

Windows

Python version | Python 版本

3.10

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

0.9.x

Device mode | 设备模式

cpu

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

myhloli commented Nov 25, 2024

0.9.x到0.10.x重构了文件读写工具类,老的demo代码在0.10.x版本不适用了,今天已经更新了demo代码,并同步release了0.10.1版本,你可以将demo代码和模块全部更新到最新再试一下。

@myhloli myhloli closed this as completed Nov 25, 2024
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

2 participants