pytoshop icon indicating copy to clipboard operation
pytoshop copied to clipboard

error display " Calling error for procedure 'gimp-item-set-name' " when open psd data in GIMP

Open hatano0x06 opened this issue 6 years ago • 2 comments

  • psdwriter version: 1.2.0
  • Python version: Python 3.6.5
  • Operating System: macOS Sierra 10.12.6

Description

I want to create psd from base64 png data. This is repository that I used pytoshop to create psd data from base64 png data. https://github.com/hatano0x06/pytoshop-test/tree/master

I success to create psd! but I can open from photoshop. I can open by gimp but the error message is display. This is the error message

Calling error for procedure 'gimp-item-set-name':
Procedure 'gimp-item-set-name' has been called with value '(null)' for argument 'name' (#2, type gchararray). This value is out of range.

I`m thinking if I solve this error, I can open in photoshop too.

Do you have some idea to solve this ploblem?

What I Did

I run my program by python3 base64Png_2_psd.py

P.S. This is really great code!! I am very helpful !! Is there a way to donate to you ?

hatano0x06 avatar Sep 26 '18 14:09 hatano0x06

If it opens in Photoshop, but not in the GIMP, that seems like a GIMP bug to me. GIMP's Photoshop reading support is not complete -- it doesn't support all features. Maybe try reporting that in GIMP's issue tracker?

mdboom avatar Sep 27 '18 22:09 mdboom

Sorry I think I put miss information to you. I cannot open by photoshop I can open by GIMP but the error message will display

This is the file that I cannot open by photoshop. You can try it what will happen. https://github.com/hatano0x06/pytoshop-test/blob/master/output.psd

I think it will like this( Sorry for the japanese message. It displaying "the program error has occurred. Cannot complete the operation") error-photo

hatano0x06 avatar Sep 28 '18 01:09 hatano0x06