AnyLogic 8 fails under Ubuntu 20.04 - anylogic

Clean installation of Ubuntu 20.04 with AnyLogic 8.0.0 Personal Learning Edition.
Anylogic suddenly hangs in many cases: when the drop-down menu is open, when the Property panel is resizing or even when you simply draw an object.
Example:
Install Anylogic
Run Anylogic
Create New Project
Create some objects (e.g. Conveyor):
Palette / Material Handling Library
Space Markup / Conveyor (double click to activate drawing mode)
Draw some lines, doble click to finish a drawing
Then try to resize several times the Properties area
Now Anylogic is hanging with the eternal repeating of failed in GtkScrollbar message:
…
(AnyLogic 8 Personal Learning Edition:212439): Gtk-CRITICAL **: 09:37:48.457: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(AnyLogic 8 Personal Learning Edition:212439): Gtk-CRITICAL **: 09:37:48.463: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(AnyLogic 8 Personal Learning Edition:212439): Gtk-CRITICAL **: 09:37:48.464: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
(AnyLogic 8 Personal Learning Edition:212439): Gtk-CRITICAL **: 09:37:48.464: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
…
Screen record
The same behaviour is under Kubuntu 22.04.
Does anybody manage to work successfully with Anylogic under Linux?
What flavour?
Or maybe there is a recipe for how to resolve the failed in GtkScrollbar issue?
Thanks

Related

Linux Mint 21.1 MATLAB 2022b VideoReader/initReader Could not read file due to an unexpected error. Reason: Unable to initialize the video properties

I have installed MATLAB 2022b on my LInux Mint 21.1. My laptop is an Acer Swift 3 with an Nvidia MX250 dedicated gpu. I have installed the drivers for the gpu, namely the nvidia-driver-525 and nvidia-utils-525 package.
The Nvidia X Server Settings seems to work and the Prime Profile is set to NVIDIA (Performance Mode).
The problem is when I am trying to load a video (.mp4 and .mov) in different frames, but when I ran the code I get this error in the console:
Main Error using VideoReader/initReader Could not read file due to an unexpected error. Reason: Unable to initialize the video properties
Error in audiovideo.internal.IVideoReader (line 136) initReader(obj, fileName, currentTime);
Error in VideoReader (line 104) obj#audiovideo.internal.IVideoReader(varargin{:});
Error in load_picture (line 2) vid = VideoReader(obj);
Error in Main (line 12) [vid, yval, t, nulv]=load_picture(obj);
When I was trying to run the code reading the video, I was getting this errors in the terminal session I opened MATLAB with:
(MATLAB:4591): GStreamer-WARNING **: 10:55:45.878: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstlibav.so': /home/malina/MATLAB/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /lib/x86_64-linux-gnu/librubberband.so.2)
(MATLAB:4591): GStreamer-Base-CRITICAL **: 10:55:45.909: basetransform: second attempt to fixate caps returned invalid (NULL) caps on pad vaapipostproc0:sink
I moved the libstdc++.so.6 from the MATLAB/sys/os folder to an unused folder, I have read that by doing this matlab will be forced to use the systems libstdc++.so.6 package, the version coming with the install being known to cause problems as stated by some forums. Doing that resulted in the same error from the console while running the code, but there is no more output from the terminal session.
The problem might be driver specific, but I am unsure. I have installed the codecs and libgstreamer1.0 packages, but I do not know how to test if they are the correct version for matlab. I can open the files on my system normally, so the codecs shouldn't be the problems.
Can anyone guide me through solving this issue? I'd be really grateful. Let me know if you want any other info that might be useful and if there are any log files created by matlab that could be useful in solving this issue, please let me know where I can find them.

GLib-CRITICAL message on Linux

i have a rcp application that run on windows and linux.
First off all, in windows all is working fine, but when i compile the app on linux i have a lot of this message outputs.
GLib-CRITICAL **: 09:40:58.143: g_base64_encode_step: assertion 'in !=
NULL' failed
Gtk-WARNING **: 09:41:00.169: Negative content height -7 (allocation
1, extents 4x4) while allocating gadget (node button, owner
GtkToggleButton)
the linux version is:
Linux 3.10.0-957.10.1.el7.x86_64 GNU/Linux
In the other hand i have problems with the visualization of the controls, maybe is releated with the other issue.
I try to change the --launcher.GTK_version 2 in the .ini file but the controls problems remains.
login problem
enter image description here

vector(1237) : Assertion failed: "Standard C++ Libraries Out of Range" && 0

i am debugging and deploying one Hololens Application on Emulator as well as trying to do so on actual Hololens Device, but i am facing the following exception:
_CRT_ASSERT caught:
'''
C:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\include\vector(1237) : Assertion failed: "Standard C++ Libraries Out of Range" && 0
'''
Stacktrace:
0x5FEDFAD8 (UnityPlayer) DllGetActivationFactory
0x5FEDF91E (UnityPlayer) DllGetActivationFactory
0x5FEE2F70 (UnityPlayer) DllGetActivationFactory
...
i am just doing like:
press play button on visual studio and then it will start its stuffs for Deployment.
then it will show "Made With Unity" splash Screen and application get crashed.
My project involves procedural meshes and I ran into the same issue today when I tried to deploy to the HoloLens emulator.
If you have a script where a Mesh calls the RecalculateNormals() or similar functions, then try without it. Same issue exists if you assign normals to a mesh.
If you can, please share also the code.
EDIT:
It happens when you deploy it as "Debug", not as "Release".

ArchLinux LibreOfficeFresh unable to start

My System:
- ArchLinux
- LibreOfficeFresh 5.0.2-3
- Xorg116
- Catalyst Graphics Drivers
Problem:
LibreOfficeFresh is unable to start since I have installed catalyst, so since i switched
from MESA to catalyst.
Error Description:
[tekkkz#thinkpad ~]$ libreoffice
(soffice:1022): GLib-GObject-CRITICAL **: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed
(soffice:1022): GLib-GObject-WARNING **: gtype.c:4268: type id '0' is invalid
(soffice:1022): GLib-GObject-WARNING **: can't peek value table for type '<invalid>' which is not currently referenced
Application Error
Someone an idea how I can get my LibreOffice working again?
Thanks for help,
Tekkkz
this is the message that I saw when upgrading today
(18/24) upgrading libreoffice-fresh [##############################] 100%
> LibreOffice now uses highly experimental gtk3 vcl by default
> on some desktops. To use stable gtk2 vcl uncomment
> it in /etc/profile.d/libreoffice-fresh.{sh,csh}
So you can try that, uncomment the line export SAL_USE_VCLPLUGIN=gtk
and re-login, if you don't want to logout, you have to export the variable manually in a terminal and run libreoffice from that terminal inmediately after exporting the variable.
export SAL_USE_VCLPLUGIN=gtk
soffice
I do that, and it works right now
It seems to be a problem with GTK themes (and a recent change between GTK2/3). Try changing themes and see if it starts working again (it did for me).

Problem in running eclipse 3.6 on ubuntu 10.04

I am trying to run eclipse 3.6 on ubuntu 10.04. I am getting these errors:
** (Eclipse:13709): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
** (Eclipse:16806): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
** (Eclipse:16806): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
** (Eclipse:16806): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
** (Eclipse:16806): CRITICAL **: murrine_style_draw_box: assertion `height >= -1' failed
And this causes the tool bar has big height. Is there a way to fix it?
Thank you.
it's a problem related to gtk and not to eclipse or emacs.
try this (solved to me) :
Modify the entry in /usr/share/themes/Ambiance/gtk-2.0/gtkrc from GtkRange::trough-under-steppers = 0 to GtkRange::trough-under-steppers = 1.
thanks to http://thehacklist.blogspot.com/2010/06/resolving-murrinestyledrawbox-assertion.html
[]s
pedro
Looks like bug 305843
It should be fixed in Eclipse Helios 3.6RC4 and more.
If you have the final Eclipse Helios 3.6 version, you may have to open a new bug report.