Why is MATLAB Help browser showing unformatted text on Linux (R2018b)
12 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Richard Stephens
il 10 Ott 2018
Commentato: Gregory Kriehn
il 14 Giu 2020
In R2018b, when I bring up the Help browser, e.g. using
doc classdef
it brings up a window, but it's just unformatted text, and no graphics.
I'm on Ubuntu 18.04. It is fine on R2018a.
4 Commenti
Risposta accettata
Ken Morrison
il 13 Nov 2018
Modificato: Ken Morrison
il 13 Nov 2018
I was able to fix this problem on Ubuntu 18.04 LTS and Matlab R2018b. The following command, run from the system terminal, showed that the system was missing libgconf-2-4.
ldd ~/.matlab/R2018b/HtmlPanel/glnxa64/chromium/jxbrowser-chromium | grep -i found
Output shows missing shared library.
libgconf-2.so.4 => not found
Solution: Install libgconf-2-4 AND restart Matlab
sudo apt install libgconf-2-4
Thanks to Alexander Maye for pointing me at jxbrowser-chromium.
9 Commenti
zr zug
il 19 Mag 2020
After I install matlab R2020a on Ubuntu 18.04 LTS, the help document can not display normally. The possible reason might be similar to this question, because I find that the jxbrowser-chromium dir disappears. The dir exsits in neither ~/.matlab/R2020a/HtmlPanel/ or .../Polyspace/R2020a/sys. I only find the dir in .../Polyspace/R2020a/java/jarext. I wonder whether I can directly copy the jxbrower-chromium folder to the path .../Polyspace/R2020a/sys or is there any other solutions.
Gregory Kriehn
il 14 Giu 2020
Installing Matlab R2020a on Fedora 32 produces silimilar problems. There are no missing libraries when running the command, however.
Più risposte (4)
Alexander Maye
il 7 Nov 2018
Modificato: Alexander Maye
il 7 Nov 2018
Just had a conversion with Mathwork's support, and this helped me to solve the problem in openSUSE Leap 15 in the following way:
1) make ~/.matlab/R2018b/HtmlPanel/glnxa64/chromium/jxbrowser-chromium executable
2) install libcrypto.so.1.0.0
On openSUSE, this library is provided by the package openssl1_0_0, and after installation, the help browser runs fine.
2 Commenti
Alexander Maye
il 12 Nov 2018
Sorry for the confusion. To make something executable, enter chmod +x something.
Bernard Llanos
il 20 Nov 2018
I had the same symptoms on Ubuntu 18.04 (as well as the error described here), with R2018b, but for a slightly different problem:
ldd $MATLAB_INSTALLATION_FOLDER/R2018b/sys/jxbrowser-chromium/glnxa64/chromium/jxbrowser-chromium | grep -i found
The output shows that I had a broken link:
libgcrypt.so.11 => not found
since
$MATLAB_INSTALLATION_FOLDER/R2018b/sys/jxbrowser-chromium/glnxa64/chromium/libgcrypt.so.11
was a symbolic link to
/lib/x86_64-linux-gnu/libgcrypt.so.20.0.5
whereas I had
/lib/x86_64-linux-gnu/libgcrypt.so.20.2.1
I replaced the symbolic link with a link to the generic link
/lib/x86_64-linux-gnu/libgcrypt.so.20
which resolved the issues.
3 Commenti
Bernard Llanos
il 24 Gen 2019
You are probably looking in
.../sys/jxbrowser/glnxa64
instead of
.../sys/jxbrowser-chromium/glnxa64
By generic link, I meant a symbolic link to a file that does not specify the version number so precisely (20 instead of 20.2.1 or 20.0.5)
If you run
ls -l /lib/x86_64-linux-gnu/libgcrypt.so.20*
you should see that there are two items listed, one which is libgcrypt.so.20, and which is actually a symbolic link to the other, which is a file called libgcrypt.so.20.2.1. If you create a symbolic link to libgcrypt.so.20, the link will be valid even when libgcrypt.so.20.2.1 is replaced with a newer version, because libgcrypt.so.20 will have been updated to point to the newer version.
Shirshendhu Panday 16BEE0129
il 11 Feb 2019
Iam getting same problem on Windows after the update but I can't search anything in the help window and online documentation is also not working.
Alexander Krings
il 29 Mar 2019
I was able to solve this problem for R2019a on a CENTOS7 (64bit/only) system.
In the first step i located the jxbrowser-chromium (MATLAB/R2019a/sys/jxbrowser-chromium/glnxa64/chromium)
I opened a terminal and entered>
ldd jxbrowser-chromium | grep -i found
which gave me
libcrypto.so.1.0.0 => not found
Luckily I had the idea to search if the file was already on my system. I do not want to risk downloading a library that does cryptography "obviously" .. somewhere on the internet.
find . | grep so.1.0.0
showed me
./bin/glnxa64/libcrypto.so.1.0.0
./bin/glnxa64/libssl.so.1.0.0
that the missing file came already with the installation. I copied the file and send it to
MATLAB/R2019a/sys/jxbrowser-chromium/glnxa64/chromium
and also set
webutils.htmlrenderer('chromium');
in Matlab Command Window. Restart Matlab and it works. But, loading the pages is still pretty slow. This could be improved !
0 Commenti
yunhui zhou
il 23 Giu 2019
Same problem for Matlab R2018b on Kubuntu 19.04. In my case, running:
ldd ~/.matlab/R2018b/HtmlPanel/glnxa64/chromium/jxbrowser-chromium | grep -i found
showed that I was missing libgconf-2.so.4 and ibcrypto.so.1.0.0. I solved the problem by running:
sudo apt install libgconf-2-4
cp /usr/local/MATLAB/R2018b/bin/glnxa64/libcrypto.so.1.0.0 ~/.matlab/R2018b/HtmlPanel/glnxa64/chromium/
However, even after this rendering in the help broswer was slow, though it can correctly format the page.
0 Commenti
Vedere anche
Categorie
Scopri di più su File Operations in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!