Open vedd3r opened 6 years ago
i am trying to build on Ubuntu 14.04, and i am also getting the same error. I get it building for both master and develop version.
I'm also getting the same error on both Ubuntu 14.04 and 16.04. I get this on a fresh install of Ubuntu and following the compile from source code instructions.
Trying to get an instance of minemeld running but this is proving really frustrating.
Just tried this on a fresh 16.04 image as well using the ansible-playbook method and got the same error.
Thanks for reporting this, just cut a new release with the fix (see PaloAltoNetworks/minemeld-core#300). Just tested on 16.04 and 14.04 and everything worked. Could you try again?
Hi @jtschichold
Thanks! I can confirm that the install was a success. However, there was issues with the miners, giving the below error:
str returned non-string (type SysCallError)
I'm not sure what causing this issue. I'm attaching the logs for your reference.
Building for MineMeld Ubuntu 16.04 (ran apt-get update/upgrade on 08/10/2018)
When building for Ubuntu 16.04, I encountered this error. My local.yml was modified to build master instead of develop.
Error message:
TASK [minemeld : create extensions frigidaire] **** fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": ["/opt/minemeld/engine/current/bin/mm-extensions-freeze", "/opt/minemeld/local/library", "/opt/minemeld/local/library/freeze.txt"], "delta": "0:00:00.912714", "end": "2018-10-07 16:58:14.704649", "msg": "non-zero return code", "rc": 1, "start": "2018-10-07 16:58:13.791935", "stderr": "Traceback (most recent call last):\n File \"/opt/minemeld/engine/current/bin/mm-extensions-freeze\", line 11, in\n load_entry_point('minemeld-core', 'console_scripts', 'mm-extensions-freeze')()\n File \"/opt/minemeld/engine/core/minemeld/run/freeze.py\", line 59, in main\n frozenext = minemeld.extensions.freeze(args.library)\n File \"/opt/minemeld/engine/core/minemeld/extensions/manager.py\", line 313, in freeze\n _extensions = extensions(installation_dir)\n File \"/opt/minemeld/engine/core/minemeld/extensions/manager.py\", line 285, in extensions\n _activated = activated_extensions()\n File \"/opt/minemeld/engine/core/minemeld/extensions/manager.py\", line 278, in activated_extensions\n return _activated_extensions()\n File \"/opt/minemeld/engine/core/minemeld/extensions/manager.py\", line 101, in _activatedextensions\n for , epvalue in minemeld.loader.map(epgroup).iteritems():\n File \"/opt/minemeld/engine/core/minemeld/loader.py\", line 116, in map\n _initialize_entry_point_group(entrypoint_group)\n File \"/opt/minemeld/engine/core/minemeld/loader.py\", line 66, in _initialize_entry_point_group\n installed = _installed_versions()\n File \"/opt/minemeld/engine/core/minemeld/loader.py\", line 37, in _installed_versions\n installed_dists = get_installed_distributions(local_only=False)\nNameError: global name 'get_installed_distributions' is not defined", "stderr_lines": ["Traceback (most recent call last):", " File \"/opt/minemeld/engine/current/bin/mm-extensions-freeze\", line 11, in ", " load_entry_point('minemeld-core', 'console_scripts', 'mm-extensions-freeze')()", " File \"/opt/minemeld/engine/core/minemeld/run/freeze.py\", line 59, in main", " frozenext = minemeld.extensions.freeze(args.library)", " File \"/opt/minemeld/engine/core/minemeld/extensions/manager.py\", line 313, in freeze", " _extensions = extensions(installation_dir)", " File \"/opt/minemeld/engine/core/minemeld/extensions/manager.py\", line 285, in extensions", " _activated = activated_extensions()", " File \"/opt/minemeld/engine/core/minemeld/extensions/manager.py\", line 278, in activated_extensions", " return _activated_extensions()", " File \"/opt/minemeld/engine/core/minemeld/extensions/manager.py\", line 101, in _activatedextensions", " for , epvalue in minemeld.loader.map(epgroup).iteritems():", " File \"/opt/minemeld/engine/core/minemeld/loader.py\", line 116, in map", " _initialize_entry_point_group(entrypoint_group)", " File \"/opt/minemeld/engine/core/minemeld/loader.py\", line 66, in _initialize_entry_point_group", " installed = _installed_versions()", " File \"/opt/minemeld/engine/core/minemeld/loader.py\", line 37, in _installed_versions", " installed_dists = get_installed_distributions(local_only=False)", "NameError: global name 'get_installed_distributions' is not defined"], "stdout": "", "stdout_lines": []}