Traceback (most recent call last):


 "./pyvmomi-community-samples-master/samples/getvmsbycluster.py", line 152, in <module>

main()


 "./pyvmomi-community-samples-master/samples/getvmsbycluster.py", line 142, in main

vm2dict(dc.name, cluster.name, hostname, vm, summary)


 "./pyvmomi-community-samples-master/samples/getvmsbycluster.py", line 83, in vm2dict

data[dc][cluster][host][vmname]['folder'] = vm.parent.name
AttributeError: 'NoneType' object has no attribute 'name'

Traceback (most recent call last):


 "<input>", line 5, in <module>


 "/home/hcui7/miniconda3/envs/dian/lib/python3.7/site-packages/sympy/matrices/expressions/matmul.py", line 138, in doit

expr = canonicalize(MatMul(*args))


 "/home/hcui7/miniconda3/envs/dian/lib/python3.7/site-packages/sympy/strategies/core.py", line 11, in exhaustive_rl

new, old = rule(expr), expr


 "/home/hcui7/miniconda3/envs/dian/lib/python3.7/site-packages/sympy/strategies/core.py", line 95, in switch_rl

return rl(expr)


 "/home/hcui7/miniconda3/envs/dian/lib/python3.7/site-packages/sympy/strategies/core.py", line 85, in do_one_rl

result = rl(expr)


 "/home/hcui7/miniconda3/envs/dian/lib/python3.7/site-packages/sympy/matrices/expressions/matmul.py", line 190, in any_zeros

for arg in mul.args]):


 "/home/hcui7/miniconda3/envs/dian/lib/python3.7/site-packages/sympy/matrices/expressions/matmul.py", line 190, in <listcomp>

for arg in mul.args]):


 "/home/hcui7/miniconda3/envs/dian/lib/python3.7/site-packages/sympy/matrices/matrices.py", line 2141, in __getattr__

"%s has no attribute %s." % (self.__class__.__name__, attr))
AttributeError: ImmutableSparseMatrix has no attribute is_ZeroMatrix.
