Description of problem:
system-switch-mail does not work in text console like it was in previous Fedora releases.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. dnf install system-switch-mail (note: don't install system-switch-mail-gnome)
2. run "system-switch-mail"
Error accessing /usr/share/system-switch-mail/switchmail_gui.py: No such file or directory
Console version of system-switch-mail should be displayed. I don't see any information in changelog, that tui is no longer supported.
it's fixed in system-switch-mail-1.0.1-11.fc25 which will be pushed to update-testing today.
system-switch-mail-1.0.1-11.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0fe1c41a96
system-switch-mail-1.0.1-11.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-0fe1c41a96
Unfortunatelly I get different error now:
[root@hostname ~]# system-switch-mail
Authentication is needed to run system-switch-mail as super user
/usr/share/system-switch-mail/switchmail_tui.py: line 19: import: command not found
/usr/share/system-switch-mail/switchmail_tui.py: line 21: SWITCHMAILDIR: command not found
/usr/share/system-switch-mail/switchmail_tui.py: line 24: syntax error near unexpected token `"/usr/lib/rhs/python"'
/usr/share/system-switch-mail/switchmail_tui.py: line 24: ` sys.path.append("/usr/lib/rhs/python")'
There is missig "#!/bin/python" in the first line of switchmail_tui.py or it should be started as
Also (not so impotant) - the warning about authentication should be suppressed if the command is run by a super user.
system-switch-mail-1.0.1-11.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
As I wrote in comment #4 - it is still imperfect.
i fixed this issue again, and will push new version into f25 update today.
Thanks for your report.