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

2.77.3 (faustgen 1.73) appears to have broken svg generation on Windows; it works fine with faust 2.74.3 (faustgen 1.71) #1122

Open
eleses opened this issue Feb 14, 2025 · 4 comments

Comments

@eleses
Copy link

eleses commented Feb 14, 2025

After updating to faustgen 1.73 (which uses faust 2.77.3) "view SVG diagram" no longer works for me, just displays some error message. And indeed the path that it complains about is non-existent. Rolling back to faustgen 1.71 (which uses faust 2.74.3) fixes it for me. I suppose it's due to this change mentioned in the changelog of faust 2.77.3.

Remove undeeded SVG generation in faustgen.

Perhaps that wasn't so unnecessary after all.

By the way, "view libraries" never really worked in the Windows version of faustgen, as far as I can tell.

@sletz
Copy link
Member

sletz commented Feb 15, 2025

This commit solved another issue and SVG generation still works on macOS. Can you send the screenshot of the error message you get ?

@eleses
Copy link
Author

eleses commented Feb 15, 2025

It's just Windows popping up an error message box that
C:\Users\%USERNAME%\AppData\Local\Temp\faustgen-%NUMBER%-svg\process.svg is not found. Where %NUMBER% is some number. This is surely in response to start being called on the svg.

Image

And indeed the faustgen-%NUMBER%-svg folder is no longer generated on Windows in the newest version of faustgen. I manually checked from the Windows Explorer. It's not some naming error, no folder whatsoever gets created in Local\Temp by the newest version.

@sletz
Copy link
Member

sletz commented Feb 15, 2025

Thanks. TBH the fausgen~ Windows version would need a bit of refresh. Are you able to build the code yourself and possibly debug ?

@eleses
Copy link
Author

eleses commented Feb 15, 2025

Here is the Max console when it fails (on some trivial example) if it's of any help.

Image

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