python-ipaddr dependency missing

Bug #1730517 reported by Jethro Beekman
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
exabgp (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

# python -m exabgp healthcheck --help
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.7/dist-packages/exabgp/__main__.py", line 44, in <module>
    main()
  File "/usr/lib/python2.7/dist-packages/exabgp/__main__.py", line 33, in main
    run_healthcheck()
  File "/usr/lib/python2.7/dist-packages/exabgp/application/__init__.py", line 21, in run_healthcheck
    from exabgp.application.healthcheck import main
  File "/usr/lib/python2.7/dist-packages/exabgp/application/healthcheck.py", line 69, in <module>
    from ipaddr import IPAddress as ip_address
ImportError: No module named ipaddr

Fixed after installing "python-ipaddr" package

Revision history for this message
Jethro Beekman (jethrogb) wrote :

This is on Ubuntu Xenial

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue and help making Ubuntu better.

When attempting to run the same example with exabgp 4.0.2-0ubuntu1 on Ubuntu bionic, I get the following output:
$ python -m exabgp healthcheck --help

This program requires the python module ip_address (for python 3.3+) or ipaddr (for python 2.6, 2.7, 3.2)
Please pip install one of them with one of the following command.
> pip install ip_address
> pip install ipaddr

So it indeed looks like the dependency is still missing.

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in exabgp (Ubuntu):
status: New → Confirmed
tags: added: artful bionic packaging xenial zesty
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.