This bug report isn't about not being able to delete a folder. This bug report is about the rather uninformative error message that I happened upon while trying to delete a rather stubborn old folder that'd been gathering dust in my tree structure. The error message is: Can't remove the folder '[name here]'. Just replace [name here] with your favorite folder name. So what exactly went wrong? Are the folder permissions wrong? Is there an internal database issue? (After brute-forcing it, I finally got it to delete. I suspect it might've been a sync issue somewhere.)
Created attachment 694 [details] fix This patch adds error description in alert dialog when removing of folder fails. This is for mh type folders only, news and imap folders are more complicated to get good error description (network issues etc).
I like the added information the patch includes. It is still fairly minimal (most users won't know what the error code indicates) but at least it's something to debug. Thanks for the attention. :)
Changes related to this bug have been committed. Please check latest Git and update the bug accordingly. You can also get the patch from: http://git.claws-mail.org/ ++ ChangeLog 2015-06-22 13:50:38.068947269 +0200 http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=b07c2b6071f789c1e3d2f93e494a6c47b030bb8a Merge: 24d7e11 568eed6 Author: Colin Leroy <colin@colino.net> Date: Mon Jun 22 13:50:02 2015 +0200 Merge branch 'master' of file:///home/git/claws http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=568eed69504b569c89ac8a55d673d2ee212b3da4 Author: Ricardo Mones <ricardo@mones.org> Date: Mon Jun 22 13:46:09 2015 +0200 Fix incorrect HTML preventing label from appearing Error on console under Spanish locales was: sys:1: GtkWarning: Failed to set text from markup due to error parsing markup: Error en la línea 1, carácter 155: Se cerró el elemento «a», pero el elemento que está abierto actualmente es «span» http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=8aa14edcbfddf3d152eb4b9ac78d24629194fed1 Author: Ricardo Mones <ricardo@mones.org> Date: Fri May 29 12:20:12 2015 +0200 Fix bug #1901 ‘More descriptive error msgs when attempting to delete a folder’ Original patch by Paweł Pękala; added additional info on some g_warning calls and removed trailing ' ' as they're already appended by glib's default handler.
Thanks Pawel!