Troubleshooting
This page exposes some of the most common problems a user may encounter when running GAMA — and offers advices and workarounds for them. It will be regularly enriched with new contents. Note also that the Issues section of the website might contain precious information on crashes and bugs encountered by other users. If neither the workarounds described here nor the solutions provided by other users allow to solve your particular problem, please submit a new issue report to the developers.
Table of contents
- Troubleshooting
On Ubuntu (& Linux Systems)
Workaround if GAMA crashes when displaying web contents
In case GAMA crashes whenever trying to display a web page or the pop-up online documentation, you may try to edit the file Gama.ini and add the line -Dorg.eclipse.swt.browser.DefaultType=mozilla
to it. This workaround is described here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=705420 and in Issue 700 (on Google Code).
Workaround if GAMA does not display the menus (the 'Edit' menu is the only one working)
If, when selecting a menu, nothing happens (or, in the case of the 'Agents' menu, all population submenus appear empty), it is likely that you have run into this issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=330563. The only workaround known is to launch GAMA from the command line (or from a shell script) after having told Ubuntu to attach its menu back to its main window. For example (if you are in the directory where the "Gama" executable is present):
export UBUNTU_MENUPROXY=0
./Gama
No fix can be provided from the GAMA side for the moment.
Workaround if you use a GTK dark theme
If your Desktop Environment use GTK (list here) and you're using a dark theme on your session, GAMA will apply the same theme and look badly.
To solve it, you should change the variable environment on application startup. The easy way to keep that change is to modify the file .desktop
If you're running GAMA 1.8 or above
With the official GAMA 1.8 release, the display is based on GTK 3.
To change the display here, you should change the variable GTK_THEME to the theme that you prefer using. So the exec line for your desktop file will look like this :
Exec=env GTK_THEME=Matcha-aliz:light /path/to/../GAMA1.8/Gama
If you're running GAMA 1.8 - Release Candidate 2 or before
Before the official GAMA 1.8 release, the display is based on GTK 2
To change the display here, you should change the variable GTK2_RC_FILES to the theme that you prefer using. As the variable suggests, you should point directly to the style file and not just indicate the new theme. So the exec line for you desktop file will look like this :
Exec=env GTK2_RC_FILES=/usr/share/themes/Matcha-aliz/gtk-2.0/gtkrc /path/to/../GAMA1.8_RC2/Gama
On Windows
No common trouble...
On MacOS X
Workaround in case of glitches in the UI
The only problems reported so far on MacOS X (from Lion to Yosemite) concern visual glitches in the UI and problems with displays, either not showing or crashing the JVM. Most (all ?) of these problems are usually related to the fact that GAMA does not run under the correct version of Java Virtual Machine. In that case, follow these instructions to install the correct version.
Workaround in case of corrupted icons in menus under El Capitan
For some particular configurations (in particular some particular graphic cards), the icons of the menus (e.g. Edit menu) may be corrupted. This bug is documented for all RCP products under El Capitan. See these references: https://bugs.eclipse.org/bugs/show_bug.cgi?id=479590 https://trac.filezilla-project.org/ticket/10669
There is nothing we can do now except using the workaround that consists in switching the language of the OS to English (in System Preferences, Language & Region).