Vosk4Unity icon indicating copy to clipboard operation
Vosk4Unity copied to clipboard

Unable to import models via Vosk Model Manager

Open boxfriend opened this issue 1 year ago • 1 comments

Under the Import new models section of the Vosk Model Manager with the Source set as alphacephei.com selecting Show available models does not work. It throws an exception

System.Xml.XmlTextReaderImpl.Throw (System.Exception e) (at <18ec6be538e24196bb0c8cd722440d04>:0)
System.Xml.XmlTextReaderImpl.Throw (System.String res, System.String arg) (at <18ec6be538e24196bb0c8cd722440d04>:0)
System.Xml.XmlTextReaderImpl.Throw (System.Int32 pos, System.String res) (at <18ec6be538e24196bb0c8cd722440d04>:0)
System.Xml.XmlTextReaderImpl.ParseDocumentContent () (at <18ec6be538e24196bb0c8cd722440d04>:0)
System.Xml.XmlTextReaderImpl.Read () (at <18ec6be538e24196bb0c8cd722440d04>:0)
System.Xml.Linq.XElement.ReadElementFrom (System.Xml.XmlReader r, System.Xml.Linq.LoadOptions o) (at <2167034a298f454682b17f19f69d5cb2>:0)
System.Xml.Linq.XElement..ctor (System.Xml.XmlReader r, System.Xml.Linq.LoadOptions o) (at <2167034a298f454682b17f19f69d5cb2>:0)
System.Xml.Linq.XElement.Load (System.Xml.XmlReader reader, System.Xml.Linq.LoadOptions options) (at <2167034a298f454682b17f19f69d5cb2>:0)
System.Xml.Linq.XElement.Parse (System.String text, System.Xml.Linq.LoadOptions options) (at <2167034a298f454682b17f19f69d5cb2>:0)
System.Xml.Linq.XElement.Parse (System.String text) (at <2167034a298f454682b17f19f69d5cb2>:0)
Yetibyte.Unity.SpeechRecognition.ModelManagement.HttpVoskModelProvider+<>c__DisplayClass14_0.<FetchModels>b__0 (UnityEngine.AsyncOperation op) (at Assets/Vosk4Unity/Src/Yetibyte.Unity.SpeechRecognition/ModelManagement/HttpVoskModelProvider.cs:57)
UnityEngine.AsyncOperation.InvokeCompletionEvent () (at <2ec790438a214ee286016c37f7604299>:0)

importing models manually works fine and even shows the Delete action in the Local models section

boxfriend avatar Apr 09 '23 23:04 boxfriend