hey-victoria icon indicating copy to clipboard operation
hey-victoria copied to clipboard

Does Victoria still work?

Open dzinks2009 opened this issue 6 years ago • 9 comments

Hi, I was wondering if Victoria still works since I'm thinking about creating something to her.

Best regards.

dzinks2009 avatar Jan 02 '19 05:01 dzinks2009

The only thing that I imagine would change is the TS3 plugin API

...and the plugin is like 1% of the project

quickest reply of 2019 #metrics #goals #newyearnewme #probablynot

sk89q avatar Jan 02 '19 05:01 sk89q

The only thing that I imagine would change is the TS3 plugin API

...and the plugin is like 1% of the project

quickest reply of 2019 #metrics #goals #newyearnewme #probablynot

Oh my god, this is actually like the quickest response I've ever got lmaooo. By the way, this only works on windows or windows vps, right?

dzinks2009 avatar Jan 02 '19 05:01 dzinks2009

yeah and I think it's mostly because I used the text to speech API in Windows

...and because I use Windows /shrug

sk89q avatar Jan 02 '19 05:01 sk89q

Traceback (most recent call last):
  File "C:\Users\dzink\Desktop\hey-victoria-master\listen_server\listen.py", line 9, in <module>
    from heyvictoria.agent import Agent, register_default
  File "C:\Users\dzink\Desktop\hey-victoria-master\listen_server\heyvictoria\agent.py", line 52
    except Exception, e:
                    ^
SyntaxError: invalid syntax

Do you have any ideas why this is showing up? By the way this is my first time using Python...(i know, i need some easier stuff first)

dzinks2009 avatar Jan 02 '19 06:01 dzinks2009

HeyVictoria is written in Python version numba 2 :(

sk89q avatar Jan 02 '19 06:01 sk89q

I'm going to be straight and say that HeyVictoria is not that easy to get running because it's a hodgepodge of 2am decisions. It only works as well as my paella recipe, which to say I just made it for the first time last night and it tastes kind of off

sk89q avatar Jan 02 '19 06:01 sk89q

Hmm,

(heyvictoria.server) INFO: Listening on ('127.0.0.1', 32000)
Traceback (most recent call last):
  File "C:\Users\dzink\Desktop\hey-victoria-master\listen_server\listen.py", line 33, in <module>
    assistant.listen()
  File "C:\Users\dzink\Desktop\hey-victoria-master\listen_server\heyvictoria\server.py", line 106, in listen
    self.get_speaker(client_id).read(buf, source_channels)
  File "C:\Users\dzink\Desktop\hey-victoria-master\listen_server\heyvictoria\server.py", line 80, in get_speaker
    self.sessions[client_id] = SpeechSession(client_id, self.recognizer, self.agent)
  File "C:\Users\dzink\Desktop\hey-victoria-master\listen_server\heyvictoria\server.py", line 39, in __init__
    self.listener = Listener(recognizer, responder)
  File "C:\Users\dzink\Desktop\hey-victoria-master\listen_server\heyvictoria\listener.py", line 83, in __init__
    self.decoder = Decoder(config)
  File "C:\Python27\lib\site-packages\pocketsphinx\pocketsphinx.py", line 272, in __init__
    this = _pocketsphinx.new_Decoder(*args)
RuntimeError: new_Decoder returned -1

This is the only error I get once someone starts talking. Any ideas? :)

dzinks2009 avatar Jan 02 '19 23:01 dzinks2009

https://stackoverflow.com/questions/44339312/new-decoder-returned-1-when-trying-to-run-pocketsphinx-on-raspberry-pi/51346264#51346264 This?

sk89q avatar Jan 03 '19 05:01 sk89q

@sk89q Thanks, that fixed it. Now for some reason, the bot doesn't answer.

dzinks2009 avatar Jan 03 '19 20:01 dzinks2009