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

[bug site:sankaku] internal error when try to set post["tag_string_" + key]: TypeError: sequence item 0: expected str instance, NoneType found #1617

Closed
mo-han opened this issue Jun 13, 2021 · 0 comments
Labels

Comments

@mo-han
Copy link
Contributor

mo-han commented Jun 13, 2021

url: https://chan.sankakucomplex.com/?tags=%7Ekey_%28mangaka%29+%7Ekey_%28kagibangou%29
it's the output of my wrapper script, the first line is the list of sys.argv

['gallery-dl', '-R', '10', '-c', 'C:\\Users\\mo-han\\locallib\\usr\\etc\\gallery-dl.conf', '-o', 'base-directory=C:\\Users\\mo-han\\locallib\\usr\\dl\\gldl', '--cookies', 'C:\\Users\\mo-han\\locallib\\usr\\etc\\cookies.sankaku.txt', '-o', 'cookies-update=true', '-o', 'videos=true', '-o', 'tags=true', '-o', 'directory=["{category} {search_tags}"]', '-o', 'filename="{category}.{id}.{date!S:.10}.{md5}.{tags_character!S:L80/(various)/}.{tags_artist!S:L80/(various)/}.{extension}"', '--verbose', 'https://chan.sankakucomplex.com/?tags=%7Ekey_%28mangaka%29+%7Ekey_%28kagibangou%29']
[gallery-dl][debug] Version 1.17.5
[gallery-dl][debug] Python 3.6.8 - Windows-10-10.0.14393-SP0
[gallery-dl][debug] requests 2.18.4 - urllib3 1.22
[gallery-dl][debug] Starting DownloadJob for 'https://chan.sankakucomplex.com/?tags=%7Ekey_%28mangaka%29+%7Ekey_%28kagibangou%29'
[sankaku][debug] Using SankakuTagExtractor for 'https://chan.sankakucomplex.com/?tags=%7Ekey_%28mangaka%29+%7Ekey_%28kagibangou%29'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): capi-v2.sankakucomplex.com
[urllib3.connectionpool][debug] https://capi-v2.sankakucomplex.com:443 "GET /posts/keyset?tags=~key_%28mangaka%29+~key_%28kagibangou%29&lang=en&limit=100 HTTP/1.1" 200 None
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...021-06-09.a899b92a4266bccef809445dbacc479d..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...021-06-09.a0613efe91d26eff8318eeee9e425cea..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...daa57c386148da78f299aced..key_(mangaka), ishikawa_shisuke.png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...021-06-09.5f6f60fd3737e1435fed1848bd445bbc..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...021-06-09.2124491a6cc51e9a0888cef17fc5cfcb..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...021-06-09.eb491c727201ef54f02665e51425b463..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...021-06-09.be3baa99cb86f16a27e15f1f118a384c..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...021-06-09.2201b9c3c0257cab178de6daeecad5d5..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...021-06-09.0db3293728956684dd8f93a60e3b89e9..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...021-06-07.f6f19d3960e906c81ef04cd03d585c02..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...021-06-07.f093ddf094d41eeddc59c2a027ff701f..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...021-06-06.f7b3d1c5b3e837c9d0b56ea4ed998359..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...021-06-03.332b9efe0e15854067db69422772a35a..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...021-06-03.2a4ce79b6fb8bbc1f2a124f85d602404..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...021-05-27.9cfd51869288fa3d59359edbef8456a1..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...51135c7ba957eb01ba642b4184a9.rome_(hetalia).key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...-04-15.29d6a47d660835464f2036572c831680..key_(kagibangou).jpg
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...021-03-17.182221d9b426a3b3894a4931f89afc04..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...021-01-12.b6f9e3461f90ca754be4d988a419cf78..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...-11-23.cafb8758c625b051c7b7653bc65c4cd3..key_(kagibangou).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...020-10-24.30ef61e286b3023d37ea8f6fa4b1286b..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...020-10-11.add9955b546e9003b6aa3cf728483f76..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...020-10-11.d6505d52322066eaccb8de941663713d..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...-09-04.ad0f2124cd29e28deb25d72c1770c7d5..key_(kagibangou).jpg
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...-07-28.c63d3b955442db0a6693d34b57168710..key_(kagibangou).jpg
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...020-07-20.4b1c53484218751f6ab7ffaba654970b..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...020-07-20.17108e3c7d8750f0443adeeae04225e2..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...020-07-19.f7ec9c3c5c5ea6d2100bf0d045b1d4d2..key_(mangaka).jpg
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...-07-11.e87e04257f4a9f8f8aae8244375354ae..key_(kagibangou).jpg
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...-07-11.e73f10deb33441500b6a48ae6babe193..key_(kagibangou).jpg
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...020-07-07.bd67ec7e36fbc7eadc8b72cfe7895d2f..key_(mangaka).jpg
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...020-05-22.2ab933205bfa40246a441a43b267aa1c..key_(mangaka).jpg
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...020-05-22.51482b8a71e5ea5048f7cca1b4a6f428..key_(mangaka).jpg
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...020-05-22.e5167034ae941c05611fc6735a30f137..key_(mangaka).png
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...020-05-22.1a41f33bad608c0c2792aca0ead22df9..key_(mangaka).jpg
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...020-05-22.4b1f7cda61701e514e9e57dc824566be..key_(mangaka).jpg
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...020-05-22.5419208fd049480bea1f0d1f66bf7d64..key_(mangaka).jpg
# C:\Users\mo-han\locallib\usr\dl\gldl\sankaku ~key_(mangaka...020-05-22.4d15fc03a6e3b22fd3cfbbbd643154b4..key_(mangaka).jpg
[sankaku][error] An unexpected error occurred: TypeError - sequence item 0: expected str instance, NoneType found. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[sankaku][debug]
Traceback (most recent call last):
  File "c:\users\mo-han\appdata\local\programs\python\python36\lib\site-packages\gallery_dl\job.py", line 74, in run
    for msg in self.extractor:
  File "c:\users\mo-han\appdata\local\programs\python\python36\lib\site-packages\gallery_dl\extractor\booru.py", line 41, in items
    page_html = self._extended_tags(post)
  File "c:\users\mo-han\appdata\local\programs\python\python36\lib\site-packages\gallery_dl\extractor\sankaku.py", line 67, in _extended_tags
    post["tag_string_" + key] = " ".join(value)
TypeError: sequence item 0: expected str instance, NoneType found
请按任意键继续. . .
@mikf mikf closed this as completed in 9ed1370 Jun 14, 2021
@mikf mikf added the bug label Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants