8000 Using the command "step" with more than 15 steps will cause the server to throw an error · Issue #712 · gama-platform/gama · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Using the command "step" with more than 15 steps will cause the server to throw an error #712
Open
@GuillaumeLeroy34

Description

@GuillaumeLeroy34

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
}
  1. get the response from the server
  2. 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:

Image

{ 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

No one assigned

    Labels

    About GAMA ServerThis issue concerns GAMA server usage

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0