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

Temporary SVG file cannot be rewritten on Windows #183

Open
AndrewWPhillips opened this issue May 1, 2024 · 0 comments
Open

Temporary SVG file cannot be rewritten on Windows #183

AndrewWPhillips opened this issue May 1, 2024 · 0 comments

Comments

@AndrewWPhillips
Copy link

The 2nd time I run go-callvis I get this error:

...
2024/05/01 13:38:54 converting dot to svg..
2024/05/01 13:38:54 Could not open "L:\TEMP\go-callvis_export.svg" for writing : Invalid argument

I have seen this before where opening a file for write fails. (I believe this is an issue with io package on Windows but have not had a chance to investigate.) The workaround is to delete the file before trying to write it.

$ go version
go version go1.21.6 windows/amd64

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

1 participant