uisetcolor -- IPC process exited. Exit code: 127

6 vues (au cours des 30 derniers jours)
Thomas Vincent
Thomas Vincent le 31 Mai 2018
Réponse apportée : Greg le 1 Juin 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{:});

Réponses (1)

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

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Tags

Produits


Version

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by