-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hello,
i encounter the following error :
root@test:~/tools/pdf2csv# . bin/activate
(pdf2csv) root@test:~/tools/pdf2csv# /root/tools/pdf2csv/bin/pdf2csv pdf2csv convert-cli /tmp/grille_prix_avantage_gaz_optimise.pdf --output-dir ./output --output-format csv --rtl
--verbose
╭──────────────────────────────────────────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────────────────────────────────────────╮
│ /root/tools/pdf2csv/bin/pdf2csv:8 in <module> │
│ │
│ 5 from pdf2csv.cli import main ╭─────────────────────────── locals ────────────────────────────╮ │
│ 6 if __name__ == '__main__': │ re = <module 're' from '/usr/lib/python3.11/re/__init__.py'> │ │
│ 7 │ sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) │ sys = <module 'sys' (built-in)> │ │
│ ❱ 8 │ sys.exit(main()) ╰───────────────────────────────────────────────────────────────╯ │
│ 9 │
│ │
│ /root/tools/pdf2csv/lib/python3.11/site-packages/pdf2csv/cli.py:66 in main │
│ │
│ 63 │ """ │
│ 64 │ Entry point for the CLI. │
│ 65 │ """ │
│ ❱ 66 │ app() │
│ 67 │
│ 68 │
│ 69 if __name__ == "__main__": │
│ │
│ /root/tools/pdf2csv/lib/python3.11/site-packages/typer/main.py:338 in __call__ │
│ │
│ /root/tools/pdf2csv/lib/python3.11/site-packages/typer/main.py:321 in __call__ │
│ │
│ /root/tools/pdf2csv/lib/python3.11/site-packages/typer/main.py:374 in get_command │
│ │
│ /root/tools/pdf2csv/lib/python3.11/site-packages/typer/main.py:590 in get_command_from_info │
│ │
│ /root/tools/pdf2csv/lib/python3.11/site-packages/typer/main.py:566 in get_params_convertors_ctx_param_name_from_function │
│ │
│ /root/tools/pdf2csv/lib/python3.11/site-packages/typer/main.py:871 in get_click_param │
│ │
│ /root/tools/pdf2csv/lib/python3.11/site-packages/typer/main.py:799 in get_click_type │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
RuntimeError: Type not yet supported: typing.Literal['csv', 'xlsx']`
could you help me ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels