Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting hung on certain searches #21

Open
CrepuscularPulchritude opened this issue Feb 15, 2023 · 1 comment
Open

Getting hung on certain searches #21

CrepuscularPulchritude opened this issue Feb 15, 2023 · 1 comment

Comments

@CrepuscularPulchritude
Copy link

CrepuscularPulchritude commented Feb 15, 2023

I rarely make it through a search of 20 items before SC appears to hang on one specific search. I can leave it for 10+ minutes and it will still be on that search. Sometimes it's single file torrents, sometimes it's torrents with many folders. Some contain video files, others contain games. They've all been torrents that have no foreign characters, just simple latin alphabet, numbers, and common symbols like . _ - etc.
If I were to clear the list of records then start over it hangs on the same searches
I'm not 100% sure how to grab logs, by my best guess this is an example of one that failed just a few searches in

Starting at:02/15/2023, 20:24:04
Rescheduling proceed_cross_seed
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/background_task/tasks.py", line 43, in bg_runner
func(*args, **kwargs)
File "/code/seedcross/crseed/tasks.py", line 83, in backgroundCrossSeedTask
iterTorrents(dlclient, param, log)
File "/code/seedcross/crseed/CrossSeedAutoDL.py", line 466, in iterTorrents
matchingResults = searcher.search(searchData, log, guess_cat=cat)
File "/code/seedcross/crseed/CrossSeedAutoDL.py", line 114, in search
trim_result = self.loadToIndexResult(result_json)
File "/code/seedcross/crseed/CrossSeedAutoDL.py", line 262, in loadToIndexResult
categories=result['categories'],
KeyError: 'categories'
Marking task proceed_cross_seed as failed

@AnyColorIWant
Copy link

AnyColorIWant commented Jan 12, 2024

Hanging for me as well, and then crashes. Here's an example-

Rescheduling proceed_cross_seed
Traceback (most recent call last):
File "/mnt/mpathg/anycoloriwant/virtualenv/lib/python3.11/site-packages/background_task/tasks.py", line 43, in bg_runner
func(*args, **kwargs)
File "/mnt/mpathg/anycoloriwant/seedcross/crseed/tasks.py", line 83, in backgroundCrossSeedTask
iterTorrents(dlclient, param, log)
File "/mnt/mpathg/anycoloriwant/seedcross/crseed/CrossSeedAutoDL.py", line 477, in iterTorrents
matchingResults = searcher.search(searchData, log, guess_cat=cat)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/mpathg/anycoloriwant/seedcross/crseed/CrossSeedAutoDL.py", line 114, in search
trim_result = self.loadToIndexResult(result_json)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/mnt/mpathg/anycoloriwant/seedcross/crseed/CrossSeedAutoDL.py", line 273, in loadToIndexResult
TrackerType=result['TrackerType'],
~~~~~~^^^^^^^^^^^^^^^
KeyError: 'TrackerType'
Marking task proceed_cross_seed as failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants