Public bug reported:
debian/chromium-browser.sh.in contains this snippet:
if test -x /usr/bin/python3 -a -f "/usr/lib/adobe-flashplugin/manifest.json";
then
if echo "$CHROMIUM_FLAGS" |grep -E -- "--ppapi-flash-version=( |\$)";
then
ver=$(python -c 'import json,sys;
print(json.load(open("/usr/lib/adobe-flashplugin/manifest.json"))["version"]);')
CHROMIUM_FLAGS=${CHROMIUM_FLAGS/--ppapi-flash-version=/--ppapi-flash-version="${ver}"
}
fi
fi
Notice that it checks for the existence of "/usr/bin/python3" but then
runs "python", ie Python 2.7.
** Affects: chromium-browser (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "0001-Check-flashplugin-manifest-with-Python-3.patch"
https://bugs.launchpad.net/bugs/1772448/+attachment/5142419/+files/0001-Check-flashplugin-manifest-with-Python-3.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772448
Title:
launcher script runs Python 2 despite checking for /usr/bin/python3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1772448/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs