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

pdf2zh: error: unrecognized arguments: --babeldoc #728

Closed
4 tasks done
VariantConst opened this issue Mar 7, 2025 · 2 comments
Closed
4 tasks done

pdf2zh: error: unrecognized arguments: --babeldoc #728

VariantConst opened this issue Mar 7, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@VariantConst
Copy link

Before you asking

  • I have searched the existing issues
  • I spend at least 5 minutes for thinking and preparing
  • I have thoroughly and completely read the wiki.
  • I have carefully checked the issue, and it is unrelated to the network environment.

Environment

- OS:MacOS
- Python:3.9.19
- pdf2zh:v1.8.9

Describe the bug

--babeldoc is not supported. Using the latest version of pdf2zh. However, this option is listed as available in the README.

❯ pdf2zh --babeldoc example.pdf
usage: pdf2zh [-h] [--version] [--debug] [--pages PAGES] [--vfont VFONT] [--vchar VCHAR] [--lang-in LANG_IN] [--lang-out LANG_OUT] [--service SERVICE] [--output OUTPUT] [--thread THREAD] [--interactive] [--share] [--flask] [--celery]
              [--authorized AUTHORIZED [AUTHORIZED ...]] [--prompt PROMPT] [--compatible] [--onnx ONNX] [--serverport SERVERPORT] [--dir] [--config CONFIG]
              [files ...]
pdf2zh: error: unrecognized arguments: --babeldoc

To Reproduce

  1. execute 'pdf2zh --babeldoc example.pdf'
  2. see errors

Expected behavior

No response

Relevant log output


Origin PDF file

No response

Anything else?

No response

@VariantConst VariantConst added the bug Something isn't working label Mar 7, 2025
@awwaawwa
Copy link
Collaborator

awwaawwa commented Mar 7, 2025

Please upgrade to the latest version

@awwaawwa awwaawwa closed this as completed Mar 7, 2025
@awwaawwa
Copy link
Collaborator

awwaawwa commented Mar 7, 2025

Please note that we currently only support Python 3.10-3.12.

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