pickhardt / betty

Friendly English-like interface for your command line. Don't remember a command? Ask Betty.
2.61k stars 215 forks source link

betty stops working on internet #172

Closed Aturnwald closed 8 years ago

Aturnwald commented 8 years ago

Hello to all. since a couple of days I got an error in betty, when I ask betty how are you ? then comes this

aturnwald@aturnwald-X75VB:~$ betty how are you Asking the internet... SSL_connect returned=1 errno=0 state=error: certificate verify failed ing: error querying web service SSL_connect returned=1 errno=0 state=error: certificate verify failed

or, when I ask : aturnwald@aturnwald-X75VB:~$ betty show me the city of london Asking the internet... SSL_connect returned=1 errno=0 state=error: certificate verify failed ing: error querying web service SSL_connect returned=1 errno=0 state=error: certificate verify failed

So, please help me, because I find betty very funny and my child’s like it two, so what must I do

thanxxx a lot cu Toni

Aturnwald commented 8 years ago

By the way, to all who have the same problems with betty and UBUNTU 16.04, here is the solution, thanx to seahawk.

Also in the file ~/betty/main.rb edit the following lins to : where - is the old one and + is that that should be insert

Line 171 @@ -171,7 +171,7 @@ end

edit ~/.bettyconfig or say 'use web'

example: "betty what is the weather"

def web_query(command)

Line 193 @@ -193,7 +193,7 @@ def web_query(command) begin puts "Asking the internet..." if not chatmode puts "Thinking..." if chatmode

so, that's all and betty would work as well.

cheerio Toni