offlineimap
offlineimap copied to clipboard
--delete-folder with the blinkenlight UI results in a borked terminal.
General information
- system/distribution (with version): debian
- offlineimap version (
offlineimap -V
): offlineimap v7.2.3, imaplib2 v2.57 (system), Python v2.7.16, OpenSSL 1.1.1d 10 Sep 2019 - Python version: 2.7.16
- server name or domain: irrelevant
- CLI options: -u blinkenlights --delete-folder=somefolder
Configuration file offlineimaprc
irrelevant
pythonfile (if any)
irrelevant
Logs, error
After successful or unsuccessful deletion, the terminal is not reset. It seems that curses is not stopped correctly.
it shows (note that we are back in the shell in the first line):
frobmachine~/$ Copyright 2002-2019 John Goerzen & contributors
OfflineIMAP 7.2.3
Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
imaplib2 v2.57 (system), Python v2.7.16, OpenSSL 1.1.1d 10 Sep 2019
Establishing connection to mymailserver.email:993 (Remote)
ERROR: Folder 'somenonexistingfolder'[Remote] could not be deleted. Server responded: ('NO', ["[NONEX
ISTENT] Mailbox doesn't exist: somenonexistingfolder (0.000 + 0.000 secs)."])
1339;1H
30;1H
0: [active] *Control: @
Steps to reproduce the error
Run:
offlineimap -u blinkenlights --delete-folder=somenonexistentfolder