Closed benoitgaudou closed 1 year ago
I have many questions:
I have a very standard installation : I downloaded GAMA release .app and copy it in the /Applications folder.
When I run the gama-headless.sh script, the server was not running. After running the command, the server is launched.
[image: Capture d’écran 2023-04-14 à 10.01.04.png]
Gama.ini is present. Nevertheless, as you can notice on the screenshot, from the headless folder, it is not located at ./../Gama.ini but at ./../Eclipse/Gama.ini
The terminal is located in the headless folder.
The grep command is accepted.
Note that if I modify the script gama-headless.sh and that the line:
if [ $memory -eq 0 ]; then
memory=$(grep Xmx "$( dirname "${BASH_SOURCE[0]}" )"/../Gama.ini || echo "-Xmx4096m")
is replaced by:
if [ $memory -eq 0 ]; then
memory=$(grep Xmx "$( dirname "${BASH_SOURCE[0]}" )"/../Eclipse/Gama.ini || echo "-Xmx4096m")
The error does not appear anymore.
Benoit
Le ven. 14 avr. 2023 à 09:29, Baptiste Lesquoy @.***> a écrit :
I have many questions:
- Is your gama server running ?
- Is the Gama.ini file present ?
- where is your console located ?
- can you run the grep command from the console ?
— Reply to this email directly, view it on GitHub https://github.com/gama-platform/gama/issues/3762#issuecomment-1508054899, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAL3WSR7QTHDKKH25QC4753XBD4GVANCNFSM6AAAAAAW57V6TI . You are receiving this because you authored the thread.Message ID: @.***>
@benoitgaudou it means you have the same issue in HEADLESS , not specific for GamaServer?
Yes, I have the same with any headless launch (eg. sh ./gama-headless.sh -help
)
Describe the bug When I launch the GAMA 1.9.1 in server mode, the first line that appears is that GAMA cannot find Gama.ini.
To Reproduce
grep: ./../Gama.ini: No such file or directory
Desktop (please complete the following information):