Suspended Fanbox artist causing Fanbox download functionalities to stop; artist also isn't actually suspended
See original GitHub issuePrerequisites
- [Y] Did you read FAQ section in readme.md?
- [Y] Did you test with the latest releases or commit ?
- [Y] Did you search for existing issues in Issues?
Description
Related, maybe even same as https://github.com/Nandaka/PixivUtil2/issues/873
Artist ID is 43189578. Their fanbox is working fine. (nsfw warning).
Should also be noted that their non-fanbox has a different ID for some reason(58633620).
Steps to Reproduce
- Use any of the f# functions. f2 should be fine.
- In Artist ID, input 43189578.
- Error shown: Error getting FANBOX artist by id: 43189578 ==> 該当ユーザーのアカウントは停止されています。 Unknown Error: (<class ‘UnboundLocalError’>, UnboundLocalError(“local variable ‘artist’ referenced before assignment”), <traceback object at 0x03F03408>)
Expected behavior: Should get the artist successfully, or if the user really is suspended, they shouldn’t be included in the retrieval of the following list, or skip over it instead and don’t close the program so that batch functions like f1, f4, and f5 don’t break in between.
Actual behavior: Error causes program to exit despite user existing
Versions
20210108-beta4
You can get this information from executing PixivUtil2.py --help
.
Latest version available in https://github.com/Nandaka/PixivUtil2/releases
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
MANGA MATERIALS : ENGLISH|pixivFANBOX
This activity (Fanbox) is based on my motivation and may stop at any time. ... I am not a professional teacher; I am...
Read more >Service Master Terms of Use | pixiv Inc.
User may not make any claims whatsoever to the Company for investigation regarding temporary suspension of use of the Services, damages incurred, lost...
Read more >Ticket: # 705801 - unsolicited email advertising Description
When I try to unsubscribe, the verification code that I type in is rejected. I believe this is a scam and a way...
Read more >live2d rigging tutorial
Artist agrees for the rigger to add masks or overpaint incase changes are minor ... in this tutorial is available at the below...
Read more >Recep ivedik survivor full izle - TryEur.com is for sale
Gerrit Cole apparently also chasing 61 homers for the season MLB analyst rips into New York Yankees ace for a subpar 2022 season...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
okay, I pulled a new request, hopefully it would reach your expectation. when the artist is suspended on pixiv, if in your fanbox filename formats, there is either
%artist%
or%artistToken%
, you would be required to provide those for that artist, otherwise, the procedure would continue.it was somehow changed in #873 to: if you have downloaded from their pixiv and their information is restored in DB before, PixivUtil2 would use the stored information in db to generate filenames. otherwise the error would be thrown as before
the reason for keeping throwing such error is because if some filename format might contain placeholders whose information could only be retrieved from pixiv.net, namely artist name and token, filenames could be wrong.
i would change it to continuing processing next artist instead of stopping the whole program though. that was not though out.