-
Notifications
You must be signed in to change notification settings - Fork 24
Description
get_instance(instance_id)
errormsg:
ValueError Traceback (most recent call last)
in ()
----> 1 conn.get_instance(instance_ids[0])
/data/xxxx/lib/python2.7/site-packages/Aliyun-1.1.0-py2.7.egg/aliyun/ecs/connection.pyc in get_instance(self, instance_id)
184 int(resp['InternetMaxBandwidthOut']),
185 dateutil.parser.parse(resp['CreationTime']),
--> 186 dateutil.parser.parse(resp['ExpiredTime']),
187 resp['InstanceChargeType'],
188 resp['Description'],
/data/xxx/lib/python2.7/site-packages/python_dateutil-2.6.0-py2.7.egg/dateutil/parser.pyc in parse(timestr, parserinfo, **kwargs)
1166 return parser(parserinfo).parse(timestr, **kwargs)
1167 else:
-> 1168 return DEFAULTPARSER.parse(timestr, **kwargs)
1169
1170
/data/xxx/lib/python2.7/site-packages/python_dateutil-2.6.0-py2.7.egg/dateutil/parser.pyc in parse(self, timestr, default, ignoretz, tzinfos, **kwargs)
560
561 if len(res) == 0:
--> 562 raise ValueError("String does not contain a date.")
563
564 repl = {}
ValueError: String does not contain a date.