Closed praveen5655 closed 3 years ago
I'm not sure what you mean by "from the browser". Prosodylab-Aligner is a command-line tool.
I wonder if the error might be related to an incomplete (or not started) installation of HTK. If that is possible see the instructions here:
https://github.com/prosodylab/Prosodylab-Aligner#install-htk-hidden-markov-toolkit
On Mon, Jan 18, 2021 at 1:34 AM praveen5655 notifications@github.com wrote:
The aligner runs smoothly when I run it through the command line and giving the results , but its throwing an error whenever I run it from the browser. Please guide me in solving this.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/prosodylab/Prosodylab-Aligner/issues/88, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABG4OOXJDBU2CT6TB4PMDLS2PJAJANCNFSM4WGZ4RFA .
Thank you! I followed all the steps mentioned. But the problem is It only works when I run the command in particular directory but When I run the command Outside the directory its giving error file or directory not found.
Please provide a simple reproducible example, with data and code used, if you want me to look into this. (I still don't know what you mean by "through the browser".)
Hello, I am also receiving a (potentially) similar error. I am running Prosodylab-Aligner through the command-line (terminal) and I receive the following error. The first line below is my command to call the aligner and the very last line has the "HDMan" error. I have also followed all the steps in the GitHub guide for installation. Any help would be great. Thank you!
$ python3 -m aligner -r eng.zip -a /Users/jsmith/Desktop/data -d eng.dict
Traceback (most recent call last):
File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/Users/jsmith/Documents/Prosodylab-Aligner/aligner/main.py", line 130, in
It appears you don’t have HDMan installed after all. I’m not sure what else would account for this error. What happens when you execute:
HDMan -v
at the terminal?
On Thu, Feb 18, 2021 at 2:04 AM jplu111 notifications@github.com wrote:
Hello, I am also receiving a (potentially) similar error. I am running Prosodylab-Aligner through the command-line (terminal) and I receive the following error. The first line below is my command to call the aligner and the very last line has the "HDMan" error. I have also followed all the steps in the GitHub guide for installation. Any help would be great. Thank you!
$ python3 -m aligner -r eng.zip -a /Users/jamesplumridge/Desktop/data -d eng.dict
Traceback (most recent call last): File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/Users/jamesplumridge/Documents/Prosodylab-Aligner/aligner/main.py", line 130, in corpus = Corpus(args.align, opts) File "/Users/jamesplumridge/Documents/Prosodylab-Aligner/aligner/corpus.py", line 95, in init self._prepare_label(labelfiles) File "/Users/jamesplumridge/Documents/Prosodylab-Aligner/aligner/corpus.py", line 177, in _prepare_label check_call(["HDMan", "-m", File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 368, in check_call retcode = call(*popenargs, *kwargs) File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 349, in call with Popen(popenargs, *kwargs) as p: File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 947, in init* self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1819, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'HDMan'
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/prosodylab/Prosodylab-Aligner/issues/88#issuecomment-781107398, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABG4OJOQ3YG72SYFHCC7M3S7S3ZFANCNFSM4WGZ4RFA .
Thank you for the quick response!
I have been able to get it to work by reinstalling HTK.
From: Kyle Gorman notifications@github.com Reply to: prosodylab/Prosodylab-Aligner reply@reply.github.com Date: Friday, 19 February 2021 at 2:01 am To: prosodylab/Prosodylab-Aligner Prosodylab-Aligner@noreply.github.com Cc: JAMES PLUMRIDGE jplumrid@deakin.edu.au, Comment comment@noreply.github.com Subject: Re: [prosodylab/Prosodylab-Aligner] No file or directory "HDMan" when run through the browser (#88)
It appears you don’t have HDMan installed after all. I’m not sure what else would account for this error. What happens when you execute:
HDMan -v
at the terminal?
On Thu, Feb 18, 2021 at 2:04 AM jplu111 notifications@github.com wrote:
Hello, I am also receiving a (potentially) similar error. I am running Prosodylab-Aligner through the command-line (terminal) and I receive the following error. The first line below is my command to call the aligner and the very last line has the "HDMan" error. I have also followed all the steps in the GitHub guide for installation. Any help would be great. Thank you!
$ python3 -m aligner -r eng.zip -a /Users/jamesplumridge/Desktop/data -d eng.dict
Traceback (most recent call last): File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/Users/jamesplumridge/Documents/Prosodylab-Aligner/aligner/main.py", line 130, in corpus = Corpus(args.align, opts) File "/Users/jamesplumridge/Documents/Prosodylab-Aligner/aligner/corpus.py", line 95, in init self._prepare_label(labelfiles) File "/Users/jamesplumridge/Documents/Prosodylab-Aligner/aligner/corpus.py", line 177, in _prepare_label check_call(["HDMan", "-m", File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 368, in check_call retcode = call(*popenargs, *kwargs) File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 349, in call with Popen(popenargs, *kwargs) as p: File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 947, in init* self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 1819, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'HDMan'
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/prosodylab/Prosodylab-Aligner/issues/88#issuecomment-781107398, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABG4OJOQ3YG72SYFHCC7M3S7S3ZFANCNFSM4WGZ4RFA .
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/prosodylab/Prosodylab-Aligner/issues/88#issuecomment-781403969, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS4TICV2KCOIQQ3IHFSKZBTS7UTS3ANCNFSM4WGZ4RFA.
The aligner runs smoothly when I run it through the command line and giving the results , but its throwing an error whenever I run it from the browser. Please guide me in solving this.