koenvervloesem / snips-app-assistant-information Goto Github PK
View Code? Open in Web Editor NEWA Snips app that tells you some information about the running assistant
License: MIT License
A Snips app that tells you some information about the running assistant
License: MIT License
Hi,
I am running a setup where I use the same assisstant on my base and and a satellite. I followed this guide: https://docs.snips.ai/articles/platform/satellites
Now if I ask the satellite for its name then it answers with the name of the base first and after that with the satellite name. This happens only with this app. Other apps only answer once.
Could this be a bug in this app or just a mistake in my setup?
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.