• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

How I Can Use Speech-Recognition

Status
Not open for further replies.

vladF

Member
Today I learned that Sinusbot supports speech recognition. I used this tutorial https://forum.sinusbot.com/threads/using-speech-recognition.1693/ and performed all of the steps. But the example of the plugin does not work. What can I do wrong?
Version-last(0.9.16-10f0fad)
OS-Ubuntu Server
Logs:
2017-01-08T16:10:38+03:00 TS>Channels 1
2017-01-08T16:10:38+03:00 TS>Channels 1
2017-01-08T16:10:38+03:00 TS>Channels 1
2017-01-08T16:10:37+03:00 TS>Channels 1
2017-01-08T16:10:37+03:00 TS>Channels 1
2017-01-08T16:10:35+03:00 TS>Channels 1
2017-01-08T16:10:35+03:00 TS>Channels 1
2017-01-08T16:10:35+03:00 TS>Channels 1
2017-01-08T16:10:34+03:00 TS>Channels 1
2017-01-08T16:10:33+03:00 TS/ERR 2564 e'access to default group is forbidden' x'' r'PR:{b1e1064f-8e11-4e24-afa0-15a096634611}:16/GCLL'
2017-01-08T16:10:31+03:00 TS |INFO |LicenseViewer | |Found cached license for version 1 and language en
2017-01-08T16:10:31+03:00 TS |INFO |LicenseViewer | |License language: en
2017-01-08T16:10:31+03:00 TS |INFO |Update | |Check license version: 1
2017-01-08T16:10:31+03:00 New connection status 4; Error 0
2017-01-08T16:10:31+03:00 TS |INFO |PermManager | |Loading permissions from cache
2017-01-08T16:10:31+03:00 TS |INFO |ClientUI |1 |Connect status: Connection established
2017-01-08T16:10:31+03:00 New connection status 3; Error 0
2017-01-08T16:10:31+03:00 TS |INFO |ClientUI |1 |Connect status: Establishing connection
2017-01-08T16:10:31+03:00 New connection status 2; Error 0
2017-01-08T16:10:31+03:00 TS |INFO |ClientUI |1 |Connect status: Connected
2017-01-08T16:10:31+03:00 TS |INFO |Update | |Checking for updates...
2017-01-08T16:10:31+03:00 TS |DEVELOP |PktHandler | |Puzzle solve time: 4
2017-01-08T16:10:31+03:00 TS |INFO |ClientUI | |Checking for update
2017-01-08T16:10:31+03:00 TS |INFO |ClientUI | |Last update check was: вс янв. 1 00:00:01 2017
2017-01-08T16:10:31+03:00 New connection status 1; Error 0
2017-01-08T16:10:31+03:00 TS |INFO |ClientUI |1 |Connect status: Connecting
2017-01-08T16:10:31+03:00 TS |INFO |PreProSpeex |1 |Speex version: 1.2rc1
2017-01-08T16:10:31+03:00 TS |INFO |ClientUI |1 |Initiating connection: 92.63.203.160:10597 92.63.203.160
2017-01-08T16:10:31+03:00 TS |INFO |ClientUI |1 |Blacklist check ok
2017-01-08T16:10:31+03:00 TS |INFO |ClientUI |1 |Connect to server: 92.63.203.160
2017-01-08T16:10:31+03:00 TS |INFO |ClientUI | |ts3server: 92.63.203.160?port=10597&nickname=NNN&password=&channel=&channelpassword=
2017-01-08T16:10:30+03:00 TS |INFO |ClientUI | |Using configuration location: /opt/sinusbot/data//ts3/7f7c42df-b41a-410e-88f2-2e8413ae5294/7dee9027-52d1-4605-9490-26f5a3a7f0e9/settings.db
2017-01-08T16:10:30+03:00 TS |INFO |ClientUI | |Qt version: 5.5.1
2017-01-08T16:10:30+03:00 TS |INFO |ClientUI | |Failed to init text to speech engine
2017-01-08T16:10:30+03:00 TS |INFO | | |*** Time [INIT]: 117
2017-01-08T16:10:30+03:00 TS |INFO | | |*** Time [MAINWINDOW]: 117
2017-01-08T16:10:30+03:00 TS>ClientQueryPlugin: currentServerConnectionChanged 1 (0)
2017-01-08T16:10:30+03:00 Could not send config: HTTP returned an error: Error; Code: 500; Message: Error
2017-01-08T16:10:30+03:00 TS |INFO |Query | |listening on 127.0.0.1:25639
2017-01-08T16:10:30+03:00 TS |INFO | | |Loading plugin: libtest_plugin
2017-01-08T16:10:30+03:00 TS |INFO | | |Loading plugin: libsoundbot_plugin
2017-01-08T16:10:30+03:00 TS |INFO | | |Loading plugin: liblua_plugin
2017-01-08T16:10:30+03:00 TS |INFO | | |Loading plugin: libclientquery_plugin
2017-01-08T16:10:30+03:00 TS |ERROR |SoundBckndIntf| |/opt/sinusbot/teamspeak3-client/soundbackends/libpulseaudio_linux_amd64.so error: INIT_PA_IMPL
2017-01-08T16:10:30+03:00 TS |ERROR |PulseAudio | |pa_context_connect failed
2017-01-08T16:10:30+03:00 TS |ERROR |PulseAudio | |failed to connect to pulse audio server
2017-01-08T16:10:30+03:00 TS |INFO | | |SystemInformation: Linux 4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 Binary: 64bit
2017-01-08T16:10:30+03:00 TS |INFO | | |TeamSpeak 3 Client 3.0.19.4 (2016-07-14 10:16:58)
2017-01-08T16:10:30+03:00 TS>DUMP defined! Dumpdir is: /opt/sinusbot/data//ts3/7f7c42df-b41a-410e-88f2-2e8413ae5294/7dee9027-52d1-4605-9490-26f5a3a7f0e9/crashdumps
2017-01-08T16:10:30+03:00 TS>Crashdump ENABLED, directory is: /opt/sinusbot/data//ts3/7f7c42df-b41a-410e-88f2-2e8413ae5294/7dee9027-52d1-4605-9490-26f5a3a7f0e9/crashdumps
2017-01-08T16:10:30+03:00 Starting instance ts3server://92.63.203.160?port=10597&nickname=NNN&password=&channel=&channelpassword=
2017-01-08T16:10:30+03:00 New channel
2017-01-08T16:10:30+03:00 Could not insert into Notifications-Tableno such table: Notifications
2017-01-08T16:10:30+03:00 Could not delete from Notificationsno such table: Notifications
2017-01-08T16:10:30+03:00 Could not insert into Notifications-Tableno such table: Notifications
2017-01-08T16:10:30+03:00 Could not delete from Notificationsno such table: Notifications
2017-01-08T16:10:30+03:00 Auto-Playing last track
2017-01-08T16:10:29+03:00 Last track was a4533a39-d6fd-46b6-9056-1c425fea099a, will auto-play soon
2017-01-08T16:10:29+03:00 Auto-Starting 7f7c42df-b41a-410e-88f2-2e8413ae5294/7dee9027-52d1-4605-9490-26f5a3a7f0e9 in 500 ms...
2017-01-08T16:10:29+03:00 Initialization complete
2017-01-08T16:10:28+03:00 Loading script testsp
2017-01-08T16:10:28+03:00 Loading script joke

root@ServerUbuntu:/opt/sinusbot/speech# cat ../config.ini
TS3Path = "/opt/sinusbot/teamspeak3-client/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/opt/sinusbot/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 10
EnableProfiler = false
YoutubeDLPath = "/usr/local/bin/youtube-dl"
EnableDebugConsole = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "ZqyRPYuk5b9rQ41kvQ8VC6F9g+BKayZdqz+0lR9nUHs="
IsProxied = false
DenyStreamURLs = []
Pragma = 0

[YoutubeDL]
BufferSize = 524288
MaxDownloadSize = 419430400
MaxDownloadRate = 104857600
CacheStreamed = false

[TS3]
AvatarMaxWidth = 0
AvatarMaxHeight = 0

[StreamRewrites]

[Scripts]
AllowReload = false
EnableTimer = false

[Themes]
Default = ""

[SpeechRecognition]
Enable = true

[FFmpeg]
UserAgent = "SinusBot (0.9.12.3-36fce3c)"

[DAV]
Enable = false

[XServer]
Delay = 0
Debug = false
 
Status
Not open for further replies.
Top