Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F flatland-starter-kit
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Flatland
  • flatland-starter-kit
  • Issues
  • #1

Closed
Open
Created Jun 26, 2020 by awill139@awill139

EOFError while running flatland-evaluator

I followed through with the getting started tutorial and when I ran the flatland-evaluator --tests ./scratch/test-envs/ command I got the following error

Running on windows 10

['Test_1\\Level_0.pkl', 'Test_4\\Level_1.pkl', 'Test_6\\Level_1.pkl', 'Test_1\\Level_1.pkl', 'Test_10\\Level_0.pkl', 'Test_6\\Level_0.pkl', 'Test_3\\Level_1.pkl', 'Test_10\\Level_1.pkl', 'Test_5\\Level_0.pkl', 'Test_8\\Level_1.pkl', 'Test_7\\Level_0.pkl', 'Test_9\\Level_0.pkl', 'Test_11\\Level_1.pkl', 'Test_13\\Level_1.pkl', 'Test_0\\Level_0.pkl', 'Test_0\\Level_1.pkl', 'Test_11\\Level_0.pkl', 'Test_3\\Level_0.pkl', 'Test_2\\Level_1.pkl', 'Test_13\\Level_0.pkl', 'Test_9\\Level_1.pkl', 'Test_2\\Level_0.pkl', 'Test_12\\Level_0.pkl', 'Test_5\\Level_1.pkl', 'Test_7\\Level_1.pkl', 'Test_12\\Level_1.pkl', 'Test_8\\Level_0.pkl', 'Test_4\\Level_0.pkl']
Listening at :  flatland-rl::FLATLAND_RL_SERVICE_ID::commands
Traceback (most recent call last):
  File "C:\Users\awill\Documents\neurips2020-flatland-starter-kit\venv\Scripts\flatland-evaluator-script.py", line 11, in <module>
    load_entry_point('flatland-rl==2.2.1', 'console_scripts', 'flatland-evaluator')()
  File "c:\users\awill\documents\neurips2020-flatland-starter-kit\venv\lib\site-packages\click\core.py", line 764, in __call__
    return self.main(*args, **kwargs)
  File "c:\users\awill\documents\neurips2020-flatland-starter-kit\venv\lib\site-packages\click\core.py", line 717, in main
    rv = self.invoke(ctx)
  File "c:\users\awill\documents\neurips2020-flatland-starter-kit\venv\lib\site-packages\click\core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "c:\users\awill\documents\neurips2020-flatland-starter-kit\venv\lib\site-packages\click\core.py", line 555, in invoke
    return callback(*args, **kwargs)
  File "c:\users\awill\documents\neurips2020-flatland-starter-kit\venv\lib\site-packages\flatland\cli.py", line 87, in evaluator
    grader.run()
  File "c:\users\awill\documents\neurips2020-flatland-starter-kit\venv\lib\site-packages\flatland\evaluators\service.py", line 839, in run
    command = self.get_next_command()
  File "c:\users\awill\documents\neurips2020-flatland-starter-kit\venv\lib\site-packages\flatland\evaluators\service.py", line 422, in get_next_command
    command = _get_next_command(self.command_channel, _redis)
  File "c:\users\awill\documents\neurips2020-flatland-starter-kit\venv\lib\site-packages\timeout_decorator\timeout_decorator.py", line 91, in new_function
    return timeout_wrapper(*args, **kwargs)
  File "c:\users\awill\documents\neurips2020-flatland-starter-kit\venv\lib\site-packages\timeout_decorator\timeout_decorator.py", line 146, in __call__
    self.__process.start()
  File "C:\Users\awill\AppData\Local\Programs\Python\Python37\lib\multiprocessing\process.py", line 112, in start
    self._popen = self._Popen(self)
  File "C:\Users\awill\AppData\Local\Programs\Python\Python37\lib\multiprocessing\context.py", line 223, in _Popen
    return _default_context.get_context().Process._Popen(process_obj)
  File "C:\Users\awill\AppData\Local\Programs\Python\Python37\lib\multiprocessing\context.py", line 322, in _Popen
    return Popen(process_obj)
  File "C:\Users\awill\AppData\Local\Programs\Python\Python37\lib\multiprocessing\popen_spawn_win32.py", line 89, in __init__
    reduction.dump(process_obj, to_child)
  File "C:\Users\awill\AppData\Local\Programs\Python\Python37\lib\multiprocessing\reduction.py", line 60, in dump
    ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'FlatlandRemoteEvaluationService.get_next_command.<locals>._get_next_command'

(venv) C:\Users\awill\Documents\neurips2020-flatland-starter-kit>Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\awill\AppData\Local\Programs\Python\Python37\lib\multiprocessing\spawn.py", line 105, in spawn_main
    exitcode = _main(fd)
  File "C:\Users\awill\AppData\Local\Programs\Python\Python37\lib\multiprocessing\spawn.py", line 115, in _main
    self = reduction.pickle.load(from_parent)
EOFError: Ran out of input
Edited Jun 26, 2020 by awill139
Assignee
Assign to
Time tracking