Giter Site home page Giter Site logo

koenvervloesem / snips-app-assistant-information Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 7.0 71 KB

A Snips app that tells you some information about the running assistant

License: MIT License

Python 96.69% Shell 3.31%
snips snips-skill snips-app snips-assistant voice-commands python3

snips-app-assistant-information's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

snips-app-assistant-information's Issues

Error on File "/var/lib/snips/skills/snips-app-assistant-information/venv/lib/python3.5/site-packages/snipskit/apps.py", line 88, in __init__

Hello,

I am just starting out with snips and thought your app (the German translation) would be a good thing to have. Sadly it doesn't work because it crashes when the snips-skill-server tries to initialize it. I installed it using sam update-assistant and during setup.sh no errors occured. First time I noticed anything wasn't working like intended was when I tried asking for the ip and sam watch detected the right intent but it timed out waiting for an answer. I do not have enough experience with snips to try and fix it myself, but I at least managed to find the log with the error in it:

[21:47:35.595383] INFO :snips_skill_server_lib::runner: [assistant-information][err] Traceback (most recent call last):
[21:47:35.595476] INFO :snips_skill_server_lib::runner: [assistant-information][err]   File "/var/lib/snips/skills/snips-app-assistant-information/venv/lib/python3.5/site-packages/snipskit/apps.py", line 88, in __init__
[21:47:35.596401] INFO :snips_skill_server_lib::runner: [assistant-information][err]     assistant_directory = snips['snips-common']['assistant']
[21:47:35.596467] INFO :snips_skill_server_lib::runner: [assistant-information][err] KeyError: 'assistant'
[21:47:35.596492] INFO :snips_skill_server_lib::runner: [assistant-information][err]
[21:47:35.596514] INFO :snips_skill_server_lib::runner: [assistant-information][err] During handling of the above exception, another exception occurred:
[21:47:35.596536] INFO :snips_skill_server_lib::runner: [assistant-information][err]
[21:47:35.596797] INFO :snips_skill_server_lib::runner: [assistant-information][err] Traceback (most recent call last):
[21:47:35.596841] INFO :snips_skill_server_lib::runner: [assistant-information][err]   File "./action-assistant-information.py", line 23, in <module>
[21:47:35.597589] INFO :snips_skill_server_lib::runner: [assistant-information][err]     i18n = importlib.import_module('translations.' + SnipsAppMixin().assistant['language'])
[21:47:35.597664] INFO :snips_skill_server_lib::runner: [assistant-information][err]   File "/var/lib/snips/skills/snips-app-assistant-information/venv/lib/python3.5/site-packages/snipskit/apps.py", line 92, in __init__
[21:47:35.598512] INFO :snips_skill_server_lib::runner: [assistant-information][err]     self.assistant = AssistantConfig()
[21:47:35.598571] INFO :snips_skill_server_lib::runner: [assistant-information][err]   File "/var/lib/snips/skills/snips-app-assistant-information/venv/lib/python3.5/site-packages/snipskit/config.py", line 141, in __init__
[21:47:35.599416] INFO :snips_skill_server_lib::runner: [assistant-information][err]     UserDict.__init__(self, json.load(json_file))
[21:47:35.599476] INFO :snips_skill_server_lib::runner: [assistant-information][err]   File "/usr/lib/python3.5/json/__init__.py", line 265, in load
[21:47:35.603803] INFO :snips_skill_server_lib::runner: [assistant-information][err]     return loads(fp.read(),
[21:47:35.603879] INFO :snips_skill_server_lib::runner: [assistant-information][err]   File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
[21:47:35.605049] INFO :snips_skill_server_lib::runner: [assistant-information][err]     return codecs.ascii_decode(input, self.errors)[0]
[21:47:35.605116] INFO :snips_skill_server_lib::runner: [assistant-information][err] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 2071: ordinal not in range(128)
[21:47:35.715398] DEBUG:snips_skill_server_lib::runner: [assistant-information][err] thread stopped
[21:47:35.715598] DEBUG:snips_skill_server_lib::runner: [assistant-information][out] thread stopped
[21:47:35.759158] WARN :snips_skill_server_lib::handler::nosandbox: child assistant-information has stopped with status `exit code: 1`

I hope you can help me out with this.

Daenara

Test on other platforms than Raspbian

Currently this app is only tested on Raspbian.

It would be helpful if someone could test the app on other platforms supported by Snips, such as other Linux distributions (especially Ubuntu), macOS and other ARM systems than the Raspberry Pi. I'd love to hear the result, positive or negative. I especially like to hear what my app answers when you ask it for its platform.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.