Skip to main content
Participant
December 18, 2018

P: Plugin crema causing generator to break

  • December 18, 2018
  • 23 replies
  • 426 views

In Adobe CC 2019 there is a generator plugin called crema (I believe is the new engine for save for web) which is causing an unknown Javascript Error and making Adobe Generator Engine Unstable, I have some plugins that use adobe generator engine to work and at some point this Unknown Javascript Error is making the engine crash.

I would love some advice on this.

[warning:crema 11:31:55.658 index.js:61:21] user settings file could not be created[warning:core 11:31:55.998 generator.js:133:30] Photoshop error { id: 5, body: 'Error: No image open' }
[warning:generator-assets 11:31:56.001 documentmanager.js:336:26] Error: No image open
[warning:core 11:31:56.531 generator.js:133:30] Photoshop error { id: 11, body: 'Error: No image open' }
[warning:crema 11:31:56.532 documentmanager.js:336:26] Error: No image open
[warning:core 11:31:56.796 generator.js:133:30] Photoshop error { id: 15, body: 'Unknown JavaScript error' }
This topic has been closed for replies.

23 replies

corym_adbe
Participating Frequently
June 5, 2019
Eric, this "Unhandled property..." log does seems troubling. 

I'd like to find a way to reproduce it.  Would you be willing to share your custom generator plugins?  Does this error happen if you do *not* have your custom plugins installed?

Is there a specific file (or type of file) that this happens with?  Do you see this behavior with a *very simple* PSD; for example just a background image with rectangle drawn on top?
Participating Frequently
June 5, 2019
I work with Adan. Just tried the March update for Photoshop CC 2019 with our custom plugins and it's still causing Generator to crash:
[warning:generator-assets 11:15:22.928 document.js:880:38] Unhandled property in raw change: parentID 348
[warning:generator-assets 11:15:23.853 document.js:880:38] Unhandled property in raw change: parentID 309
[warning:generator-assets 11:15:25.761 document.js:880:38] Unhandled property in raw change: parentID 195
[warning:core 11:17:11.010 generator.js:133:30] Photoshop error { id: 158, body: 'Unknown JavaScript error' }
[error:app 11:17:11.011 app.js:350:25] Unknown JavaScript error
[error:app 11:17:11.012 app.js:115:17] Exiting with code -1: Uncaught exception: undefined
Removing Crema does fix the problem, but seems a bit like a hack. What if we need the new Save For Web functionality?

Seems like Generator is crashing when opening and closing files. Any progress on this issue?

Thanks!
Eric

EDIT: Our custom plugins work perfectly in PS 2015, 2017, and 2018!
corym_adbe
Participating Frequently
January 2, 2019
Adan, if you remove the "crema" plugin does the problem persist?  In my experience, none of the errors in your log messages are "fatal" for generator.  (you can safely temporarily remove crema by moving the folder to a different directory and restarting photoshop.  replace the directory after you're done testing.)