Giter VIP home page Giter VIP logo

Comments (5)

dennisdevulder avatar dennisdevulder commented on July 20, 2024

It seemed that I didn't specify which keys to use for the get_torrent_status method causing this error instead of an unfiltered list.

from deluge-ruby.

mikabytes avatar mikabytes commented on July 20, 2024

Hi Dennis,

Does this mean that the issue is resolved, or do you think we should do something to make sure other users are not affected?

Thanks,
Mika

from deluge-ruby.

juozasg avatar juozasg commented on July 20, 2024

The bug is this line:

data = @con.readpartial(1024)

If RPC returns a message larger than 1024 it won't be read in full. So it will try to decompress invalid data with zlib. I changed 1024 to 1048576 and fixed this error that appears on large torrent files. I don't know if that' the right fix but it works for me at the moment.

from deluge-ruby.

Hidendra avatar Hidendra commented on July 20, 2024

I ran into this myself as well and will submit a PR shortly for this to implement buffering.

from deluge-ruby.

mikabytes avatar mikabytes commented on July 20, 2024

Pull request merged, so I'll close this issue. @juozasg please re-open if this doesn't solve the problem.

from deluge-ruby.

Related Issues (1)

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.