Open
Description
Describe the bug
when using commands, calling step with more than 16 steps will cause the error "Controller is full"
To Reproduce
Steps to reproduce the behavior:
1.Load any experiment
2. send this json message to the gama socket:
{
"type": "step",
"exp_id": "<votre expérience ici>",
"nb_steps" : 15
}
- get the response from the server
- observe that it is the error "Controller is full"
Screenshots
Below is an example of the bug, as the steps to reproduce may prove time consuming:
{ type: 'ConnectionSuccessful', content: '840867739' }
{
type: 'CommandExecutedSuccessfully',
content: 'prey_predator',
command: {
type: 'load',
model: 'C:/Users/guill/Documents/gama/gama.library/models/Tutorials/Predator Prey/models/Model 13.gaml',
experiment: 'prey_predator'
}
}
{ type: 'SimulationStatus', content: 'NOTREADY', exp_id: '0' }
message { type: 'SimulationStatus', content: 'NOTREADY', exp_id: '0' }
{ type: 'SimulationStatus', content: 'PAUSED', exp_id: '0' }
message { type: 'SimulationStatus', content: 'PAUSED', exp_id: '0' }
{
type: 'UnableToExecuteRequest',
content: 'Controller is full',
command: { type: 'step', exp_id: '0', nb_step: 15, sync: false }
this bug was encoutered using functions belonging to the typescript library I am building.
Note that using the parameter "sync" bypasses the issue.
Metadata
Metadata
Assignees
Type
Projects
Status
Todo