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.

Minos installation problem

See original GitHub issue

Environment OS: Ubuntu 18.04 LTS Python: 3.6.5 node: v10.4.0 only SUNCG data is installed in the $HOME/work directory.

Hi, I have followed the installation instruction in https://github.com/minosworld/minos. While I am running python3 -m minos.tools.pygame_client , I have confronted some problems.

fatal: Needed a single revision
Traceback (most recent call last):
  File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/lulienhsi/Downloads/minos-master/minos/tools/pygame_client.py", line 457, in <module>
    main()
  File "/home/lulienhsi/Downloads/minos-master/minos/tools/pygame_client.py", line 415, in main
    sim = Simulator(vars(args))
  File "/home/lulienhsi/Downloads/minos-master/minos/lib/Simulator.py", line 109, in __init__
    cwd=stk_sim_path).rstrip(),
  File "/usr/lib/python3.6/subprocess.py", line 336, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 418, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'rev-parse', '--short', 'HEAD']' returned non-zero exit status 128.
2018-06-12 11:24:18,925 INFO sim00:Stopping the simulator
2018-06-12 11:24:18,926 INFO Counter()
2018-06-12 11:24:18,926 INFO sim00:Stopping child servers
2018-06-12 11:24:18,926 INFO sim00:Stopped child servers
2018-06-12 11:24:18,927 INFO sim00:Simulator killed.

Have someone confront this problem or anyone can help me to solve this? Thanks!

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
mcimpoicommented, Jul 19, 2018

Which version of node are you using? And socket.io? (check in package-lock.json, in server folder). The version we got it working with was 1.7.4 (same as in the git repo).

With node 10.7.0, and npm audit fix /npm audit fix --force, socket.io was upgraded to 2.1.1, which doesn’t seem to work with the python socketIO-client-2.

Hope this helps.

0reactions
msavvacommented, Jun 13, 2018

The above errors appear to be due to an incorrect socketio_client package version. Try to follow the instructions here: https://github.com/minosworld/minos/blob/master/FAQ.md#i-get-an-error-from-the-socketio_client-package to manually install the specific package version that is required as a dependency

Read more comments on GitHub >

github_iconTop Results From Across the Web

is Minos not working / having issues for you? - 99images
Do you have Minos app problems? We have instructions to fix the not working issue, loading problems or the common black screen /...
Read more >
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 >
Linux Hamlib installation Issues - users@minos.groups.io
There seems to be an issue with the building of Hamlib within Linux installation of Minos. I am using Linux Mint Mate 20.1...
Read more >
MINOS Errors.
Next: Minuit Installation. Up: Parameter Errors. Previous: The Error Matrix. MINOS Errors. The Minuit processor [MINOs]MINOS was probably the first, ...
Read more >
Cannot invoke minos - Google Groups
If you want to use MINOS, then there is a problem with your installation. To get some help, reply with a listing (text...
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