Code Monkey home page Code Monkey logo

Comments (3)

ajhorvath20 avatar ajhorvath20 commented on May 26, 2024

Oops my mistake it works :(

I forgot to add -h

python3 qbit_manage.py -h -m --dry-run

But you know why its ending with this message

2021-08-21 12:02:46,780 - DRY-RUN: Did not update 483 new categories.
2021-08-21 12:02:47,031 - WARNING: No tags matched. Check your config.yml file. Setting tag to NULL
Traceback (most recent call last):
  File "qbit_manage.py", line 477, in <module>
    run()
  File "qbit_manage.py", line 470, in run
    update_tags()
  File "qbit_manage.py", line 320, in update_tags
    new_tag,t_url = get_tags([x.url for x in torrent.trackers if x.url.startswith('http')])
ValueError: not enough values to unpack (expected 2, got 0)

And again how this script is interacting with cross-seed?

Thanks

from qbit_manage.

afraazali avatar afraazali commented on May 26, 2024

The get_tags method isn’t finding a corresponding tag for a given tracker, hence the error. However, you can fix the error by returning a tuple when a tag isn’t found. Currently the code only sends back an empty string.

As for cross-seed, this script works with cross-seed, when cross-seed is set to save mode. Cross seed will save torrent files and this script will add those torrent files to the client. It’ll also start the torrents after the check process is complete.

from qbit_manage.

bobokun avatar bobokun commented on May 26, 2024

as @afraazali said the cross-seed section works with it is set to save mode. I've also implemented the fix by returning a tuple when the tag isn't found.

from qbit_manage.

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.