Quote:
Originally Posted by kovidgoyal
2) means you need to create a top level .Trash directory on the drive with the calibre library. Or set XDG_DATA_HOME to point to the correct location. See the freedesktop trash spec
|
I cannot create /.Trash because the drive is mounted in `/mnt/` and setting XDG_DATA_HOME doesn't seem to do the trick (I think there are no xdg tools on the system). I still get
Traceback (most recent call last):
File "site-packages/calibre/utils/recycle_bin.py", line 144, in delete_tree
File "site-packages/calibre/utils/recycle_bin.py", line 102, in fdo_recycle
File "site-packages/calibre/utils/linux_trash.py", line 176, in send2trash
File "site-packages/calibre/utils/linux_trash.py", line 92, in trash_move
OSError: [Errno 18] Invalid cross-device link
But I'm not too worried about it. :-)