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

How to use gentle commandline action in windows.. Its not working. #305

Open
bongblender opened this issue Feb 11, 2022 · 3 comments
Open

Comments

@bongblender
Copy link

when i run on cmd line as instruction ... Its showing this. although "python align.py --help" is working.

$ python align.py audio1.mp3 txt2.txt
Traceback (most recent call last):
File "align.py", line 49, in
resources = gentle.Resources()
File "C:\Users\name\Desktop\gental\gentle\gentle\resources.py", line 19, in init
require_dir(self.proto_langdir)
File "C:\Users\name\Desktop\gental\gentle\gentle\resources.py", line 16, in require_dir
raise RuntimeError("No resource directory %s. Check %s environment variable?" % (path, ENV_VAR))
RuntimeError: No resource directory C:\Users\name\Desktop\gental\gentle\exp. Check GENTLE_RESOURCES_ROOT environment variable?

any help...?

@bongblender bongblender changed the title How to use gental commandline action in windows.. Its not working. How to use gentle commandline action in windows.. Its not working. Feb 11, 2022
@caliconiko
Copy link

caliconiko commented Feb 20, 2022

sighs yeah I had the same issue

I don't know if windows support will come. Seeing that the last commit was 2 years ago.

It works if you use it through docker though.

@strob
Copy link
Contributor

strob commented Feb 20, 2022

As far as I know, nobody is supporting Windows presently. Mac and Linux will be maintained!

@OmniControlRobot
Copy link

I am having the same issue on Mac OS 10.12.6 Sierra, Python 3.11:

$ python3 align.py /Volumes/.../5077_FINAL.WAV /Volumes/.../RAY15077_cleaned.txt
Traceback (most recent call last):
File "/Users/.../gentle/align.py", line 49, in
resources = gentle.Resources()
^^^^^^^^^^^^^^^^^^
File "/Users/.../gentle/gentle/resources.py", line 19, in init
require_dir(self.proto_langdir)
File "/Users/.../gentle/gentle/resources.py", line 16, in require_dir
raise RuntimeError("No resource directory %s. Check %s environment variable?" % (path, ENV_VAR))
RuntimeError: No resource directory /Users/.../gentle/exp. Check GENTLE_RESOURCES_ROOT environment variable?

It looks like the issue is that the gentle.Resources() method is looking for a path that ends in "gentle/exp", but that folder isn't in the directory structure. There's an "ext" folder...maybe it's just a typo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants