zotero-zotts icon indicating copy to clipboard operation
zotero-zotts copied to clipboard

No voice output nor plugin settings on Arch Linux

Open atlantic-amber opened this issue 6 months ago • 4 comments

Excuse any haphazardry, I'm not used to writing bug reports.

I've got zotts 1.1.1 installed on Zotero 7.0.0-beta.117+794dc6bf0, both latest releases. Zotero's installed manually, so I'm not having any of the Flatpak-related issues from the similar thread. My TTS backend is Piper via speech-dispatcher, similarly to https://github.com/ImperialSquid/zotero-zotts/issues/74, but I'm having different issues.

Upon startup, the debug output puts out a bunch of lines along the lines of the following, with the only difference being that the line number is sometimes 6779 or 6776:

JavaScript Error: "TypeError: addon.data.tts.engines[addon.data.tts.current] is undefined" {file: "jar:file:///home/user/.zotero/zotero/o8s1njjj.default/extensions/[email protected]!/chrome/content/scripts/zotts.js" line: 6773}]

I'm not sure whether that's relevant at all. Anyways, to answer the same things you asked in the thread, when I open Firefox (through Zotero's own Firefox browser, this is the exact same Firefox Zotero is running on) and go to the TTS testing site https://mdn.github.io/dom-examples/web-speech-api/speak-easy-synthesis/ Piper shows up just fine and can be used. Additionally, when I run window.speechSynthesis.getVoices(), the output seems appropriate, as though all is well:

[
   "0": [object SpeechSynthesisVoice] {
       "voiceURI": "urn:moz-tts:speechd:Piper?en-us"
       "name": "Piper"
       "lang": "en-us"
       "localService": false
       "default": false
   }
]

However, whenever I press any of the buttons or use the keyboard shortcuts, nothing happens! When I press them for the first time after opening Zotero I'll hear the small pop in my headphones that sometimes accompanies the beginning of an audio track, but nothing else! Also, the section in Zotero's settings that are supposed to house the settings for the plugin never shows up, nor do the "Read Title" "Read Abstract" buttons that are supposed to appear in the right click menu. I'm aware that there are issues with startup time on Mac and Linux, but this issue persists no matter how long I leave Zotero open! I've done various permutations of troubleshooting the issue but can't seem to crack it.

Thanks for your time.

atlantic-amber avatar Aug 11 '24 01:08 atlantic-amber