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

[Kemono] An unexpected error occurred: KeyError - 'path' #5394

Closed
purplerainbow1137 opened this issue Mar 28, 2024 · 4 comments
Closed

[Kemono] An unexpected error occurred: KeyError - 'path' #5394

purplerainbow1137 opened this issue Mar 28, 2024 · 4 comments

Comments

@purplerainbow1137
Copy link

I'm getting this error when I try to download files from a specific profile on Kemonoparty:

Here is the output of gallery-dl:

gallery-dl --verbose https://kemono.su/gumroad/user/3104836582433
[gallery-dl][debug] Version 1.26.9 - Git HEAD: 92a4311868
[gallery-dl][debug] Python 3.12.2 - macOS-14.4-arm64-arm-64bit
[gallery-dl][debug] requests 2.31.0 - urllib3 2.2.1
[gallery-dl][debug] Configuration Files ['${HOME}/.config/gallery-dl/config.json']
[gallery-dl][debug] Starting DownloadJob for 'https://kemono.su/gumroad/user/3104836582433'
[kemonoparty][debug] Using KemonopartyUserExtractor for 'https://kemono.su/gumroad/user/3104836582433'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): kemono.su:443
[urllib3.connectionpool][debug] https://kemono.su:443 "GET /api/v1/gumroad/user/3104836582433?o=0 HTTP/1.1" 200 9800
[postprocessor.metadata][debug] Using metadata archive '/Users/usr/gallery-dl/gallery-dl-kemono-postprocessor.sqlite'
[kemonoparty][debug] Active postprocessor modules: [MtimePP, MetadataPP]
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/bnjwpl_(NSFW + GTS Growth) Crossing the Giantess - Part 3_01_AudioStoryRates-VoiceLikeCandy.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/bnjwpl_(NSFW + GTS Growth) Crossing the Giantess - Part 3_02_AudioCatalogs-VoiceLikeCandy.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/bnjwpl_(NSFW + GTS Growth) Crossing the Giantess - Part 3_03_Crossing the Giantess - Part 3.mp3
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/bnjwpl_(NSFW + GTS …rossing the Giantess - Part 3_04_Crossing the Giantess - Part 3 - Script.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/bnjwpl_(NSFW + GTS Growth) Crossing the Giantess - Part 3_05_h1nbs9kr28g8aiq2fvhmjvco0ifd.png
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/bnjwpl_(NSFW + GTS …rt 3_06_60bbeb532766ba80d8dcf83c34d56441d939b6029f99c34ee570c3404a54e32c.jpg
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/kpump_(NSFW + GTS G…ossing the Giantess - Part 1 _01_Crossing the Giantess - Part 1 - Script.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/kpump_(NSFW + GTS Growth) Crossing the Giantess - Part 1 _02_Crossing the Giantess - Part 1.mp3
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/kpump_(NSFW + GTS Growth) Crossing the Giantess - Part 1 _03_AudioStoryRates-VoiceLikeCandy.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/kpump_(NSFW + GTS Growth) Crossing the Giantess - Part 1 _04_AudioCatalogs-VoiceLikeCandy.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/kpump_(NSFW + GTS Growth) Crossing the Giantess - Part 1 _05_pqz6zkmtx2bjiugyhcnbifl2xxuz.png
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/kpump_(NSFW + GTS G…t 1 _06_b580f51f9d122b3732c68c261b7ef6b11f03976110ee16208f7662c6ce01ad4a.jpg
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/zvsehb_(NSFW + GTS …rossing the Giantess - Part 2_01_Crossing the Giantess - Part 2 - Script.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/zvsehb_(NSFW + GTS Growth) Crossing the Giantess - Part 2_02_Crossing the Giantess - Part 2.mp3
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/zvsehb_(NSFW + GTS Growth) Crossing the Giantess - Part 2_03_AudioStoryRates-VoiceLikeCandy.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/zvsehb_(NSFW + GTS Growth) Crossing the Giantess - Part 2_04_AudioCatalogs-VoiceLikeCandy.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/zvsehb_(NSFW + GTS Growth) Crossing the Giantess - Part 2_05_w7q2230s0736h5ft6hka2fd8v3v2.png
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/zvsehb_(NSFW + GTS …rt 2_06_0689234c323ddc6e966ba907597f5b01c84bed3c5d74dd7c320e98a7606f3ab1.jpg
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/EWRt_238-HOT WIFE H…otwife] [Dubious Consent] [Cuckold] [Group Sex]_01_238-HotWifeHouseParty.wav
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/EWRt_238-HOT WIFE H… [Dubious Consent] [Cuckold] [Group Sex]_02_AudioCatalogs-VoiceLikeCandy.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/EWRt_238-HOT WIFE H…Dubious Consent] [Cuckold] [Group Sex]_03_AudioStoryRates-VoiceLikeCandy.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/EWRt_238-HOT WIFE H… [Dubious Consent] [Cuckold] [Group Sex]_04_fuda0w25hxy4sidokz3d5yc059vh.png
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/rlsno_(NSFW + GTS G… Wife's Growth Milk - Written by SGA_01_Your Wife’s Growth Milk - Script.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/rlsno_(NSFW + GTS Growth + BE) Your Wife's Growth Milk - Written by SGA_02_GumroadThumbnail.png
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/rlsno_(NSFW + GTS G… BE) Your Wife's Growth Milk - Written by SGA_03_Your Wife's Growth Milk.mp3
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/rlsno_(NSFW + GTS G…ife's Growth Milk - Written by SGA_04_Audio Stories Rates-VoiceLikeCandy.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/rlsno_(NSFW + GTS G…our Wife's Growth Milk - Written by SGA_05_Audio Catalogs-VoiceLikeCandy.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/rlsno_(NSFW + GTS G…Your Wife's Growth Milk - Written by SGA_06_30ij7mxdy23ps4aukmnudigz4dat.png
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/lghign_(NSFW + Muscle Growth) Muscle Checkup - Written by SGA_01_Muscle Checkup - Script.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/lghign_(NSFW + Muscle Growth) Muscle Checkup - Written by SGA_02_Muscle Checkup.mp3
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/lghign_(NSFW + Muscle Growth) Muscle Checkup - Written by SGA_03_Thumbnail.jpg
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/lghign_(NSFW + Musc…Growth) Muscle Checkup - Written by SGA_04_Audio Catalogs-VoiceLikeCandy.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/lghign_(NSFW + Musc…h) Muscle Checkup - Written by SGA_05_Audio Stories Rates-VoiceLikeCandy.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/lghign_(NSFW + Musc… Growth) Muscle Checkup - Written by SGA_06_nb1gvl3ifeg11f611821pcmbhd40.png
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/wzbgz_385-DON'T WAK…ter] [He's A Pornstar] [Blows Him While Sleeping]_01_385x2-DontWakeDaddy.wav
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/wzbgz_385-DON'T WAK…e's A Pornstar] [Blows Him While Sleeping]_02_385-DontWakeDaddy - Script.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/wzbgz_385-DON'T WAK…rnstar] [Blows Him While Sleeping]_03_Audio Stories Rates-VoiceLikeCandy.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/wzbgz_385-DON'T WAK… A Pornstar] [Blows Him While Sleeping]_04_Audio Catalogs-VoiceLikeCandy.pdf
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/wzbgz_385-DON'T WAK…s A Pornstar] [Blows Him While Sleeping]_05_mws2w89f6kkmna59elqgww1d5ht8.png
/Users/usr/gallery-dl/kemonoparty/gumroad/3104836582433/QzgIc_Access To ALL My Public Freebies!_01_m53n40x1y8k31x8ei2zm89fxbxke.png
[kemonoparty][error] An unexpected error occurred: KeyError - 'path'. 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 "/opt/homebrew/Cellar/gallery-dl/1.26.9/libexec/lib/python3.12/site-packages/gallery_dl/job.py", line 127, in run
    for msg in extractor:
  File "/opt/homebrew/Cellar/gallery-dl/1.26.9/libexec/lib/python3.12/site-packages/gallery_dl/extractor/kemonoparty.py", line 99, in items
    url = file["path"]
          ~~~~^^^^^^^^
KeyError: 'path'

My user's home folder is not usr, I am using that as a placeholder to anonymize the name of my home folder. That said, the home folder's name is a three letter combination like usr, all lowercase. Think abc.

I'm not sure why gallery-dl is asking for the verbose flag even when I run with --verbose as directed. Is there different syntax required for the --verbose argument, or a way to modify the level of detail shown by the --verbose argument? (Just in case this isn't enough detail).

@valdearg
Copy link

Just had this one myself, I believe the post is a text only post. Example link https://kemono.su/gumroad/user/9994511604026/post/HUXxq

The API JSON data is:

        "id": "HUXxq",
        "user": "9994511604026",
        "service": "gumroad",
        "title": "ALL works from 1 to 200",
        "content": "<p>In this pack you will find the followings work:</p><p>1 to 115, all for free</p>\n\n",
        "embed": {},
        "shared_file": false,
        "added": "2024-03-16T10:02:22.648036",
        "published": "2018-05-17T14:30:15",
        "edited": "2018-05-17T14:30:15",
        "file": {
            "covers": [
                {}
            ],
            "thumbnail": {}
        },
        "attachments": [],
        "poll": null,
        "captions": null,
        "tags": null
    },

@mikf
Copy link
Owner

mikf commented Mar 28, 2024

Duplicate of #5368

@mikf
Copy link
Owner

mikf commented Mar 28, 2024

I'm not sure why gallery-dl is asking for the verbose flag even when I run with --verbose as directed. Is there different syntax required for the --verbose argument, or a way to modify the level of detail shown by the --verbose argument? (Just in case this isn't enough detail).

It always prints the "An unexpected error occurred" message when an unexpected Exception gets raised, regardless of log level (--verbose or otherwise).

@purplerainbow1137
Copy link
Author

I'm not sure why gallery-dl is asking for the verbose flag even when I run with --verbose as directed. Is there different syntax required for the --verbose argument, or a way to modify the level of detail shown by the --verbose argument? (Just in case this isn't enough detail).

It always prints the "An unexpected error occurred" message when an unexpected Exception gets raised, regardless of log level (--verbose or otherwise).

Thanks for clarifying, I wasn’t sure whether or not everything you needed was included.

@mikf mikf closed this as completed Apr 25, 2024
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

3 participants