Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Can't install model from Zoo #2295

Open
badochov opened this issue Sep 11, 2022 · 7 comments
Open

Bug: Can't install model from Zoo #2295

badochov opened this issue Sep 11, 2022 · 7 comments
Labels
bug Something isn't working

Comments

@badochov
Copy link

Describe the bug
I wanted to try out the software so I followed guide on docs https://stt.readthedocs.io/en/latest/. But when I try to install model from the zoo(I try polish language model) I get an error Install error, please ensure your server is running. And I get following output in the console: [2489:2519:0911/145857.425668:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix") [2489:2519:0911/145857.425835:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

To Reproduce
Steps to reproduce the behavior:

  1. Follow guide from docs
  2. Try to install Polish model from the zoo

Expected behavior
The model should be downloaded.

Environment (please complete the following information):

  • Linux ruta 5.19.6-artix1-1 🐸 is here #1 SMP PREEMPT_DYNAMIC Thu, 01 Sep 2022 20:00:32 +0000 x86_64 GNU/Linux
  • TensorFlow installed from this package
  • Don't know how to check and I doubt it is important for this issue
  • Tried 3.6 and 3.10
@badochov badochov added the bug Something isn't working label Sep 11, 2022
@wasertech
Copy link
Collaborator

wasertech commented Sep 25, 2022

image

Works for me using the model manager for STT.

$ pip install coqui_stt_model_manager
$ stt-model-manager

Once the web browser window is open, click on Install a new model from the Coqui STT Model Zoo. and select Polish STT v0.0.1.

If it still doesn't work on your system, we need more information to help you diagnose the issue effectively.

@badochov
Copy link
Author

badochov commented Oct 3, 2022

Those step are listed in the README that I followed. I redid them today and still I got the same error. Here is the full log from today's attempt.

INFO:engineio.server:Server initialized for threading.
DEBUG:root:No installed models.
 * Serving Flask app 'coqui_stt_model_manager.server' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 127.0.0.1:38450
Current installs: []
DEBUG:urllib3.connectionpool:http://127.0.0.1:38450 "GET / HTTP/1.1" 200 2945
Started server listening on http://127.0.0.1:38450 ...
[7642:7668:1003/150951.670120:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[7642:7668:1003/150951.670230:ERROR:bus.cc(399)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
Opening in existing browser session.
Current installs: []
[7681:7681:0100/000000.769302:ERROR:gpu_init.cc(486)] Passthrough is not supported, GL is egl, ANGLE is 

@wasertech
Copy link
Collaborator

@badochov Is there any chance you are running Linux inside WSL? That would explain the Unknown address type.

@badochov
Copy link
Author

badochov commented Nov 8, 2022

Nope, it's linux on bare metal

@ganttview
Copy link

I had a similar issue using Brave browser, but I opened the page in firefox and it downloaded. Disabling Brave shields also worked.

@badochov
Copy link
Author

badochov commented Mar 3, 2023

@ganttview thank you so much. I disabling shileds on braved did the trick. Also I tested that on FireDragon(fork of firefox) install works without any setup. IMHO this should be in the docs. Thank again!

@wasertech
Copy link
Collaborator

wasertech commented Mar 3, 2023

IMHO this should be in the docs.

Yes and no.

Yes we should add a sentence or two about the fact your browser needs to be able to reach a local tcp/unix port on host. But this is normally given... unless you block it yourself basically.

Something like:

Your browser needs to be able to reach a local tcp/unix socket within host.
If your browser is configured to shield those connections, you need to configure an exception for the model manager.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants