unspecified dependency on python-pkg-resources

Bug #1662001 reported by Kyler Laird
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
websockify (Debian)
Fix Released
Unknown
websockify (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

On a fresh Amazon Ubuntu Xenial instance, I installed websockify and got this error when I tried to run it.

root@ip-10-0-0-149:~# websockify
Traceback (most recent call last):
  File "/usr/bin/websockify", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
root@ip-10-0-0-149:~# lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04
root@ip-10-0-0-149:~# dpkg -l websockify
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-=============================-===================-===================-===============================================================
ii websockify 0.6.1+dfsg1-1 amd64 WebSockets support for any application/server

Installing python-pkg-resources solves the problem.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
you are right I can confirm that from Xenial through Zesty.

Changed in websockify (Ubuntu):
status: New → Confirmed
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Yep, fixed by installation of python-pkg-resources.

I wonder why that is not auto picked up by ${python:Depends} in d/control

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

This bug is present in Debian too, and Ubuntu currently doesn't make any changes over the Debian package. So this bug would be best fixed directly in Debian, and then Ubuntu will pick up the fix automatically.

Would you mind filing a bug with Debian please?

tags: added: bitesize
tags: added: xenial yakkety zesty
Changed in websockify (Debian):
status: Unknown → New
Changed in websockify (Debian):
status: New → Fix Released
Revision history for this message
dino99 (9d9) wrote :

Fixed on Artful +

Changed in websockify (Ubuntu):
status: Confirmed → Fix Released
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.