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

[kemonoparty] TypeError - '<' not supported between instances of 'NoneType' and 'str'. when an empty account is in a user's favorites #5721

Closed
bossanovaorca opened this issue Jun 12, 2024 · 1 comment

Comments

@bossanovaorca
Copy link

when running gallery-dl https://kemono.su/favorites the program errors out when it encounters an account with no content uploaded. The program runs as expected after unfavoriting those accounts. Here is the verbose log message:

> gallery-dl.exe https://kemono.su/favorites --verbose
[gallery-dl][debug] Version 1.27.0 - Executable (stable/windows)
[gallery-dl][debug] Python 3.8.10 - Windows-10-10.0.19045
[gallery-dl][debug] requests 2.31.0 - urllib3 2.1.0
[gallery-dl][debug] Configuration Files ['%USERPROFILE%\\gallery-dl\\config.json', 'C:\\Users\\COMPUTER\\scoop\\apps\\gallery-dl\\current\\gallery-dl.conf']
[gallery-dl][debug] Starting DownloadJob for 'https://kemono.su/favorites'
[kemonoparty][debug] Using KemonopartyFavoriteExtractor for 'https://kemono.su/favorites'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): kemono.su:443
[urllib3.connectionpool][debug] https://kemono.su:443 "GET /api/v1/account/favorites?type=artist HTTP/1.1" 200 None
[kemonoparty][error] An unexpected error occurred: TypeError - '<' not supported between instances of 'NoneType' and 'str'. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[kemonoparty][debug]
Traceback (most recent call last):
  File "gallery_dl\job.pyc", line 150, in run
  File "gallery_dl\extractor\kemonoparty.pyc", line 521, in items
TypeError: '<' not supported between instances of 'NoneType' and 'str'
@mikf
Copy link
Owner

mikf commented Jun 12, 2024

You already reported this a week ago (#5692), and it got fixed (2cab87c).

There hasn't been a new gallery-dl release since. Try --update-to dev or manually grab a file from https://github.com/gdl-org/builds/releases in case the first method doesn't work (new feature etc).

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

No branches or pull requests

2 participants