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

Could not write to destination path: image.mmd #7

Open
brunoprietog opened this issue Apr 16, 2022 · 4 comments
Open

Could not write to destination path: image.mmd #7

brunoprietog opened this issue Apr 16, 2022 · 4 comments

Comments

@brunoprietog
Copy link

Hi,

I am trying to convert an image in my user root folder.

The command I am using is as follows:

mpx convert image.jpg image.mmd

It succeeds in converting, but it says this:

Convert with snip api image.jpg image.mmd mmd                                                                           
Could not write to destination path: image.mmd

Finally, I lose a snip from my plan and can't see it.

I tried it in another folder that has 777 permissions and the same thing happens.

What can I do?

Thanks!

@xrkk
Copy link

xrkk commented Jul 8, 2022

I met the save problem and debugged the code, I think it's mathpix server problem, the ocr server failed the ocr operation and can't get and text, and then server response doesn't have any "display_text", and then nothing to write to disk, the operation fails.

@xrkk
Copy link

xrkk commented Jul 8, 2022

After reversing, I found that convert.js forgot to attach parameter options_json when sending POST requests. Will upload new code when finished.

@abhishekbaghel05
Copy link

abhishekbaghel05 commented Aug 5, 2022

I am facing the same issue. Why mpx convert img.png file.mmd is not giving the result for the same image that it processed easily with the desktop version of Mathpix Snip? I suppose they are same.

What can be done?

Thanks!

@zufius
Copy link

zufius commented May 11, 2023

I also encounter the same problem. Could you please fix this @montanaflynn @nicodjimenez. Thanks!

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

4 participants