audioguide icon indicating copy to clipboard operation
audioguide copied to clipboard

AG requires a terminal to run

Open totoetlititi opened this issue 2 years ago • 3 comments

AG requires terminal capabilities to display some infos and progress bars. When python scripts run in an other app (like Lua), without a terminal, the script displays this error: "Terminal isn't capable enough -- you should use a simpler progress dispaly."

 File "/home/we/dust/code/audioguide_test/lib/audioguide-1.75/agSegmentSf.py", line 56, in <module>
ag.initialize_analysis_interface()
File "/home/we/dust/code/audioguide_test/lib/audioguide-1.75/audioguide/__init__.py", line 76, in initialize_analysis_interface
self.p = userinterface.printer(self.ops.VERBOSITY, os.path.dirname(__file__), self.ops.get_outputfile('HTML_LOG_FILEPATH'))
File "/home/we/dust/code/audioguide_test/lib/audioguide-1.75/audioguide/userinterface.py", line 180, in __init__
raise ValueError("Terminal isn't capable enough -- you should use a simpler progress dispaly.")
ValueError: Terminal isn't capable enough -- you should use a simpler progress dispaly.

Even with VERBOSITY set to 0, AG shows this error. Is there a way to disable any verbosity, and not need a terminal anymore ?

All the best, _TG

totoetlititi avatar Jul 29 '22 20:07 totoetlititi