I have this issue too: categories which have contained items (but are now empty) and which have been published (but now aren't) still couldn't be deleted (CATDELETEERROR). What seemed to be the problem is that there was an item in the trash...
More