-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ubuntu16.04 32位机登录错误 #377
Comments
清除~/.netease-musicbox/里面的cookie重新登录 On Thu, Sep 8, 2016, 21:29 Zhang Te (张特) notifications@github.com wrote:
|
没用..还是出错,错误还是那样. |
可能是LWPCookieJar在32位系统的问题,时间戳超过了32b能表示的最大值 |
http://bugs.python.org/issue5537 |
错误提示如下:
File "/usr/local/lib/python2.7/dist-packages/NEMbox/api.py", line 199, in httpRequest
method, action, query, urlencoded, callback, timeout))
File "/usr/local/lib/python2.7/dist-packages/NEMbox/api.py", line 226, in rawHttpRequest
self.session.cookies.save()
File "/usr/lib/python2.7/_LWPCookieJar.py", line 89, in save
f.write(self.as_lwp_str(ignore_discard, ignore_expires))
File "/usr/lib/python2.7/_LWPCookieJar.py", line 75, in as_lwp_str
r.append("Set-Cookie3: %s" % lwp_cookie_str(cookie))
File "/usr/lib/python2.7/_LWPCookieJar.py", line 35, in lwp_cookie_str
time2isoz(float(cookie.expires))))
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
The text was updated successfully, but these errors were encountered: