Skip to content

Cannot load common.res in python 3 #21

Description

@jacobtomlinson
$ python -m opsdroidaudio      
DEBUG:root:Config file ./configuration.yaml not found
INFO:root:Loaded config from /Users/jacob/.opsdroidaudio/configuration.yaml
INFO:root:Loaded model alexa
ERROR (Input():snowboy-io.cc:266) Fail to open input file "b'/Users/jacob/Projects/opsdroid/opsdroid-audio/opsdroidaudio/resources/common.res'"
libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: ERROR (Input():snowboy-io.cc:266) Fail to open input file "b'/Users/jacob/Projects/opsdroid/opsdroid-audio/opsdroidaudio/resources/common.res'"

[stack trace: ]
0   _snowboydetect.so                   0x00000001025649ee _ZN7snowboy13GetStackTraceEv + 94
1   _snowboydetect.so                   0x00000001025656e7 _ZN7snowboy13SnowboyLogMsgD2Ev + 487
2   _snowboydetect.so                   0x0000000102568e94 _ZN7snowboy5InputC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 612
3   _snowboydetect.so                   0x0000000102562eb1 _ZN7snowboy22UnpackPipelineResourceERKNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEPS6_ + 65
4   _snowboydetect.so                   0x000000010256041f _ZN7snowboy11PipelineItf11SetResourceERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 127
.
.
.
44  Python                              0x0000000101360910 PyObject_Call + 97
45  Python                              0x0000000101430db3 RunModule + 147
46  Python                              0x00000001014307e7 Py_Main + 2607
47  python                              0x0000000101353e27 python + 7719
48  libdyld.dylib                       0x00007fff890055ad start + 1

[1]    46231 abort      python -m opsdroidaudio

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions