MATLAB Answers

uisetcolor -- IPC process exited. Exit code: 127

18 views (last 30 days)
Thomas Vincent
Thomas Vincent on 31 May 2018
Answered: Greg on 1 Jun 2018
When using uisetcolor as in the example (linux, matlab version: '9.2.0.556344 (R2017a)') :
hText = text(.5,.5,'Hello World');
C = uisetcolor(hText, 'Set Text Color');
I get the following error:
Error using matlab.ui.internal.dialog.WebColorChooser/show (line 72)
Java exception occurred:
com.mathworks.html.BrowserCreationException: com.mathworks.html.BrowserCreationException:
com.teamdev.jxbrowser.chromium.internal.ipc.IPCException: IPC process exited. Exit code: 127
at com.mathworks.mlwidgets.html.LightweightBrowserBuilder.buildBrowser(LightweightBrowserBuilder.java:86)
at com.mathworks.mlwidgets.html.LightweightBrowserBuilder.buildDefaultBrowser(LightweightBrowserBuilder.java:52)
at
com.mathworks.mlwidgets.html.LightweightBrowserFactory.createLightweightBrowser(LightweightBrowserFactory.java:36)
Caused by: com.mathworks.html.BrowserCreationException: com.teamdev.jxbrowser.chromium.internal.ipc.IPCException: IPC
process exited. Exit code: 127
at com.mathworks.html.jxbrowser.chromium.LightweightChromiumBrowser.<init>(LightweightChromiumBrowser.java:32)
at com.mathworks.mlwidgets.html.LightweightBrowserBuilder.buildBrowser(LightweightBrowserBuilder.java:78)
... 2 more
Caused by: com.teamdev.jxbrowser.chromium.internal.ipc.IPCException: IPC process exited. Exit code: 127
at com.teamdev.jxbrowser.chromium.internal.ipc.d.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Error in uisetcolor_helper>showDialog (line 67)
ccDialog.show;
Error in uisetcolor_helper (line 12)
selectedColor = showDialog(ccDialog);
Error in uisetcolor (line 33)
selectedColor = uisetcolor_helper(varargin{:});

  0 Comments

Sign in to comment.

Answers (1)

Greg
Greg on 1 Jun 2018
See here for reverting to the old color picker if you can't find a better solution.

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags

Products


Release

R2017a