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'

Traceback (most recent call last):


 "/usr/lib/python2.6/site-packages/salt/cloud/cli.py", line 284, in run

self.config.get('names')


 "/usr/lib/python2.6/site-packages/salt/cloud/__init__.py", line 1458, in run_profile

ret[name] = self.create(vm_)


 "/usr/lib/python2.6/site-packages/salt/cloud/__init__.py", line 1288, in create

output = self.clouds[func](vm_)


 "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__

self.gen.throw(type, value, traceback)


 "/usr/lib/python2.6/site-packages/salt/utils/context.py", line 48, in func_globals_inject

yield


 "/usr/lib/python2.6/site-packages/salt/cloud/__init__.py", line 1288, in create

output = self.clouds[func](vm_)


 "/usr/lib/python2.6/site-packages/salt/cloud/clouds/vmware.py", line 2511, in create

specs = _manage_devices(devices, object_ref)


 "/usr/lib/python2.6/site-packages/salt/cloud/clouds/vmware.py", line 680, in _manage_devices

network_spec = _edit_existing_network_adapter(device, network_name, adapter_type, switch_type)


 "/usr/lib/python2.6/site-packages/salt/cloud/clouds/vmware.py", line 346, in _edit_existing_network_adapter

portgroupKey=network_ref.key,
AttributeError: 'NoneType' object has no attribute 'key'`
