Coder Social home page Coder Social logo

Comments (6)

PisoMojado avatar PisoMojado commented on June 21, 2024 2

I did some deeper digging, and I was able to identify the issue. google.cn is no longer accepting requests for TTS via gTTS. You can reproduce this with that project's CLI:

PS C:\Users\michael> gtts-cli '超' --tld cn --lang zh-TW --output 超.mp3
Error: 404 (Not Found) from TTS API. Probable cause: Unknown
PS C:\Users\michael>

This project is currently directing traffic to google.cn via the tld argument in gTTS. Changing it to google.com resolves the issue.

Please see push request #215 for the fix. While working on this, I also noticed a lot of the APIs in Anki have been marked deprecated, so I opened #216 to address these changes, as well.

from chinese-support-redux.

PisoMojado avatar PisoMojado commented on June 21, 2024 1

I'd also like to go ahead and compliment the author(s) for their documentation in the README.md. I should have read it at the very beginning, it was very helpful for getting setup to debug the add on and figure this out, so thanks!

from chinese-support-redux.

PisoMojado avatar PisoMojado commented on June 21, 2024

On further review, it looks like every speech engine has this issue for me. I still can't figure out how to elevate the log level for the addon, or if debug logging is present. It does not come up in the console while running Anki.

from chinese-support-redux.

MTH88 avatar MTH88 commented on June 21, 2024

Hi! Same thing happens to me, it has been a couple of weeks since my new cards do not get the audio.

The field "sound" is filled out (for example: [sound:话题_google_zh-CN.mp3]), however, when I review the card it does not reproduce any sound. For older cards, they reproduce the sound, so I guess it's something that only happens to the new cards created.

I tried to add new cards in another computer with another account but I had the same problem. I have selected the "Google mandarin (PRC)" speech engine.

If someone could look it up it would be great!! :). Just let me know if I can send any log or something that helps to identify the problem.

Thanks a lot!

from chinese-support-redux.

MTH88 avatar MTH88 commented on June 21, 2024

This worked! I am very grateful, I wouldn't have been able to identify the problem myself :). Thanks a lot!!

from chinese-support-redux.

thechesu avatar thechesu commented on June 21, 2024

I'm getting the issue with all the speech engines.

As a non-programmer, I do not understand how to implement the fixes that you suggest. Would you be able to explain in simple terms, on how to implement these fixes please?

from chinese-support-redux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.