Dear gentoo-Team, the uzbl-Browser provided in www-client/uzbl is not calling python2, but 'env python', what will in many cases be python3. Therefore, it wont run properly (uzbl-core can be used, the 'real thing' uzbl-tabbed will bring an import error for pygtk.) Changing the interpreter to python2 solves it, once done for uzbl-tabbed it will load but not be able to accept any keystrokes/user input, so a second file has to be changed. Files that have to be modified: /usr/bin/uzbl-tabbed /usr/bin/uzbl-event-daemon It is just necessary to change the leading line #! /usr/bin/env python to #! /usr/bin/python2 Have a nice day
Created attachment 378082 [details] Ebuild seding to use python2 The given ebuild should fix the issue.
Comment on attachment 378082 [details] Ebuild seding to use python2 The fix is not correct, you should use python_fix_shebang script from python-single-r1 eclass
Created attachment 378158 [details] Ebuild using python_fix_shebang Then this should work (using EPYTHON=python2 because pygtk does not have python3 as target).
Comment on attachment 378158 [details] Ebuild using python_fix_shebang fix_shebang string looks ok, except for EPYTHON thingie you should not define EPYTHON directly and also - do not use python-utils-r1 directly in ebuilds Use python-single-r1 and define PYTHON_COMPAT properly
Created attachment 378172 [details] Ebuild using python-single rather than python-utils Hopefully this will be the last version. Remaining mistake could be calling python-single-r1_pkg_setup directly in pkg_setup.
Ebuild update has been committed to the tree