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

用邮箱登录时报错。 #450

Closed
WeihuaGu opened this issue Dec 8, 2016 · 8 comments
Closed

用邮箱登录时报错。 #450

WeihuaGu opened this issue Dec 8, 2016 · 8 comments

Comments

@WeihuaGu
Copy link

WeihuaGu commented Dec 8, 2016

因为好多人用网易云音乐用的是网易邮箱的帐号,能不能增加对于邮箱登录的支持。

@sheacoding
Copy link

sheacoding commented Dec 8, 2016 via email

@WeihuaGu
Copy link
Author

WeihuaGu commented Dec 8, 2016

@sheacoding 因为输入邮箱帐号和密码后就变成了图二的样子:

@kigawas
Copy link
Collaborator

kigawas commented Dec 8, 2016

看上去是pyopenssl的问题,更新一下requests吧

@WeihuaGu WeihuaGu changed the title 建议。能不能增加网易邮箱的登录,而不只是手机。 用邮箱登录时报错。 Dec 8, 2016
@WeihuaGu
Copy link
Author

WeihuaGu commented Dec 8, 2016

@kigawas 用pip更新,显示是最新的:

pip install --upgrade requests
Requirement already up-to-date: requests in ./.local/lib/python2.7/site-packages

@kigawas
Copy link
Collaborator

kigawas commented Dec 8, 2016

conda/conda#3938

从上面提到的情况看,requests是新版但pyopenssl可能是旧版,需要更新pyopenssl

@WeihuaGu
Copy link
Author

WeihuaGu commented Dec 8, 2016

@kigawas 谢谢你。更新了pyopenssl为最新版,这回不会像上面图二了。可是自动退出并且报了错误:

Traceback (most recent call last):
……
 File "/usr/lib/python2.7/cookielib.py", line 99, in time2isoz
    year, mon, mday, hour, min, sec = time.gmtime(t)[:6]
ValueError: timestamp out of range for platform time_t

我不懂python,好像跟时间戳有关。

@kigawas
Copy link
Collaborator

kigawas commented Dec 8, 2016

32位Python的一个问题,见#405

@WeihuaGu
Copy link
Author

WeihuaGu commented Dec 8, 2016

@kigawas 再次感谢! 看了下#405 ,好像是因为处理年限的关系,在32位linux上面会报错。

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

3 participants