Code Monkey home page Code Monkey logo

Comments (5)

bobokun avatar bobokun commented on May 26, 2024

Thanks for the bug report. In the latest develop branch I'm removing the format 1 as having two formats is a bit confusing for people. It should automatically convert any tags from format 1 to format 2. This might have introduced a new bug that you're seeing.

It's hard to debug this issue as I haven't experienced it myself. Can you try updating your develop branch once more, set the log level to debug, untag the problem torrent in qbit and running the script again to see if the issue still occurs? Please send me the log with debug mode on

from qbit_manage.

mousecloak avatar mousecloak commented on May 26, 2024

Interestingly, running with --log-level=DEBUG seems to have resolved the issue...

That said, the logs do suggest that something is not quite right.

[2021-12-14 13:42:09,122] util.py                     [INFO]     |========================================== Updating Tags ===========================================|
[2021-12-14 13:42:09,129] config.py                   [DEBUG]    | Tracker Url:[]                                                                                     |
[2021-12-14 13:42:09,129] config.py                   [DEBUG]    | list index out of range                                                                            |
[2021-12-14 13:42:09,134] config.py                   [DEBUG]    | Tracker Url:[]                                                                                     |
[2021-12-14 13:42:09,134] config.py                   [DEBUG]    | list index out of range                                                                            |
[2021-12-14 13:42:09,141] config.py                   [DEBUG]    | Tracker Url:[]                                                                                     |
[2021-12-14 13:42:09,141] config.py                   [DEBUG]    | list index out of range                                                                            |
[2021-12-14 13:42:09,146] config.py                   [DEBUG]    | Tracker Url:[]                                                                                     |
[2021-12-14 13:42:09,146] config.py                   [DEBUG]    | list index out of range                                                                            |
[2021-12-14 13:42:09,150] util.py                     [INFO]     |    Torrent Name: a_torrent                                                                         |
[2021-12-14 13:42:09,151] util.py                     [INFO]     |         New Tag: IPTorrents                                                                        |
[2021-12-14 13:42:09,151] util.py                     [INFO]     |         Tracker: https://localhost.stackoverflow.tech                                              |
[2021-12-14 13:42:09,151] util.py                     [INFO]     |     Share Limit: Max Ratio = 5.0, Max Seed Time = 30240 min                                        |
[2021-12-14 13:42:09,256] util.py                     [INFO]     | Updated 1 new tags.                                                                                |

from qbit_manage.

mousecloak avatar mousecloak commented on May 26, 2024

Well I restarted my stack without the --log-level=DEBUG param and and removed the tags, and naturally it worked perfectly this time. 🤷

from qbit_manage.

bobokun avatar bobokun commented on May 26, 2024

Changing the loglevel to debug doesn't add any features so that wouldn't have fixed the issue. A new feature that I added recently in develop, is to automatically tag the torrent with the tracker url by default if it's not defined in the config.

Regarding the list index out of range, that's not an issue, it just means that some torrents that you have do not have a tracker url so those won't be tagged. (Probably public torrents)

However, I'm still curious on how you got the original bug, can you please send me the full log of the original run with the bug? It will help in debugging the issue so I can fix it.

from qbit_manage.

mousecloak avatar mousecloak commented on May 26, 2024

As I was about to share the logs, I noticed that the version was only 2.0 when the "error" occurred.

[2021-12-14 12:34:54,780] [INFO]     |====================================================================================================|
[2021-12-14 12:34:54,780] [INFO]     |                           _     _ _                                                                |
[2021-12-14 12:34:54,781] [INFO]     |                          | |   (_) |                                                               |
[2021-12-14 12:34:54,781] [INFO]     |                      __ _| |__  _| |_   _ __ ___   __ _ _ __   __ _  __ _  ___                     |
[2021-12-14 12:34:54,781] [INFO]     |                     / _` | '_ \| | __| | '_ ` _ \ / _` | '_ \ / _` |/ _` |/ _ \                    |
[2021-12-14 12:34:54,781] [INFO]     |                    | (_| | |_) | | |_  | | | | | | (_| | | | | (_| | (_| |  __/                    |
[2021-12-14 12:34:54,781] [INFO]     |                     \__, |_.__/|_|\__| |_| |_| |_|\__,_|_| |_|\__,_|\__, |\___|                    |
[2021-12-14 12:34:54,781] [INFO]     |                        | |         ______                            __/ |                         |
[2021-12-14 12:34:54,782] [INFO]     |                        |_|        |______|                          |___/                          |
[2021-12-14 12:34:54,782] [INFO]     |     Version: 2.0                                                                                   |
[2021-12-14 12:34:54,782] [INFO]     |     Scheduled Mode: Running every 30 minutes.                                                      |
[2021-12-14 12:34:54,782] [INFO]     |====================================================================================================|

Tag Format 2 was introduced in 2.2, so of course it didn't work correctly. Sorry for missing this.

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.