WireViz icon indicating copy to clipboard operation
WireViz copied to clipboard

Windows build failing

Open VIPQualityPost opened this issue 1 year ago • 4 comments

Hi,

I installed on macos, it works fine. I tried to install on my work windows machine today, and am unable to generate even demo examples from repo:

metadata = Metadata(**yaml_data.get('metadata', {})),
AttributeError: 'NoneType' object has no attribute 'get'

VIPQualityPost avatar May 08 '24 21:05 VIPQualityPost

This was with demo02.yml from the repo.

VIPQualityPost avatar May 08 '24 21:05 VIPQualityPost

@VIPQualityPost - thank's for reporting this error, but please provide information about your set of versions as described in CONTRIBUTING.md and how you installed WireViz and dependencies. Otherwise, it might be hard to help you when nobody knows how to recreate the error you report.

kvid avatar May 10 '24 12:05 kvid

@VIPQualityPost wrote:

[...]

metadata = Metadata(**yaml_data.get('metadata', {})),
AttributeError: 'NoneType' object has no attribute 'get'

The error message you report tells me that you have no yaml_data, which is highly unusual. Either your YAML input is very weird (which isn't the case if you use the original "demo02.yml from the repo"), or maybe something's wrong with your PyYAML library installation, but I need more information from your installation setup to know.

Please try my suggestion in https://github.com/wireviz/WireViz/issues/366#issuecomment-2135646682 and report here the full output from all these commands.

kvid avatar Jun 02 '24 06:06 kvid

Sorry about disappearing off the issue- have been moving and not had access to my windows machine in the meantime. I will grab that info and get you more detail in a week or two!

VIPQualityPost avatar Jun 02 '24 15:06 VIPQualityPost