Skip to content
This repository has been archived by the owner on May 21, 2018. It is now read-only.

How do I actually speak with the HEAD robot? #831

Open
deviousname opened this issue Jan 17, 2018 · 2 comments
Open

How do I actually speak with the HEAD robot? #831

deviousname opened this issue Jan 17, 2018 · 2 comments

Comments

@deviousname
Copy link

I open the browser to 127.0.0.1:8000 and I can see the Hanson robotics menus, I can see the HEAD in blender, but when I type something in the chat, I get nothing in response. Am I missing something?

@KineticIsEpic
Copy link

KineticIsEpic commented Jan 18, 2018

Personally I get this error during start-up:

Traceback (most recent call last):
  File "/home/developer/hansonrobotics/HEAD/src/ros_tts/scripts/tts_talker.py", line 454, in <module>
    talker = TTSTalker()
  File "/home/developer/hansonrobotics/HEAD/src/ros_tts/scripts/tts_talker.py", line 53, in __init__
    self.mongodb = MongoDB()
TypeError: __init__() takes exactly 2 arguments (1 given)
[robot/chatbot-7] process has died [pid 30995, exit code 1, cmd /home/developer/hansonrobotics/HEAD/src/chatbot/scripts/ai.py /home/developer/hansonrobotics/HEAD/src/chatbot/aiml/ -sent __name:=chatbot __log:=/home/developer/.ros/log/943cdcb2-fbec-11e7-9ab6-100ba935d678/robot-chatbot-7.log].
log file: /home/developer/.ros/log/943cdcb2-fbec-11e7-9ab6-100ba935d678/robot-chatbot-7*.log

Which prevents the chatbot script from running. Granted, I installed slightly differently ("new" hrtool in a Docker container), which brought up its own slew of issues. Check your terminal when you launch the package and see if you get an error similar to mine, if so there's probably a code issue.

@wenwei-dev
Copy link
Contributor

@KineticIsEpic This bug should have been fixed. Please update chatbot repo to the latest master branch and try again.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants