MATLAB Answers

excessive print stream output whe editing GUI elements and using live scripts

5 views (last 30 days)
Philipp Schneider
Philipp Schneider on 21 Jan 2019
Answered: Jared MacDonald on 3 Mar 2020
Hello guys,
whenever I start using the GUI element editor or open a live script there is lots of stuff prited in red to my command window. It looks like MATLAB then starts to print every message that occurs during rendering to my command window. How can I avoid this?
I can only give you some examples here, but it can literally be thousand lines in a couple of seconds. (random sample)
screenshot.png
These are the messages that I get when I resize the command window. But again: This only happens FROM THE MOMENT ON that I use live scripts or edit gui elements.
screenshot2.png
  1 Comment
Philipp Schneider
Philipp Schneider on 21 Jan 2019
The first lines that are printed are:
04:57:28 INFO: OS name: Linux
04:57:28 INFO: JRE version: 1.8.0_144 64-bit
04:57:28 INFO: JxBrowser version: 5.4.3
04:57:28 INFO: Starting IPC...
04:57:28 INFO: Starting IPC Server...
04:57:28 INFO: Starting IPC Process...
04:57:28 INFO: Start Chromium process...
04:57:28 INFO: The '/lib/x86_64-linux-gnu/libudev.so.0' library exists: FALSE
04:57:28 INFO: The '/tmp/jxbrowser-chromium-43.0.2357.52.5.4.3/libudev.so.0' library exists: TRUE
04:57:28 INFO: The '/lib/x86_64-linux-gnu/libgcrypt.so.11' library exists: FALSE
04:57:28 INFO: The '/tmp/jxbrowser-chromium-43.0.2357.52.5.4.3/libgcrypt.so.11' library exists: TRUE
04:57:28 INFO: Command line: /tmp/jxbrowser-chromium-43.0.2357.52.5.4.3/jxbrowser-chromium 1101 31685 --enable-npapi --allow-file-access-from-files --lang=en_US
04:57:28 INFO: [0121/165728:ERROR:browser_main_loop.cc(172)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
04:57:28 INFO: READ: OnHelloMessage{type=OnHelloMessage, uid=1, message='cid:0,type:Main'}, null
04:57:28 INFO: Channel is accepted: SocketChannel{cid=0, bid=-1, type=Main}
04:57:28 INFO: IPC is started.

Sign in to comment.

Answers (2)

Jared MacDonald
Jared MacDonald on 3 Mar 2020
Hi Philipp,
This is a known issue which has been fixed in R2019b. The issue related to the underlying browser technology that Live Editor uses.
Thanks,
Jared

sankar basu
sankar basu on 29 Nov 2019
I have the same issue. Any help to fix this would be deeply appriciated.
12:52:43 INFO: OS name: Linux
12:52:43 INFO: JRE version: 1.8.0_152 64-bit
12:52:43 INFO: JxBrowser version: 5.4.3
12:52:43 INFO: The '/tmp/jxbrowser-chromium-43.0.2357.52.5.4.3/locales' file doesn't exist.
12:52:43 INFO: Extracting Chromium binaries to '/tmp/jxbrowser-chromium-43.0.2357.52.5.4.3'
12:52:44 INFO: The '/chromium-linux64.zip' JAR resource URL is jar:file:/usr/local/MATLAB/R2018b/java/jarext/jxbrowser-chromium/jxbrowser-linux64.jar!/chromium-linux64.zip
The desktop configuration was not saved successfully
12:53:31 INFO: Chromium binaries are extracted to '/tmp/jxbrowser-chromium-43.0.2357.52.5.4.3'
12:53:31 INFO: Restore permissions for file: /tmp/jxbrowser-chromium-43.0.2357.52.5.4.3/jxbrowser-chromium
12:53:32 INFO: Starting IPC...
12:53:32 INFO: Starting IPC Server...
12:53:32 INFO: Starting IPC Process...
12:53:32 INFO: Start Chromium process...
12:53:34 INFO: The '/lib/x86_64-linux-gnu/libudev.so.0' library exists: TRUE
12:53:34 INFO: The '/lib/x86_64-linux-gnu/libgcrypt.so.11' library exists: FALSE
12:53:34 INFO: The '/tmp/jxbrowser-chromium-43.0.2357.52.5.4.3/libgcrypt.so.11' library exists: FALSE
12:53:34 INFO: Looking for libgcrypt.so.x.x.x in '/lib/x86_64-linux-gnu/'...
12:53:34 INFO: Found the '/lib/x86_64-linux-gnu/libgcrypt.so.20' library
12:53:34 INFO: Create symlink: /bin/ln -s /lib/x86_64-linux-gnu/libgcrypt.so.20 /tmp/jxbrowser-chromium-43.0.2357.52.5.4.3/libgcrypt.so.11
12:53:34 INFO: Command line: /tmp/jxbrowser-chromium-43.0.2357.52.5.4.3/jxbrowser-chromium 1101 2720 --enable-npapi --allow-file-access-from-files --lang=en_US
12:53:36 INFO: /tmp/jxbrowser-chromium-43.0.2357.52.5.4.3/jxbrowser-chromium: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
12:53:36 INFO: Chromium process exit code 127
12:53:36 INFO: Starting IPC...
12:53:36 INFO: IPC is already started.
12:53:36 INFO: Chromium process is dead. Restarting IPC...
12:53:36 INFO: Starting IPC Process...
12:53:36 INFO: Start Chromium process...
12:53:36 INFO: The '/lib/x86_64-linux-gnu/libudev.so.0' library exists: TRUE
12:53:36 INFO: The '/lib/x86_64-linux-gnu/libgcrypt.so.11' library exists: FALSE
12:53:36 INFO: The '/tmp/jxbrowser-chromium-43.0.2357.52.5.4.3/libgcrypt.so.11' library exists: TRUE
12:53:36 INFO: Command line: /tmp/jxbrowser-chromium-43.0.2357.52.5.4.3/jxbrowser-chromium 1101 2720 --enable-npapi --allow-file-access-from-files --lang=en_US
12:53:36 INFO: Chromium process exit code 127
12:53:36 INFO: /tmp/jxbrowser-chromium-43.0.2357.52.5.4.3/jxbrowser-chromium: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

Tags

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!