From 382c21d2ec5ca18d6932d38db8c23432aeac33dd Mon Sep 17 00:00:00 2001 From: schneefux Date: Fri, 26 Sep 2014 16:03:59 +0200 Subject: Use newer cmuclmtk libary version and catch ImportError --- client/requirements.txt | 2 +- client/vocabcompiler.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/requirements.txt b/client/requirements.txt index 57b6bc6..f3508fe 100644 --- a/client/requirements.txt +++ b/client/requirements.txt @@ -10,4 +10,4 @@ python-mpd==0.3.0 pytz==2013b semantic==1.0.3 requests==2.1.0 -cmuclmtk==0.1.2 +cmuclmtk==0.1.5 diff --git a/client/vocabcompiler.py b/client/vocabcompiler.py index ae5dc7d..c59bd6e 100644 --- a/client/vocabcompiler.py +++ b/client/vocabcompiler.py @@ -14,7 +14,7 @@ import g2p import brain try: import cmuclmtk -except: +except ImportError: logging.getLogger(__name__).error("Error importing CMUCLMTK module. " + "PocketsphinxVocabulary will not work " + "correctly.", exc_info=True) -- cgit v1.3.1