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

son-profile: File missing in system-wide installation #261

Open
mpeuster opened this issue Nov 22, 2017 · 0 comments
Open

son-profile: File missing in system-wide installation #261

mpeuster opened this issue Nov 22, 2017 · 0 comments
Assignees

Comments

@mpeuster
Copy link
Collaborator

mpeuster commented Nov 22, 2017

Got a user report:

I have an error when I try to execute son-profie tool, when I try to execute : son-profile --mode active -v -p src/son/profile/tests/misc/example_ped1.yml

i have:

Traceback (most recent call last):
  File "/usr/local/bin/son-profile", line 9, in <module>
    load_entry_point('sonata-cli==3.0', 'console_scripts', 'son-profile')()
  File "/usr/local/lib/python3.5/dist-packages/sonata_cli-3.0-py3.5.egg/son/profile/profile.py", line 322, in main
    p.run()
  File "/usr/local/lib/python3.5/dist-packages/sonata_cli-3.0-py3.5.egg/son/profile/profile.py", line 77, in run
    self._active_execution()
  File "/usr/local/lib/python3.5/dist-packages/sonata_cli-3.0-py3.5.egg/son/profile/profile.py", line 119, in _active_execution
    self.work_dir)
  File "/usr/local/lib/python3.5/dist-packages/sonata_cli-3.0-py3.5.egg/son/profile/generator/sonata.py", line 72, in generate
    base_service_obj, function_experiments))
  File "/usr/local/lib/python3.5/dist-packages/sonata_cli-3.0-py3.5.egg/son/profile/generator/sonata.py", line 290, in _generate_function_experiments
    self._embed_function_into_experiment_nsd(ns, ec)
  File "/usr/local/lib/python3.5/dist-packages/sonata_cli-3.0-py3.5.egg/son/profile/generator/sonata.py", line 141, in _embed_function_into_experiment_nsd
    new_nsd = read_yaml(template_path)
  File "/usr/local/lib/python3.5/dist-packages/sonata_cli-3.0-py3.5.egg/son/profile/helper.py", line 37, in read_yaml
    with open(path, "r") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.5/dist-packages/sonata_cli-3.0-py3.5.egg/son/profile/generator/template/sonata_nsd_function_experiment.yml'

Seems to be an issue with setup.py. Need to check for more details.

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

No branches or pull requests

1 participant