Code Monkey home page Code Monkey logo

domogik-brain-base's Issues

[develop] Attribute devices

Whe I say "est-ce que cuisine est allumé ?", logs returns "ERROR RS : Error executing Python object: 'RiveScript' object has no attribute 'devices'" and Buttler always says "Yes"

[fr] OpenClose/Switch : quel est l'état de ...

"Quel est l'état de la porte XXX" fonctionne

"Quel est l'état de la lumière XXX" fonctionne

"Quel est l'état de XXX" ne fonctionne pas"

Il faudrait pouvoir gérer le cas bâtard ou le contexte n'est pas spécifié... la réponse sera forcément bâtarde car elle devra correspondre à tous les contextes (lumière, état d'ouvrant, ...)

Dutch (nl_BE) makes domogik crash at startup

pi@raspberrypi:/opt/dmg/domogik-brain-base $ cat /var/log/domogik/core_butler.log
2017-02-19 21:05:23,342 domogik-butler ERROR Error accessing packages directory : Traceback (most recent call last):
File "/opt/dmg/domogik/src/domogik/bin/butler.py", line 393, in load_brain_parts
self.brain.load_directory(lang_dir)
File "/opt/dmg/domogik/src/domogik/butler/rivescript/rivescript/rivescript.py", line 211, in load_directory
self.load_file(os.path.join(directory, item))
File "/opt/dmg/domogik/src/domogik/butler/rivescript/rivescript/rivescript.py", line 223, in load_file
self._parse(filename, lines)
File "/opt/dmg/domogik/src/domogik/butler/rivescript/rivescript/rivescript.py", line 321, in _parse
raise Exception(syntax_error)
Exception: Syntax error in /var/lib/domogik//domogik_packages/brain_base/rs/nl_BE/DT_Humidity.rive line 4: Triggers can't contain uppercase letters, backslashes or dots in UTF-8 mode. (near: + Wat is de vochtigheid voor *)
. You should create it
2017-02-19 21:05:33,376 domogik-butler ERROR Error while getting the devices list over MQ. Error is : Traceback (most recent call last):
File "/opt/dmg/domogik/src/domogik/bin/butler.py", line 210, in reload_devices
str_devices = cli.request('dbmgr', msg.get(), timeout=10).get()[1]
AttributeError: 'NoneType' object has no attribute 'get'

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.