BoboTiG / ebook-reader-dict

Finally decent dictionaries based on the Wiktionary for your beloved eBook reader. Daily updates & 14 locales supported so far.
http://www.tiger-222.fr/?d=2020/04/17/22/14/21-un-dictionnaire-alternatif-et-complet-pour-votre-liseuse
MIT License
425 stars 24 forks source link

bash: venv/bin/activate: No such file or directory #2032

Closed kyxap closed 6 months ago

kyxap commented 6 months ago

Hey, trying to run the project but something is missing, any idea what?

getting:

. venv/bin/activate
bash: venv/bin/activate: No such file or directory

image

Thanks

kyxap commented 6 months ago

also something very strange is happening with master at this time:

 git clone git@gigit@github.com:BoboTiG/ebook-reader-dict.git
Cloning into 'ebook-reader-dict'...
remote: Enumerating objects: 19748, done.
remote: Counting objects: 100% (4960/4960), done.
remote: Compressing objects: 100% (1267/1267), done.
remote: Total 19748 (delta 3880), reused 4676 (delta 3632), pack-reused 14788
Receiving objects: 100% (19748/19748), 39.48 MiB | 4.44 MiB/s, done.
Resolving deltas: 100% (14345/14345), done.
error: invalid path 'tests/data/fr/<vide>.html'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

git restore --source=HEAD :/
error: invalid path 'tests/data/fr/<vide>.html'
error: invalid path 'tests/data/fr/<vide>.wiki'
error: invalid path 'tests/data/fr/aux.wiki
BoboTiG commented 6 months ago

For the venv, you are on Windows so check that documentation in order to activate it: https://docs.python.org/3/library/venv.html#how-venvs-work

For the clone issue, I'll fix it (it is about forbidden characters on Windows).

BoboTiG commented 6 months ago

You should be able to do git checkout on Windows now.

kyxap commented 6 months ago

still getting:

Cloning into 'ebook-reader-dict'...
remote: Enumerating objects: 19755, done.
remote: Counting objects: 100% (4967/4967), done.
remote: Compressing objects: 100% (1271/1271), done.
remote: Total 19755 (delta 3888), reused 4676 (delta 3635), pack-reused 14788
Receiving objects: 100% (19755/19755), 39.48 MiB | 33.36 MiB/s, done.
Resolving deltas: 100% (14353/14353), done.
error: invalid path 'tests/data/fr/aux.wiki'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
BoboTiG commented 6 months ago

I do not see what is problematic with such a name tests/data/fr/aux.wiki 🤔

BoboTiG commented 6 months ago

Oh! aux is a reserved name on Windows. Insane!

cf https://stackoverflow.com/a/31976060/1117028

I'll fix it ASAP.

BoboTiG commented 6 months ago

It is fixed now 👍🏻

kyxap commented 6 months ago

thanks! I was able to get latest and I've found how to active venv. Btw there some tests that fails not sure if it make sense to report/create an issue since the pipeline is falling as well