Bug 1901 - More descriptive error msgs when attempting to delete a folder.
Summary: More descriptive error msgs when attempting to delete a folder.
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Folders/MH (show other bugs)
Version: 3.7.0
Hardware: PC Linux
: P3 enhancement
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2009-04-19 15:04 UTC by Jacob
Modified: 2015-06-22 13:53 UTC (History)
0 users

See Also:


Attachments
fix (3.46 KB, patch)
2009-07-09 19:53 UTC, Pawel Pekala
no flags Details | Diff

Description Jacob 2009-04-19 15:04:39 UTC
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.)
Comment 1 Pawel Pekala 2009-07-09 19:53:34 UTC
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).
Comment 2 Jacob 2009-07-14 14:39:44 UTC
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. :)
Comment 3 users 2015-06-22 13:50:38 UTC
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.
Comment 4 Ricardo Mones 2015-06-22 13:53:35 UTC
Thanks Pawel!

Note You need to log in before you can comment on or make changes to this bug.