Error when exporting sprite sheet

I can’t export my animation to a sprite sheet. When I try, I get the following error:

image.