Documentation and Live Editor shows black screen on Linux
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Guillaume Le Goc
el 6 de Ag. de 2019
Comentada: Guillaume Le Goc
el 3 de Sept. de 2020
Hello,
I'm struggling with the following problem : the documentation shows only a black screen, as you can see in the attached picture. I also noticed the same thing for the live editor, though I don't use it.
I've tried the following :
- Changing the renderer (source) :
com.mathworks.mlwidgets.html.HtmlComponentFactory.setDefaultType('HTMLRENDERER');
The documentation now displays OK but unformatted which is not very eye-candy. The Live Editor is still black.
- Installing missing library (source) :
Running,
ldd ~/.matlab/$MATLABVERSION/HtmlPanel/glnxa64/chromium/jxbrowser-chromium | grep -i found
I found that I was missing the deprecated libgconf library, that I installed. The return of the previous command is now empty but the problem is the same.
- Reverting to the default renderer :
com.mathworks.mlwidgets.html.HtmlComponentFactory.setDefaultType(' ');
The problem persists.
My computer is running Manjaro Linux with KDE. Java is installed through jre-openjdk (up to date, version 12.0.2). MATLAB version is R2019a.
I'd like to try a few things before trying the full reinstallation of MATLAB, so I'm all ears.
Cheers,
Guillaume
5 comentarios
Joshitha R
el 3 de Sept. de 2020
FOUND A FIX!!
the error that was actually thrown to me was:
/usr/local/MATLAB/R2019b/bin/glnxa64/jcef_helper: symbol lookup error: /usr/lib/libpango-1.0.so.0: undefined symbol: g_ptr_array_copy
I followed this reddit thread
these are the commands I used:
mkdir $Matlab_root/cefclient/sys/os/glnxa64/0_excluded
mv $Matlab_root/cefclient/sys/os/glnxa64/libg* $Matlab_root/cefclient/sys/os/glnxa64/0_excluded
I can now view my Documentation window and the Live scripts
Respuesta aceptada
Guillaume Le Goc
el 22 de Oct. de 2019
1 comentario
Harisanker Pradeep
el 5 de Dic. de 2019
This worked for me. Here's the link to the libselinux aur repo -> https://aur.archlinux.org/packages/libselinux/
Más respuestas (1)
Ver también
Categorías
Más información sobre Debugging and Analysis en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!