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

Unable to log in with proper cookie or credentials #712

Closed
2 tasks done
tphillip913 opened this issue May 15, 2020 · 6 comments
Closed
2 tasks done

Unable to log in with proper cookie or credentials #712

tphillip913 opened this issue May 15, 2020 · 6 comments

Comments

@tphillip913
Copy link

tphillip913 commented May 15, 2020

Prerequisites

  • Did you read FAQ section?
    Yes. This error is not covered.

  • Did you test with the latest releases?
    I used version 20200503-beta1 and 20200502

Description

Using proper credentials and updating the cookie value in the config.ini as per the FAQ's instructions I get the following error(s):

Trying to log in with saved cookie
Cookie already expired/invalid.
Logging in...
Traceback (most recent call last):
File "PixivBrowserFactory.pyc", line 317, in login
TypeError: 'NoneType' object is not subscriptable
Error at login(): (<class 'TypeError'>, TypeError("'NoneType' object is not subscriptable"), <traceback object at 0x077352E8>)
Error at doLogin(): (<class 'TypeError'>, TypeError("'NoneType' object is not subscriptable"), <traceback object at 0x0738DF08>)
Cannot Login!

Steps to Reproduce

  1. Put in the proper credentials and cookie value in the config.ini (After logging into pixiv.net and having the cookies update)
  2. Run the following command:
    Pixivutil2.exe --exitwhendone --startaction=4 .\list

Expected behavior: [What you expected to happen]
Process is IDs in list.txt

Actual behavior: [What actually happened]
Dies at login with the above error

@NoneGiven
Copy link

I'm also getting this as of today.

@Nandaka
Copy link
Owner

Nandaka commented May 16, 2020

Weird, it is working on my side.

Also, the logging point to blank line in the source code:

@RoxasShadow
Copy link

Delete your cookie string in the config file and replace with your current PHPSESSID (cfr. #505).

@tphillip913
Copy link
Author

Odd. I deleted my cookie string twice and saved he config.ini file and got the above error. After a power outage (And subsequent reboot) I do it again for a third time and it takes.

WTF?

Ok. Either my Windows box doing these pulls is FUBAR or I need Father Karras for a holy ritual. I'll run with the former until the later becomes more apparent. Sigh

@NoneGiven
Copy link

Still having the same issue. Tried deleting the config, logging in to pixiv in the web browser, and copying over the new cookie.

PixivDownloader2 version 20200307
...
Trying to log in with saved cookie
Cookie already expired/invalid.
Logging in...
Traceback (most recent call last):
  File "PixivBrowserFactory.pyc", line 317, in login
TypeError: 'NoneType' object is not subscriptable
Error at login(): (<class 'TypeError'>, TypeError("'NoneType' object is not subscriptable"), <traceback object at 0x0C330368>)
Error at doLogin(): (<class 'TypeError'>, TypeError("'NoneType' object is not subscriptable"), <traceback object at 0x0C068308>)
Cannot Login!
press enter to exit.

@NoneGiven
Copy link

Updated to 20200503-beta1 and now it's working.

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

4 participants