Skip to content

Instantly share code, notes, and snippets.

@pax0707
Created April 25, 2023 14:36
Show Gist options
  • Save pax0707/bd16dde738ce74fbd2179c9cab2a65b5 to your computer and use it in GitHub Desktop.
Save pax0707/bd16dde738ce74fbd2179c9cab2a65b5 to your computer and use it in GitHub Desktop.
|====================================================================================================|
| _ _ _ |
| | | (_) | |
| __ _| |__ _| |_ _ __ ___ __ _ _ __ __ _ __ _ ___ |
| / _` | '_ \| | __| | '_ ` _ \ / _` | '_ \ / _` |/ _` |/ _ \ |
| | (_| | |_) | | |_ | | | | | | (_| | | | | (_| | (_| | __/ |
| \__, |_.__/|_|\__| |_| |_| |_|\__,_|_| |_|\__,_|\__, |\___| |
| | | ______ __/ | |
| |_| |______| |___/ |
| Version: 3.6.2 |
| Run Mode: Script will exit after completion. |
|====================================================================================================|
| Starting Run |
|====================================================================================================|
| Locating config... |
| Using C:\PAX\qbit_manage\config\config.yml as config |
| Commands found in config.yml, ignoring env variables and using config commands instead. |
| Connecting to BHD API... |
| BHD Connection Successful |
| Connecting to Qbittorrent... |
| Qbt Connection Successful |
|======================================= Getting Torrent List =======================================|
|======================================== Checking Settings =========================================|
|====================================================================================================|
| Gathering Torrent Information |
|====================================================================================================|
|========================================== Updating Tags ===========================================|
| No new torrents to tag. |
|============= Tagging Torrents with Tracker Errors and Removing Unregistered Torrents ==============|
| No unregistered torrents found. |
|================================= Checking for Cross-Seed Torrents =================================|
|==================================== Rechecking Paused Torrents ====================================|
|================================ Tagging Torrents with No Hardlinks ================================|
| No torrents to tag with no hardlinks. |
|=================================== Checking for Orphaned Files ====================================|
| Locating orphan files |
| Processing orphan exclude patterns |
| 1 Orphaned files found |
| D:\QBT\Done\MOVIES\RADARR\Scream.2.1997.2160p.UHD.BluRay.x265-B0MBARDiERS\scream.2.1997.2160p.uhd.bluray.x265-b0mbardiers.mkv |
| Moving 1 Orphaned files to D:\QBT\Orphaned\ |
| Uncaught Exception |
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "C:\Program Files\Python38\lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "C:\Program Files\Python38\lib\multiprocessing\pool.py", line 48, in mapstar
return list(map(*args))
File "C:\PAX\qbit_manage\modules\core\remove_orphaned.py", line 134, in move_orphan
src = file.replace(_config.root_dir, _config.remote_dir) # Could be optimized to only run when root != remote
AttributeError: 'NoneType' object has no attribute 'root_dir'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\PAX\qbit_manage\qbit_manage.py", line 555, in <module>
start_loop()
File "C:\PAX\qbit_manage\qbit_manage.py", line 322, in start_loop
start()
File "C:\PAX\qbit_manage\qbit_manage.py", line 433, in start
stats["orphaned"] += RemoveOrphaned(qbit_manager).stats
File "C:\PAX\qbit_manage\modules\core\remove_orphaned.py", line 27, in __init__
self.rem_orphaned()
File "C:\PAX\qbit_manage\modules\core\remove_orphaned.py", line 111, in rem_orphaned
orphaned_parent_path = set(self.pool.map(move_orphan, orphaned_files))
File "C:\Program Files\Python38\lib\multiprocessing\pool.py", line 364, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File "C:\Program Files\Python38\lib\multiprocessing\pool.py", line 771, in get
raise self._value
AttributeError: 'NoneType' object has no attribute 'root_dir'
Press any key to continue . . .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment