Giter Club home page Giter Club logo

Comments (6)

egbertbouman avatar egbertbouman commented on May 16, 2024

I can't seem to reproduce this. How did you get this error?

from tribler.

whirm avatar whirm commented on May 16, 2024

Just running latest devel HEAD I ran out of space before, so I deleted some stuff and restarted Tribler, a couple seconds after starting I got this.

from tribler.

NielsZeilemaker avatar NielsZeilemaker commented on May 16, 2024

This error is basically caused by two .torrent files resulting in the same swift_roothash, apperently with different infohashes.
We could modify RemoteTorrentHandler._write_to_collected to return None when os.path.exists(mfpath), and not update the db if None is returned.

from tribler.

whirm avatar whirm commented on May 16, 2024

maybe it was hashing two 0 byte files?

from tribler.

NielsZeilemaker avatar NielsZeilemaker commented on May 16, 2024

That might be an explanation. However, it should not write 0 byte files to disk. If a torrent was collected from the dht, it will only be written to disk if it is a valid torrent. If a torrent is collected true swift, then files should have been removed if it does not download the complete file.

Maybe add a debug line which prints the filesize to stderr.

from tribler.

whirm avatar whirm commented on May 16, 2024

I'm closing this now, I can't trigger it anymore.

from tribler.

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.