http://bugzilla.opensuse.org/show_bug.cgi?id=1109896 Bug ID: 1109896 Summary: /etc/zsh-command-not-found executing python 2 instead of python 3. Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: 64bit OS: openSUSE Factory Status: NEW Severity: Minor Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: ldewey@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- It looks like after upgrading the code for /usr/bin/command-not-found to Python 3 that the zsh function was not. Actual Results: --------------- ~ >> foo File "/usr/bin/command-not-found", line 14 print(file=sys.stderr) ^ SyntaxError: invalid syntax ~ >> Expected Results: ----------------- ~ >> foo foo: command not found ~ >> In /etc/zsh_command_not_found, within the command_not_found_handler function it reads: line 5: if [ -x /usr/bin/python ] && [ -x /usr/bin/command-not-found ]; then line 9: /usr/bin/python /usr/bin/command-not-found "${(Q)1}" zypp when it should be: line 5: if [ -x /usr/bin/python3 ] && [ -x /usr/bin/command-not-found ]; then line 9: /usr/bin/python3 /usr/bin/command-not-found "${(Q)1}" zypp -- You are receiving this mail because: You are on the CC list for the bug.