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

Problem: global name 'PixivHelper' is not defined #170

Closed
Xylion opened this issue Nov 13, 2016 · 8 comments
Closed

Problem: global name 'PixivHelper' is not defined #170

Xylion opened this issue Nov 13, 2016 · 8 comments

Comments

@Xylion
Copy link

Xylion commented Nov 13, 2016

Hello,
I just downloaded the software and tried to do a research by member_id.
It worked but while processing the images I have that:

Processing Image Id: XXXX
Image ID (XXXX): global name 'PixivHelper' not defined

And then it process another image.

error

@Nandaka
Copy link
Owner

Nandaka commented Nov 13, 2016

Are you using custom datetime format in config.ini?

Nandaka added a commit that referenced this issue Nov 13, 2016
Add call to use win_unicode_console, you need to set unicode-supported font in the windows console properties.
@Nandaka
Copy link
Owner

Nandaka commented Nov 13, 2016

can you try: https://github.com/Nandaka/PixivUtil2/releases/tag/v20161113b

@Xylion
Copy link
Author

Xylion commented Nov 13, 2016

Yes I use a custom datetime as the program didn't recognized the datetime used in the images I wanted.
I tried your new version and now I have this:

error2

@Nandaka
Copy link
Owner

Nandaka commented Nov 13, 2016

What is the value for your custom datetime format?
Ensure it is matching with the datetime format in your current pixiv website.

dateformat   ==> Pixiv DateTime format, leave blank to use default format for
                 English or Japanese. Refer to http://strftime.org/ for syntax.
         Quick Reference:
         %d = Day, %m = Month, %Y = Year (4 digit), %H = Hour (24h)
         %M = Minute, %S = Seconds

@Xylion
Copy link
Author

Xylion commented Nov 13, 2016

Date format is for example 1 24 2016 8:34
I wrote that in config.ini

dateformat

@Nandaka
Copy link
Owner

Nandaka commented Nov 13, 2016

January or November? also, try to remove the - as your sample doesn't have it.

It should be matching with what pixiv use.

@Xylion
Copy link
Author

Xylion commented Nov 13, 2016

Ah thank you it was the - that didn't work. I wrote it because in the message given by the program it was written.

Thank you very much.

@Nandaka
Copy link
Owner

Nandaka commented Nov 13, 2016

Anyway, there is small typo on the error handling. I've updated the zip file. https://github.com/Nandaka/PixivUtil2/releases/tag/v20161113b

@Nandaka Nandaka closed this as completed Nov 23, 2016
Nandaka added a commit that referenced this issue Mar 4, 2017
Add call to use win_unicode_console, you need to set unicode-supported font in the windows console properties.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants