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]: ZoTTS failed to load (NixOS) #99

Closed
ImperialSquid opened this issue Sep 4, 2024 · 6 comments
Closed

[Bug]: ZoTTS failed to load (NixOS) #99

ImperialSquid opened this issue Sep 4, 2024 · 6 comments
Assignees
Labels
bug Something isn't working upstream Bug is caused by code this project relies on

Comments

@ImperialSquid
Copy link
Owner

I got the same bug too (after trying to install it for the first time). And there are 6 voices listed in the dropdown normally for me.

I used Zotero 7.0 on NixOS btw (zotero --version gave Zotero Zotero 115.9.1esr)

Originally posted by @HynDuf in #98 (comment)

@ImperialSquid ImperialSquid self-assigned this Sep 4, 2024
@ImperialSquid ImperialSquid added the bug Something isn't working label Sep 4, 2024
@ImperialSquid
Copy link
Owner Author

(Small disclaimer, I'm not a linux user so forgive me if solving this is slow/painful lol, not my area of expertise)

Firstly, are you using Zotero in flatpak/some other sandboxed environment?

As mentioned in this issue (comment), Firefox (which Zotero is based on) was missing support for speech-dispatcher until version 123 (Z7 is based on v115 ESR)

@HynDuf
Copy link

HynDuf commented Sep 4, 2024

If nix is considered a sandboxed envionment itself then yes. But it's not flatpack, I installed using the nix package manager.

@ImperialSquid
Copy link
Owner Author

ImperialSquid commented Sep 4, 2024

Hmm... From some googling it looks like it is?

Given that this isn't my area of expertise, and any solution likely involves changes to programs outside of ZoTTS anyway, I'd recommend posting to the NixOS forums or Zotero forums instead, they're likely to know what to do better than I do... (Though of course, I'm happy to make changes here if need be)

Sorry I couldn't be more helpful...! Let me know how you get on, might be useful if this comes up again for someone else.

@HynDuf
Copy link

HynDuf commented Sep 5, 2024

Yeah and window.speechSynthesis.getVoices() gave [] even after running multiple times.

Besides, when loading the plugin it gave Missing chrome or resource URL: chrome://global/skin/browser.css (to the terminal where I run zotero).

@ImperialSquid
Copy link
Owner Author

Yeah definitely seems to be something outside of my wheelhouse then, sorry again though

Also fyi, that missing css isn't a ZoTTS thing (in fact the plugin doesn't use any css files, what little styling that is used is hard coded lol)

@ImperialSquid ImperialSquid added the upstream Bug is caused by code this project relies on label Sep 6, 2024
@ImperialSquid ImperialSquid closed this as not planned Won't fix, can't repro, duplicate, stale Sep 6, 2024
@ImperialSquid
Copy link
Owner Author

Closed as upstream

Fixes might be possible, but are almost certainly non-trivial and definitely outside the scope of ZoTTS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream Bug is caused by code this project relies on
Projects
None yet
Development

No branches or pull requests

2 participants