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

PixivUtil2 panics in R-18 mode if there's no R-18 images #152

Closed
NHOrus opened this Issue Oct 5, 2016 · 0 comments

Comments

Projects
None yet
2 participants
@NHOrus
Contributor

NHOrus commented Oct 5, 2016

Processing Member Id: 2319
Reading /home/nho/workshop/PixivUtil2/config.ini ...
done.
Page 1
R-18 Mode only.
Member Url: http://www.pixiv.net/member_illust.php?id=2319&p=1&tag=R-18
Member Name : 野宮 秀作
Member Avatar: http://i4.pixiv.net/user-profile/img/2009/07/22/00/36/30/934299_33bc393300eb23fac4f32cbbc1c57e66_170.jpg
Member Token : no_sh
Checking local filename... No image found for: 2319
Traceback (most recent call last):
File "PixivUtil2.py", line 470, in process_member
dbManager.updateLastDownloadedImage(member_id, image_id)
UnboundLocalError: local variable 'image_id' referenced before assignment
Error at process_member(): (<type 'exceptions.UnboundLocalError'>, UnboundLocalError("local variable 'image_id' referenced before assignment",), <traceback object at 0x7f639d543a28>)
Dumping html to: Error page for member 2319.html
Something wrong, retrying after 2 second ( 1 )

This dumps error page. I think it may be successfully ignored, in this case, instead.

@number213 number213 referenced this issue Oct 9, 2016

Merged

Fix Issue #152 #153

Nandaka added a commit that referenced this issue Oct 10, 2016

@Nandaka Nandaka closed this Oct 17, 2016

Xundi007 added a commit to Xundi007/PixivUtil2 that referenced this issue Oct 20, 2016

Nandaka pushed a commit that referenced this issue Mar 4, 2017

Nandaka added a commit that referenced this issue Mar 4, 2017

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