You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
protobuf latest version doesn't support py2.6 any more, but we could use older version in setup.py
other issue found:
Traceback (most recent call last):
File "tests/sample.py", line 354, in<module>main()
File "tests/sample.py", line 330, in main
sample_pull_logs(client, project, logstore)
File "tests/sample.py", line 53, in sample_pull_logs
datetime.fromtimestamp(int(time.time() - 60)).strftime('%Y-%m-%d %H:%M:%S'))
File "/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/aliyun/log/logclient.py", line 566, in get_cursor
params = {'type': 'cursor', 'from': str(start_time) if start_time in ("begin", "end") else parse_timestamp(start_time)}
File "/home/travis/virtualenv/python2.6.9/lib/python2.6/site-packages/aliyun/log/util.py", line 215, in parse_timestamp
return int((dt - datetime(1970,1,1)).total_seconds())
AttributeError: 'datetime.timedelta' object has no attribute 'total_seconds'
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: