Giter VIP home page Giter VIP logo

Comments (5)

VolkMilit avatar VolkMilit commented on July 4, 2024 1

I'm also using Arch BTW and can't replicate this problem.

What engine do you use? Lingva and Libre delays depends on instance used. Google translate almost instantly. Yandex do have delays, but not 5 seconds. Bing is, well, being Bing and do have delays even in their web interface.

The other thing you can do, to cut possibility this is Qt bug, using curl to do same requests as Crow do, like:

curl "https://translate.googleapis.com/translate_a/single?client=gtx&ie=UTF-8&oe=UTF-8&dt=bd&dt=ex&dt=ld&dt=md&dt=rw&dt=rm&dt=ss&dt=t&dt=at&dt=qc&sl=en&tl=en&hl=en&q=test"

from crow-translate.

Shatur avatar Shatur commented on July 4, 2024

Interesting, I also use Arch, but I don't have this problem.

from crow-translate.

meandrewdev avatar meandrewdev commented on July 4, 2024

Interesting, I also use Arch, but I don't have this problem.

Now it got even more interesting :)
I did decide to look at the requests and bypassed the certificate validation. And the http proxy works fine! As soon as I set "Don't use a proxy", the problem comes back. It's even hard to guess what it could be

from crow-translate.

meandrewdev avatar meandrewdev commented on July 4, 2024

Is there any way to run in debug mode and see the logs? I am not very good at C++, can you tell me how to do it? To at least understand what the reason is, maybe it's something in my system. Because after reboot even proxy didn't help for some reason, first translations were delayed. I can see the requests it makes, and the problem is not network - the request execution time is about 60ms, so it's something else.

from crow-translate.

Shatur avatar Shatur commented on July 4, 2024

Is there any way to run in debug mode and see the logs?

We don't have a logging system, unfortunately...

To at least understand what the reason is, maybe it's something in my system.

I suspect that it could be the case. If you see the slowdowns, it could be caused by Qt library. The app just wait for the response from the Qt API.
What you could try is to load up a live CD with a different distro. Like EndeavourOS (it's more similar to Arch then Manjaro) and see if the issue can be reproduced.

from crow-translate.

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.