Code Monkey home page Code Monkey logo

Comments (5)

bakerboy448 avatar bakerboy448 commented on September 25, 2024

Need debug logs...possibly trace

from qbit_manage.

LoserForever88 avatar LoserForever88 commented on September 25, 2024

Need debug logs...possibly trace

I've already uploaded the logs to gist when opening up this issue. Is there any other debug logs there I could get for you? If so please tell me how to get those logs.

For covenience I just copy it here for your analysis.

[2023-08-03 13:07:34,542] [my_except_hook:360] [CRITICAL] | Uncaught Exception | Traceback (most recent call last): File "/app/qbit_manage.py", line 645, in <module> start_loop() File "/app/qbit_manage.py", line 382, in start_loop start() File "/app/qbit_manage.py", line 454, in start stats["categorized"] += Category(qbit_manager).stats ^^^^^^^^^^^^^^^^^^^^^^ File "/app/modules/core/category.py", line 17, in __init__ self.category() File "/app/modules/core/category.py", line 25, in category new_cat = self.qbt.get_category(torrent.save_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/modules/qbittorrent.py", line 300, in get_category if os.path.join(save_path, "") == path: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen posixpath>", line 76, in join TypeError: expected str, bytes or os.PathLike object, not CommentedMap

Btw, another possible cause I could think of is that I have one separate uncategorized folder for incomplete torrents, which will be moved to a categorized folder later on.

from qbit_manage.

bakerboy448 avatar bakerboy448 commented on September 25, 2024

QBm only looks at complete torrents.

run with --debug; or for docker env var DEBUG=True I believe

from qbit_manage.

bobokun avatar bobokun commented on September 25, 2024

I think the character 保種 might be causing an issue with parsing. Can you try wrapping in quotes to see if it helps?

'保種/carpt': '/QBdownloads/保種/carpt'

from qbit_manage.

LoserForever88 avatar LoserForever88 commented on September 25, 2024

So I somehow solved this issue and finally got time to update this issue. Here is what I did.

First the path of category in the config was incorrect. My qbit_manage is set up within a container of docker desktop, while my qbitorrent is in windows. So the path should be the actual path inside download configs of qbitorrent (in this case, it's like D:/QBdownloads/保種/carpt), rather than path mounted inside qbit_manage container. The chinese character isn't a problem here.

After that the error changed to something else and I forgot to screenshot it. I then wiped out the whole container and data file. Pasting the same correct category path back then everything is fine.

Thank you all for trying to help :)

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.