The python interpreter on my system isn't located in /usr/bin, hence the following scripts won't work by default: # grep -R /usr/bin/python . ./test/rule-syntax-check.py:#!/usr/bin/python ./src/analyze/systemd-analyze:#!/usr/bin/python Please use "/usr/bin/env python" instead. Thank you!
Keep in mind that systemd-analyze is python2.7 only nowadays. % python3.2 /usr/bin/systemd-analyze plot Traceback (most recent call last): File "/usr/bin/systemd-analyze", line 309, in <module> verb.get(args[0], unknown_verb)() File "/usr/bin/systemd-analyze", line 277, in plot surface.finish() TypeError: must be str, not bytes
Fixed in 197.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.