Traceback (most recent call last):


 "test.py", line 4, in <module>

client = get_client_from_cli_profile(ComputeManagementClient)


 "C:\users\Nathan\Documents\projects\venv\lib\site-packages\azure\common\client_factory.py", line 75, in get_client_from_cli_profile

cloud = get_cli_active_cloud()


 "C:\users\Nathan\Documents\projects\venv\lib\site-packages\azure\common\cloud.py", line 21, in get_cli_active_cloud

return get_active_cloud()


 "C:\users\Nathan\Documents\projects\venv\lib\site-packages\azure\cli\core\cloud.py", line 324, in get_active_cloud

cli_ctx = get_default_cli()


 "C:\users\Nathan\Documents\projects\venv\lib\site-packages\azure\cli\core\__init__.py", line 546, in get_default_cli

return AzCli(cli_name='az',


 "C:\users\Nathan\Documents\projects\venv\lib\site-packages\azure\cli\core\__init__.py", line 55, in __init__

SESSION.load(os.path.join(azure_folder, 'az.sess'), max_age=3600)


 "C:\users\Nathan\Documents\projects\venv\lib\site-packages\azure\cli\core\_session.py", line 46, in load

if st.st_mtime + max_age < time.clock():
AttributeError: module 'time' has no attribute 'clock'

Traceback (most recent call last):


 "D:\tools\XX-Net-3.7.9\code\default\python27\1.0\lib\threading.py", line 801, in __bootstrap_inner

self.run()


 "D:\tools\XX-Net-3.7.9\code\default\python27\1.0\lib\threading.py", line 754, in run

self.__target(*self.__args, **self.__kwargs)


 "D:\tools\XX-Net-3.7.9\code\default\gae_proxy\local\google_ip.py", line 652, in scan_ip_worker

xlog.exception("google_ip.runJob fail:%r", e)
AttributeError: 'NoneType' object has no attribute 'exception'
