Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Crashing after running for a while, macOS Monterey #26

Closed
magnu5 opened this issue Jun 17, 2022 · 4 comments
Closed

Crashing after running for a while, macOS Monterey #26

magnu5 opened this issue Jun 17, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@magnu5
Copy link

magnu5 commented Jun 17, 2022

Exception in thread Thread-1:
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "plex_rd.py", line 1712, in run
element.download(library=library)
File "plex_rd.py", line 328, in download
self.Seasons = self.uncollected(library)
File "plex_rd.py", line 303, in uncollected
Seasons.remove(season)
ValueError: list.remove(x): x not in list
^CTraceback (most recent call last):
File "plex_rd.py", line 2347, in
ui.run()
File "plex_rd.py", line 2315, in run
ui.options()
File "plex_rd.py", line 2248, in options
option.input()
File "plex_rd.py", line 1774, in input
func()
File "plex_rd.py", line 1751, in run
text = input("")

@itsToggle
Copy link
Owner

Should be fixed in the latest version, I hope. I'll leave the issue open for now, please report if it happens again :)

@itsToggle itsToggle added the bug Something isn't working label Jun 17, 2022
@magnu5
Copy link
Author

magnu5 commented Jun 17, 2022

It happened again (while scraping sources, using jackett):

Traceback (most recent call last):
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "plex_rd.py", line 1684, in scrape
    result[index] = cls(query)
  File "plex_rd.py", line 1637, in __new__
    response = scraper.jackett.session.get(url)
  File "/Users/magnus/Library/Python/3.8/lib/python/site-packages/requests/sessions.py", line 542, in get
    return self.request('GET', url, **kwargs)
  File "/Users/magnus/Library/Python/3.8/lib/python/site-packages/requests/sessions.py", line 515, in request
    prep = self.prepare_request(req)
  File "/Users/magnus/Library/Python/3.8/lib/python/site-packages/requests/sessions.py", line 443, in prepare_request
    p.prepare(
  File "/Users/magnus/Library/Python/3.8/lib/python/site-packages/requests/models.py", line 318, in prepare
    self.prepare_url(url, params)
  File "/Users/magnus/Library/Python/3.8/lib/python/site-packages/requests/models.py", line 392, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL '/api/v2.0/indexers/all/results?apikey=tocz8av49egzk96rf16b51xlzyb026wl&Query=Show.Name.S01': No scheme supplied. Perhaps you meant http:///api/v2.0/indexers/all/results?apikey=tocz8av49egzk96rf16b51xlzyb026wl&Query=Show.Name.S01?
Exception in thread Thread-804:
Traceback (most recent call last):
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "plex_rd.py", line 1687, in download
    result[index] = cls.download(library=library,parentReleases=parentReleases)
  File "plex_rd.py", line 378, in download
    self.Releases += scraper(self.query()[:-1])
  File "plex_rd.py", line 1490, in __new__
    scraped_releases += result
TypeError: 'NoneType' object is not iterable
[2022-06-17 19:38:55.149230] took 0.01s
done
[2022-06-17 19:38:55.179603] scraping sources for query "Show.Name" ... Exception in thread Thread-806:
Traceback (most recent call last):
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "plex_rd.py", line 1684, in scrape
    result[index] = cls(query)
  File "plex_rd.py", line 1637, in __new__
    response = scraper.jackett.session.get(url)
  File "/Users/magnus/Library/Python/3.8/lib/python/site-packages/requests/sessions.py", line 542, in get
    return self.request('GET', url, **kwargs)
  File "/Users/magnus/Library/Python/3.8/lib/python/site-packages/requests/sessions.py", line 515, in request
    prep = self.prepare_request(req)
  File "/Users/magnus/Library/Python/3.8/lib/python/site-packages/requests/sessions.py", line 443, in prepare_request
    p.prepare(
  File "/Users/magnus/Library/Python/3.8/lib/python/site-packages/requests/models.py", line 318, in prepare
    self.prepare_url(url, params)
  File "/Users/magnus/Library/Python/3.8/lib/python/site-packages/requests/models.py", line 392, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL '/api/v2.0/indexers/all/results?apikey=tocz8av49egzk96rf16b51xlzyb026wl&Query=Show.Name': No scheme supplied. Perhaps you meant http:///api/v2.0/indexers/all/results?apikey=tocz8av49egzk96rf16b51xlzyb026wl&Query=Show.Name?
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "plex_rd.py", line 1710, in run
    element.download(library=library)
  File "plex_rd.py", line 332, in download
    self.Releases += scraper(self.query())
  File "plex_rd.py", line 1490, in __new__
    scraped_releases += result
TypeError: 'NoneType' object is not iterable

renamed shows to Show.Name

@itsToggle
Copy link
Owner

That looks like a jackett misconfiguration. Have you entered a jackett base url? It should be this one, If you have default Jackett settings: http://127.0.0.1:9117

@magnu5
Copy link
Author

magnu5 commented Jun 17, 2022

baseurl was missing..

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants