ByronAhn / PoLaR-Praat-plugin

3 stars 0 forks source link

Unable to run Momel TextGrid commands #2

Open hakimjacob opened 4 months ago

hakimjacob commented 4 months ago

When trying to execute commands like 'New TextGrid with Momel-based labels' or 'New Momel-based Points/Levels/Ranges" I first receive the following error:

"'momelFiles' is not recognized as an internal or external command, operable program or batch file."

I made sure to bypass my antivirus, but no luck. I thought maybe moving the momelFiles folder to the plugin_PoLaR directory (when downloaded it was in praatScripts) would help, but then I get the following error:

Cannot create file "..Praat\plugin_PoLaR\praatScripts\momelFiles\part_1.f0"

OS: Windows 10

hakimjacob commented 4 months ago

After some tinkering I believe it might have to do with the paths assigned in the scripts, since windows uses backslashes and other systems use forward slashes. I specifically defined the path to the executable in the CORE script, but it still crashed with an error when creating part_2.f0.

hakimjacob commented 4 months ago

Final comment, since I was able to get it to work -

In the momel-labels-CORE script I changed line 80 so that it had a backslash: momelDir$ = "momelFiles\"

and, since I kept getting another weird error (code 1073741819) I changed line 285 to this: runSystem_nocheck: momelCmd$

I hope this helps!