addam / Export-Paper-Model-from-Blender

Python addon for creating paper models in Blender (development version)
https://blenderartists.org/t/export-paper-model/476597
406 stars 54 forks source link

Traceback error when exporting with textures #35

Closed leo60228 closed 7 years ago

leo60228 commented 9 years ago

When the textures parameter is anything but "No Textures", the output isn't created and I get this traceback error:

Traceback (most recent call last):
  File "C:\Users\snuggles08\AppData\Roaming\Blender Foundation\Blender\2.71\scri
pts\addons\io_export_paper_model.py", line 1833, in execute
    self.unfolder.save(self.properties)
  File "C:\Users\snuggles08\AppData\Roaming\Blender Foundation\Blender\2.71\scri
pts\addons\io_export_paper_model.py", line 232, in save
    self.mesh.save_separate_images(tex, printable_size.y * ppm, filepath, do_emb
ed=True)
  File "C:\Users\snuggles08\AppData\Roaming\Blender Foundation\Blender\2.71\scri
pts\addons\io_export_paper_model.py", line 598, in save_separate_images
    image.save()
RuntimeError: Error: Image 'tmp7ondnh65.png' could not be saved to 'C:\Users\SNU
GGL~1\AppData\Local\Temp\tmp7ondnh65.png'
miriorama commented 8 years ago

Any news?

sybrenstuvel commented 8 years ago

I get this error too, with the version shipped with Blender 2.78-rc1 on Windows 10, 64-bit. It seems to depend on the image packing method. Setting it to "Linked" or "Single Linked" seems to provide a workaround.

addam commented 7 years ago

Another workaround is to use PDF export.

addam commented 7 years ago

Fixed. (I finally installed a copy of windows, that's why it took me so long)