View Single Post
Old 04-22-2020, 03:56 AM   #5
halloleo
Groupie
halloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterhalloleo can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 156
Karma: 12649
Join Date: Feb 2020
Device: iPad
Quote:
Originally Posted by kovidgoyal View Post
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. :-)
halloleo is offline   Reply With Quote