2ping has undeclared dependency on pkg_resources

Bug #1825232 reported by Dara Poon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
2ping
New
Undecided
Unassigned

Bug Description

TO REPRODUCE

1. apt-get install 2ping (3.2.1-1 in xenial)
2. Run `2ping --listen`. Exits with status 1 and the following error message:

Traceback (most recent call last):
  File "/usr/bin/2ping", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

WORKAROUND

Install python-pkg-resources or pypy-pkg-resources

SOLUTION

The 2ping package should depend on python-pkg-resources | pypy-pkg-resources

Tags: packaging
Revision history for this message
Dara Poon (dpoon) wrote :

Since `2ping --srv` requires dnspython, the .deb package should recommend python-dnspython as well.

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.