PlugPlugErrorCode_disposeEvalScriptEngineCallbackNotFound and verify entension's signature take a while
Hi,
I've got error messages on an extension who works well on InDesign CC2018.
Here is user's CEP8-IDSN.log file :
2018-09-21 09:34:06:637 : INFO PlugPlug version : 8.0.0.55
2018-09-21 09:34:06:642 : INFO LogLevel : 1
2018-09-21 09:34:06:649 : ERROR Headlights service fails to log extension data.
2018-09-21 09:34:07:754 : ERROR getCurrentImsUserId: Unknown Exception occured
2018-09-21 10:20:03:044 : ERROR SetIsLoaded: Failed to dispose scripting engine <my_extension.myPanel_Engine_Id>. The error code is PlugPlugErrorCode_disposeEvalScriptEngineCallbackNotFound
2018-09-21 10:21:24:776 : ERROR requestOpenExtension: Unknown Exception occured
2018-09-21 10:26:37:927 : ERROR SetIsLoaded: Failed to dispose scripting engine <my_extension.myPanel_Engine_Id>. The error code is PlugPlugErrorCode_disposeEvalScriptEngineCallbackNotFound
2018-09-21 10:33:32:296 : ERROR An error occurred while trying to clean up an unloaded extension: EvalScript: Failed to remove search include path
<C:\Program Files (x86)\Common Files\Adobe\CEP\extensions\com.adobe.ccx.start-2.2.1> on script engine <com.adobe.ccx.start_Engine_Id>
I've not found any informations about those errors and I don't know why they appear neither how to solve them.
Does anybody have any idea ?
However, users have problem with my extension : when extension is starting, they've to wait about 30 seconds before extension has started.
During those couple of seconds, they cannot do anything on InDesign : extension cannot be reduce neither move, same with InDesign. If you try to reduce InDesign it doesn't response. If you switch on another application, when InDesign is responding again, it switches on it. My extension's logs are written only after those seconds. It's like InDesign have some problems to start my extension/load it. I doesn't have this problem on my computer. In fact, if you look at lines 4 and 5 in above logs, a minute appends between them.
Here is my CEP8-IDSN.log file :
2018-09-20 17:32:13:141 : INFO PlugPlug version : 8.0.0.55
2018-09-20 17:32:13:142 : INFO LogLevel : 1
2018-09-20 17:32:13:144 : ERROR Headlights service fails to log extension data.
2018-09-21 11:29:02:900 : ERROR SetIsLoaded: Failed to dispose scripting engine <my_extension.myPanel_Engine_Id>. The error code is PlugPlugErrorCode_disposeEvalScriptEngineCallbackNotFound
So users have 3 errors more :
- getCurrentImsUserId: Unknown Exception occured
- requestOpenExtension: Unknown Exception occured
- An error occurred while trying to clean up an unloaded extension: EvalScript: Failed to remove search include path ......
Can this problem be related to those errors ? Or does anybody experiments the same problem ?
Edit:
I've set PlugPlug Logs Level to "Debug". We can see that verifying extension signature take a while :
2018-09-21 15:17:09:389 : INFO PlugPlugLoadExtensionEx called for extension : my_extension
2018-09-21 15:17:09:389 : INFO TEST-LOADEXTENSION-PERFORMANCE, PLUGPLUG, LoadExtension my_extension begin.
2018-09-21 15:17:09:389 : INFO TEST-LOADEXTENSION-PERFORMANCE, PLUGPLUG, Verify signature begin.
2018-09-21 15:17:30:752 : INFO TEST-LOADEXTENSION-PERFORMANCE, PLUGPLUG, Verify signature end.
2018-09-21 15:17:30:752 : INFO RED 83.000000, GREEN 83.000000, BLUE 83.000000, ALPHA 255.000000
Why does it take so long time ? Could we do something to make it faster ?
If I set PlayerDebugMode key to 1 (without verifying signature), it's faster (like in this post :CEP panel start slow without PlayerDebugMode )
Thanks
Regards
