Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows build failing #342

Open
VIPQualityPost opened this issue May 8, 2024 · 4 comments
Open

Windows build failing #342

VIPQualityPost opened this issue May 8, 2024 · 4 comments

Comments

@VIPQualityPost
Copy link

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
Copy link
Author

This was with demo02.yml from the repo.

@kvid
Copy link
Collaborator

kvid commented May 10, 2024

@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
Copy link
Collaborator

kvid commented Jun 2, 2024

@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 #366 (comment) and report here the full output from all these commands.

@VIPQualityPost
Copy link
Author

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!

kvid added a commit that referenced this issue Jun 11, 2024
Might help in use cases like #342
kvid added a commit that referenced this issue Jun 12, 2024
Might help in reported issues like #342
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

No branches or pull requests

2 participants