Module Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias alias ImportFrom alias Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body ImportFrom alias orelse ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr keyword NameLoad Raise If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str Str NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str Str NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd Str Str keyword NameLoad Raise Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad TryExcept body With Call NameLoad NameLoad Str NameStore body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Raise TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad body Assign NameStore Str Expr Call AttributeLoad NameLoad attr BinOpAdd Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Assign NameStore NameLoad TryExcept body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str orelse Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Print Str Print Str Print Str Print Str Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd Str Str If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr IfExp UnaryOpNot NameLoad Num Num TryExcept body Assign NameStore Call NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr
N/A N/A os N/A sys N/A shutil N/A logging N/A yaml N/A argparse client tts stt jasperpath diagnose client.conversation Conversation N/A N/A N/A N/A sys path append N/A jasperpath LIB_PATH N/A parser N/A N/A argparse ArgumentParser description Jasper Voice Control Center N/A N/A N/A parser add_argument --local action store_true help Use text input instead of a real microphone N/A N/A N/A parser add_argument --no-network-check action store_true help Disable the network connection check N/A N/A N/A parser add_argument --diagnose action store_true help Run diagnose and exit N/A N/A N/A parser add_argument --debug action store_true help Show debug messages N/A args N/A N/A parser parse_args N/A N/A args local N/A client.local_mic Mic N/A client.mic Mic Jasper N/A object N/A __init__ N/A N/A self N/A N/A N/A N/A self _logger N/A N/A logging getLogger __name__ N/A N/A N/A N/A N/A os path exists N/A jasperpath CONFIG_PATH N/A N/A N/A N/A N/A N/A os makedirs N/A jasperpath CONFIG_PATH N/A N/A N/A OSError N/A N/A N/A N/A N/A self _logger error Could not create config dir: '%s' N/A jasperpath CONFIG_PATH exc_info True N/A N/A N/A N/A N/A os access N/A jasperpath CONFIG_PATH N/A os W_OK N/A N/A N/A N/A N/A self _logger critical N/A Config dir %s is not writable. Jasper  won't work correctly. N/A jasperpath CONFIG_PATH N/A old_configfile N/A N/A N/A os path join N/A jasperpath LIB_PATH profile.yml N/A new_configfile N/A N/A jasperpath config profile.yml N/A N/A N/A N/A os path exists old_configfile N/A N/A N/A N/A N/A os path exists new_configfile N/A N/A N/A N/A N/A self _logger warning N/A Deprecated profile file found: '%s'.  Please remove it. old_configfile N/A N/A N/A N/A N/A self _logger warning N/A Deprecated profile file found: '%s'.  Trying to copy it to new location '%s'. old_configfile new_configfile N/A N/A N/A N/A N/A shutil copy2 old_configfile new_configfile N/A N/A N/A N/A shutil Error N/A N/A N/A N/A N/A self _logger error N/A Unable to copy config file.  Please copy it manually. exc_info True N/A N/A N/A N/A N/A self _logger debug Trying to read config file: '%s' new_configfile N/A N/A N/A N/A open new_configfile r f N/A N/A N/A self config N/A N/A yaml safe_load f N/A N/A N/A OSError N/A N/A N/A N/A N/A self _logger error Can't open config file: '%s' new_configfile N/A N/A N/A N/A stt_engine_slug N/A N/A self config N/A stt_engine N/A N/A N/A KeyError N/A N/A stt_engine_slug sphinx N/A N/A N/A logger warning N/A stt_engine not specified in profile, defaulting  to '%s' stt_engine_slug N/A stt_engine_class N/A N/A stt get_engine_by_slug stt_engine_slug N/A N/A N/A slug N/A N/A self config N/A stt_passive_engine N/A stt_passive_engine_class N/A N/A stt get_engine_by_slug slug N/A N/A N/A KeyError N/A N/A stt_passive_engine_class stt_engine_class N/A N/A N/A tts_engine_slug N/A N/A self config N/A tts_engine N/A N/A N/A KeyError N/A N/A tts_engine_slug N/A N/A tts get_default_engine_slug N/A N/A N/A logger warning N/A tts_engine not specified in profile, defaulting  to '%s' tts_engine_slug N/A tts_engine_class N/A N/A tts get_engine_by_slug tts_engine_slug N/A N/A self mic N/A Mic N/A N/A tts_engine_class get_instance N/A N/A stt_passive_engine_class get_passive_instance N/A N/A stt_engine_class get_active_instance N/A run N/A N/A self N/A N/A N/A N/A first_name N/A self config N/A N/A salutation N/A How can I be of service, %s? N/A N/A self config N/A first_name N/A N/A salutation How can I be of service? N/A N/A N/A N/A self mic say salutation N/A conversation N/A Conversation JASPER N/A self mic N/A self config N/A N/A N/A conversation handleForever N/A N/A N/A N/A __name__ __main__ N/A N/A ******************************************************* N/A *             JASPER - THE TALKING COMPUTER           * N/A * (c) 2015 Shubhro Saha, Charlie Marsh & Jan Holthuis * N/A ******************************************************* N/A N/A N/A logging basicConfig N/A logger N/A N/A logging getLogger N/A N/A N/A N/A N/A logger getChild client.stt setLevel N/A logging INFO N/A N/A args debug N/A N/A N/A N/A logger setLevel N/A logging DEBUG N/A N/A N/A N/A args no_network_check N/A N/A N/A diagnose check_network_connection N/A N/A N/A N/A logger warning N/A Network not connected. This may prevent Jasper from  running properly. N/A N/A args diagnose N/A N/A failed_checks N/A N/A diagnose run N/A N/A N/A sys exit N/A N/A failed_checks 0 1 N/A N/A N/A app N/A Jasper N/A N/A N/A Exception N/A N/A N/A N/A logger error Error occured! exc_info True N/A N/A N/A sys exit 1 N/A N/A N/A app run