FS#49566 - [uzbl] Should depend on python-setuptools and its deps

Attached to Project: Community Packages
Opened by Leonid Isaev (lisaev) - Sunday, 05 June 2016, 04:48 GMT
Last edited by Balló György (City-busz) - Thursday, 09 February 2017, 16:42 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

community/uzbl should depend on python-setuptools and its dependency chain. Otherwise, uzbl-event-manager fails to start with:
----------
Traceback (most recent call last):
File "/usr/bin/uzbl-event-manager", line 5, in <module>
from pkg_resources import load_entry_point
Import error: No module named 'pkg_resources'
Error: Could not start uzbl-event-manager
----------

BTW, this happens with the current master as well.

Thanks,
L.
This task depends upon

Closed by  Balló György (City-busz)
Thursday, 09 February 2017, 16:42 GMT
Reason for closing:  Fixed
Additional comments about closing:  uzbl 1:0.9.1+95+g3a4c70ad-1
Comment by Rick Hurdle (dakota) - Sunday, 05 June 2016, 06:00 GMT
I receive the same error as Leonid while running uzbl-browser or uzbl-tabbed... but not uzbl-core.

I am running:

uzbl-core-1:0.9.0-1
uzbl-browser-1:0.9.0-1
uzbl-tabbed-1:0.9.0-1

----------
When I look in the file '/usr/bin/uzbl-event-manager' I see the following:

#!/usr/bin/python3
# EASY-INSTALL-ENTRY-SCRIPT: 'uzbl==201100808','console_scripts','uzbl-event-manager'
__requires__ = 'uzbl==201100808'
import sys
from pkg_resources import load_entry_point

if __name__ == '__main__':
sys.exit(
load_entry_point('uzbl==201100808', 'console_scripts', 'uzbl-event-manager')()

----------
Installing python-setuptools-1:22.0.5-1 (and its dependencies) fixed the problem.

Loading...