Giter Club home page Giter Club logo

Comments (9)

zaf avatar zaf commented on August 16, 2024

Thank you for the notice, I have just pushed an updated version that seems to work here. Please test and report.

from asterisk-googletts.

yusufgungor avatar yusufgungor commented on August 16, 2024

Can you add error notify about captcha issues? Because even captcha error the script was return 0. By the way thanks you very much for quick fix.

from asterisk-googletts.

pla1 avatar pla1 commented on August 16, 2024

New version of googletts.agi is not working for me so I tried the following command.

htplainf@ub-asterisk:~$ perl ./googletts-cli.pl -t "This is a test" -o test.wav
Failed to fetch speech data. at ./googletts-cli.pl line 135.

Is my syntax correct?

from asterisk-googletts.

zaf avatar zaf commented on August 16, 2024

Hello,
syntax seems correct. Can't reproduce the issue here, both script are working, have you pulled the latest version?

from asterisk-googletts.

pla1 avatar pla1 commented on August 16, 2024

I have the latest version. Any troubleshooting suggestions?

tts

from asterisk-googletts.

pla1 avatar pla1 commented on August 16, 2024

I tried it on another machine and it works. Something different about my Asterisk server. I will troubleshoot some more. Sorry for the bother. Thanks, PLA

from asterisk-googletts.

zaf avatar zaf commented on August 16, 2024

Could be google blocking your IP after it detected a lot of requests. I have seen it happening a few times.

from asterisk-googletts.

pla1 avatar pla1 commented on August 16, 2024

This is bizarre. I put a print statement in googletts-cli.pl to get the URL. The URL works fine in a browser on another machine, works fine with wget on another machine, wget fails from my Asterisk server. Both machines are behind the same Cisco firewall and use the same NAT'ed public IP address. Why in the world is Google responding differently between the two requests? 🎱

tts

from asterisk-googletts.

pla1 avatar pla1 commented on August 16, 2024

Please consider adding use LWP::Protocol::https; to the Perl scripts so that the user is notified of the missing module instead of silently failing.

The LWP::Protocol::https; module was missing on a couple of Ubuntu systems. I installed the missing module with cpan. On one system I additionally had to sudo apt-get install liblwp-protocol-https-perl prior to installing the missing module in cpan.

All systems are working now.

Thanks, PLA

from asterisk-googletts.

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.