element-info -d ubuntu errors

Bug #1265650 reported by Robert Collins on 2014-01-02
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nikunj Aggarwal

Bug Description

$ bin/element-info -d ubuntu
Traceback (most recent call last):
  File "bin/element-info", line 23, in <module>
  File "/home/robertc/work/diskimage-builder/bin/diskimage_builder/element_dependencies.py", line 92, in main
    print(' '.join(expand_dependencies(args.elements)))
  File "/home/robertc/work/diskimage-builder/bin/diskimage_builder/element_dependencies.py", line 74, in expand_dependencies
    deps = dependencies(element, elements_dir)
  File "/home/robertc/work/diskimage-builder/bin/diskimage_builder/element_dependencies.py", line 38, in dependencies
    elements_dir = get_elements_dir()
  File "/home/robertc/work/diskimage-builder/bin/diskimage_builder/element_dependencies.py", line 23, in get_elements_dir
    raise Exception("$ELEMENTS_PATH must be set.")
Exception: $ELEMENTS_PATH must be set.

The rest of the user accessible commands (those we document in README.md) auto-include the dib elements tree in ELEMENTS_PATH, so this is inconsistent.

Changed in diskimage-builder:
assignee: nobody → Nikunj Aggarwal (nikunj2512)

Fix proposed to branch: master
Review: https://review.openstack.org/111980

Changed in diskimage-builder:
status: Triaged → In Progress

Change abandoned by Nikunj Aggarwal (<email address hidden>) on branch: master
Review: https://review.openstack.org/111980

Gregory Haynes (greghaynes) wrote :

This has been fixed

Changed in diskimage-builder:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers