Skip to content

Conversation

@jeroendev-one
Copy link

File "/opt/netbox-sync/module/sources/vmware/connection.py", line 2200, in add_virtual_machine

detailed_data_dict.get("distroVersion") not in platform:

TypeError: 'in ' requires string as left operand, not NoneType

Fixes this error, this seemed to be when a OS version is not known in VMWare.

 File "/opt/netbox-sync/module/sources/vmware/connection.py", line 2200, in add_virtual_machine

detailed_data_dict.get("distroVersion") not in platform:

TypeError: 'in <string>' requires string as left operand, not NoneType 

Fixes this error, this seemed to be when a OS version is not known in VMWare.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant