Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error at create extension frigidaire #46

Open
vedd3r opened this issue Oct 7, 2018 · 5 comments
Open

Error at create extension frigidaire #46

vedd3r opened this issue Oct 7, 2018 · 5 comments

Comments

@vedd3r
Copy link

vedd3r commented Oct 7, 2018

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 _activated_extensions\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 _activated_extensions", " 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": []}

@pendlew
Copy link

pendlew commented Oct 9, 2018

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.

@OuticNZ
Copy link

OuticNZ commented Oct 24, 2018

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.

@psychoandy
Copy link

Just tried this on a fresh 16.04 image as well using the ansible-playbook method and got the same error.

@jtschichold
Copy link
Member

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?

@vedd3r
Copy link
Author

vedd3r commented Oct 29, 2018

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.

minemeld-engine.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants