question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem while running MINOS

See original GitHub issue

Hi! Following error occurs while running MINOS. I tried reinstalling Python3 but it had no effect, I’ve installed Anaconda as well.

romi@romi-Z370-AORUS-Gaming-3:~/minosmi/minos$ python3 -m minos.tools.pygame_client --empty_room
pygame 1.9.4
Hello from the pygame community. https://www.pygame.org/contribute.html
2018-11-14 19:44:31,043 INFO {'sim_id': 'sim00', 'machine': 'romi-Z370-AORUS-Gaming-3', 'sim_git_hash': '478f622', 'stk_git_hash': '478f622'}
Starting simulator...
2018-11-14 19:44:31,051 INFO sim00:Starting sim server at /home/romi/minosmi/minos/minos/server/server.js with port 51849
2018-11-14 19:44:32,055 INFO sim00:sim server has exited with rv 1
2018-11-14 19:44:32,062 WARNING localhost:51849/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='localhost', port=51849): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1542206672057-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3ce361668>: Failed to establish a new connection: [Errno 111] Connection refused',))
2018-11-14 19:44:33,066 WARNING localhost:51849/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='localhost', port=51849): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1542206673063-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3ce3614a8>: Failed to establish a new connection: [Errno 111] Connection refused',))
2018-11-14 19:44:34,070 WARNING localhost:51849/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='localhost', port=51849): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1542206674067-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3ce3615f8>: Failed to establish a new connection: [Errno 111] Connection refused',))
2018-11-14 19:44:35,074 WARNING localhost:51849/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='localhost', port=51849): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1542206675071-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3ce361e10>: Failed to establish a new connection: [Errno 111] Connection refused',))
2018-11-14 19:44:36,078 WARNING localhost:51849/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='localhost', port=51849): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1542206676076-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3ce361cc0>: Failed to establish a new connection: [Errno 111] Connection refused',))
2018-11-14 19:44:37,082 WARNING localhost:51849/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='localhost', port=51849): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1542206677080-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3ce361630>: Failed to establish a new connection: [Errno 111] Connection refused',))
2018-11-14 19:44:38,086 WARNING localhost:51849/socket.io [engine.io waiting for connection] HTTPConnectionPool(host='localhost', port=51849): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1542206678084-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3ce361668>: Failed to establish a new connection: [Errno 111] Connection refused',))
^CTraceback (most recent call last):
  File "/home/romi/anaconda3/lib/python3.6/site-packages/socketIO_client/logs.py", line 29, in _yield_warning_screen
    yield elapsed_time
Exception: [engine.io waiting for connection] HTTPConnectionPool(host='localhost', port=51849): Max retries exceeded with url: /socket.io/?EIO=3&transport=polling&t=1542206678084-0 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa3ce361668>: Failed to establish a new connection: [Errno 111] Connection refused',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/romi/minosmi/minos/minos/tools/pygame_client.py", line 438, in main
    ep_info = sim.start()
  File "/home/romi/minosmi/minos/minos/lib/Simulator.py", line 321, in start
    started = self.start_child_servers()
  File "/home/romi/minosmi/minos/minos/lib/Simulator.py", line 255, in start_child_servers
    self._sio = SocketIO(self.params.host, self.params.port)
  File "/home/romi/anaconda3/lib/python3.6/site-packages/socketIO_client/__init__.py", line 353, in __init__
    resource, hurry_interval_in_seconds, **kw)
  File "/home/romi/anaconda3/lib/python3.6/site-packages/socketIO_client/__init__.py", line 54, in __init__
    self._transport
  File "/home/romi/anaconda3/lib/python3.6/site-packages/socketIO_client/__init__.py", line 62, in _transport
    self._engineIO_session = self._get_engineIO_session()
  File "/home/romi/anaconda3/lib/python3.6/site-packages/socketIO_client/__init__.py", line 83, in _get_engineIO_session
    warning_screen.throw(warning)
  File "/home/romi/anaconda3/lib/python3.6/site-packages/socketIO_client/logs.py", line 35, in _yield_warning_screen
    time.sleep(1)
KeyboardInterrupt
Error running simulator. Aborting.
2018-11-14 19:44:38,210 INFO sim00:Stopping the simulator
2018-11-14 19:44:38,210 INFO Counter()
2018-11-14 19:44:38,210 INFO sim00:Stopping child servers
2018-11-14 19:44:38,211 INFO sim00:Stopped child servers
2018-11-14 19:44:38,211 INFO sim00:Simulator killed.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

0reactions
ans-qureshicommented, Dec 25, 2018

That didn’t work however copying mp3d dataset again in work folder worked for me. Thanks a lot everyone for your help, you made this so easy for me 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

MINOS error problems, negative error is positive - ROOT Forum
Hello. I am using ROOT::Math::Minimizer with Minuit2 to perform some fits, and I need to calculate asymmetric errors using Minos.
Read more >
MINOS and QUADMINOS - GAMS
GAMS/MINOS is a specially adapted version of the solver that is used for solving linear and nonlinear programming problems in a GAMS environment....
Read more >
Problem with Solver (CPLEX vs Minos & FortMP)
MINOS is a solver for linear & nonlinear problems in continuous variables; CPLEX and FortMP are for linear & convex quadratic problems in...
Read more >
MINOS 5.5 User's Guide - Stanford University
problems in the four main areas of smooth optimisation: ⚫ linear programming, ... a brief commentary on the progress of a run. Unfortunately,...
Read more >
...
MINOS is designed to solve the linear programs described in Chapters 1-8 ... ing, first re-run the problem with a higher penalty_parameter (say...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found