Adjust error message when exporting to a file open in another app
I needed to overwrite a file when exporting it. However, I spent approximately 20 minutes trying to figure out why I kept getting the error "There was a problem exporting your asset. We'd love to understand what went wrong so that we can fix this for you. Please tell us about the problem here."
I finally realized that this was because I was overwriting an opened file (I was viewing it in Adobe reader). As a software engineer to a team of software engineers, I highly recommend making the errors much more specific to the issue.
sendError("Please close the file.")
The original question was addressed, so I’m closing this ticket as addressed. However, if you’re still seeing this error message, please do report this in our Community Support forums here: https://community.adobe.com/t5/adobe-xd/bd-p/xd?page=1&sort=latest_replies&filter=all
Have the same problem! I don't have write permission issues. I save locally or network. Same problem. I have to change layers names and export again to work. Same names NOT.
i have a familiar problem. Everytime i want to export/overwrite a jpg of my art board . it gives me "There was a problem exporting your asset"
no matter if i have it opened or not it doesnt let me export it unless i change the name of the art board or create a new folder and export it in that.
this is really troubling as i have to keep making new folders to export any jpg of my art board
Help would be really appreciated
Feel free to close the ticket! Thanks
Vlad G. commented
This new message is indeed the expected one (different from the original you reported).
There was an error detecting all the cases of files already opened that was fixed in the meanwhile.
However, since we cannot detect that all errors are coming from file already opened (as opposed to access denied) on all versions of Windows, the message mentions both.
And by the way, I recreated this error today on a much newer Windows machine. So I've experienced this issue on two separate Windows laptops over the course of more than a year.
Oh gosh, I created this ticket over a year ago! I have no idea what project this was. But I tried recreating the problem with all file types on XD, and I got the attached error. I got it after exporting an artboard as a single PDF file, opening it in Adobe Acrobat Pro DC (version 19.012.20040), then updating the artboard in XD and attempting to export it again as a PDF. I couldn't find the version for XD, but I made sure it was the most up-to-date one.
AdminVlad G. (Software Engineer, Adobe) commented
Can you please tell us what application are you using and what file type are you exporting?
When I was saying that this should display a different message I tested with .pdf and Acrobat.
Sorry, I never saw Vlad’s comment until Elaine’s response! It’s a Windows machine.
For the record, I only saw that I had a response because I got an email, saying Elaine responded. Had no idea about the comment (whoops).
Vlad G. commented
Thanks for your feedback!
We should be able to warn the user of not being able to write a file at export on Windows - otherwise it's a bug and we will investigate.
Are you using Windows or macOS?