I cannot delete files through the file browser. Everything looks normal but the file is not deleted. With --debug I get the following output. It starts from the moment I right-click the file to the moment after the dialog is acked with "OK". My trash is empty and in Dolphin I see that it is set to a size of ~3GB. Since KDE_LANG=en_US does not seem to have an effect here, there is German text in the output. It says "Trash has reached its maximum size. Please empty it manually." Any idea? amarok: BEGIN: virtual bool Collections::SqlCollectionLocation::isWritable() const amarok: [SqlCollectionLocation] "/home/motoko/musikke" amarok: [SqlCollectionLocation] used: 1.13926e+11 amarok: [SqlCollectionLocation] total: 1.15474e+11 amarok: [SqlCollectionLocation] free space: 1.54816e+09 amarok: [SqlCollectionLocation] path_exists_writable true amarok: [SqlCollectionLocation] path_exists_with_space true amarok: END__: virtual bool Collections::SqlCollectionLocation::isWritable() const [Took: 0.001s] amarok: BEGIN: void FileView::slotDelete(Qt::MouseButtons, Qt::KeyboardModifiers) amarok: END__: void FileView::slotDelete(Qt::MouseButtons, Qt::KeyboardModifiers) [Took: 3.3s] amarok(22094)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x9e9fad0) amarok(22094)/kio (Scheduler) KIO::SchedulerPrivate::protoQ: creating ProtoQueue instance for "trash" amarok(22094)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: m_maxConnectionsTotal: 2 m_maxConnectionsPerHost: 2 amarok(22094)/kio (Slave) KIO::Slave::createSlave: createSlave "trash" for KUrl("trash:/") amarok(22094)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on "local:/tmp/ksocket-motoko/amarokC22094.slave-socket" X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x1e00231 amarok(22094)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::StatJob(0x9e9fad0) KIO::Slave(0x9c16918) amarok(22094)/kio (KIOJob) KIO::CopyJobPrivate::startRenameJob: KUrl("file:///home/motoko/cre091.mp3") -> KUrl("trash:/cre091.mp3") trying direct rename first amarok(22094)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x9dadb78) amarok(22094)/kio (Scheduler) KIO::SchedulerPrivate::setJobPriority: KIO::SimpleJob(0x9dadb78) 1 amarok(22094)/kio (KIOJob) KIO::SlaveInterface::dispatch: error 163 "Der Mülleimer hat seine maximale Größe erreicht! Bitte leeren Sie ihn von Hand." amarok(22094)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::SimpleJob(0x9dadb78) KIO::Slave(0x9c16918) amarok(22094)/kio (KIOJob) KIO::CopyJobPrivate::slotResultRenaming: Couldn't rename KUrl("file:///home/motoko/cre091.mp3") to KUrl("trash:/cre091.mp3") , aborting amarok(22094)/kio (KDirWatch) KDirWatchPrivate::removeEntry: doesn't know "/home" amarok(22094)/kio (KDirListerCache) KDirListerCache::slotFilesAdded: KUrl("trash:/") amarok(22094)/kio (KDirListerCache) KDirListerCache::updateDirectory: KUrl("trash:/") amarok: [SqlRegistry] albums: 44 (-2) of 276 cached amarok: [SqlRegistry] artists: 102 (0) of 175 cached amarok: [SqlRegistry] genres: 11 (0) of 45 cached amarok: [SqlRegistry] tracks: 75 (-10) of 2372 cached amarok: BEGIN: void ScanManager::checkScannerVersion() amarok: END__: void ScanManager::checkScannerVersion() [Took: 0.015s] Reproducible: Always
I found a solution. It is described in http://forum.kde.org/viewtopic.php?f=66&t=88418 Removing .local/share/Trash/metadata solves the issue. Should this bug remain open and be changed to be about some feedback to the user in this kind of cases?
I think it depends on the kio-trash bug 245482, marking the dependency.
Im having no problem in deleting files using file browser in Amarok v2.6.0-421-gf66a306
Leaving this open, as it depends on the size of the trash.
Marking this directly as a duplicate of 245482, because when it is solved, this will be automatically solved in Amarok use-case too. (e.g. we don't have to do anything on our part) *** This bug has been marked as a duplicate of bug 245482 ***