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

Can't save figure #11

Open
gustavojra opened this issue Aug 6, 2024 · 2 comments
Open

Can't save figure #11

gustavojra opened this issue Aug 6, 2024 · 2 comments

Comments

@gustavojra
Copy link

Trying to save a file as some dummy name 'a' raises:

Unsupported file type:

/home/gustavo/achmvp

Supported extensions are
.pdf, .svg, .ps, .eps, .png, .tiff, .tif, .chmvp

The error occured in ../src/mainwindow_filesave.cpp, line 166.

However, if I try to save it as a.png instead (or any other format really), I get:

You cannot save this document with extension ".png" at the end of the name. The required extension is ".chmvp".

You can choose to use both, so that your file name ends in ".png.chmvp."
@jevandezande
Copy link
Collaborator

I haven't used this in a long time, but is there a difference between Save and Export? Also, can you try and check if my PR #10 solves your problem? It hasn't been commented on in 2 years, and I'd like someone else to test it before I merge it in.

@gustavojra
Copy link
Author

I also haven't needed it in a long time, decided to give it a try now and I simply cannot find the Export function (I really hope it is not somewhere obvious because I swear I looked for it.) The save as function gives me the errors above.

I tried with your version of the code and while it compiled and ran nicely, it still gave me the same error.

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