eggplants / deepl-cli

DeepL Translator CLI (without API Key)
https://pypi.org/project/deepl-cli/
MIT License
258 stars 18 forks source link

Some tests are failing on Windows #197

Closed eggplants closed 6 months ago

eggplants commented 11 months ago

TargetClosedError

https://github.com/eggplants/deepl-cli/actions/runs/6988887235/job/19017360942

I do not have a Windows environment at hand, so it is unconfirmed whether the problem is only on Actions.

ghost commented 10 months ago

does not work win11 either if u need debug i can help, have no coding skills tho

eggplants commented 10 months ago

Thank you! If you can, please take a movie while running below commands.

# on wsl or cygwin
git clone https://github.com/eggplants/deepl-cli
cd deepl-cli
sed 's/headless = True/headless = False/' deepl/deepl.py > _; mv _ deepl/deepl.py
poetry install && poetry run deepl --to ja -s <<<'test'

https://github.com/eggplants/deepl-cli/blob/efcd42239d68753b0f735bbb61ad13b7d71770dc/deepl/deepl.py#L185

ghost commented 10 months ago

@eggplants here

eggplants commented 10 months ago

Please share your poetry --version and poetry run deepl --version. Your poetry environment is something wrong.

eggplants commented 6 months ago

221