04-20-2020, 11:39 PM | #1 |
Groupie
Posts: 156
Karma: 12649
Join Date: Feb 2020
Device: iPad
|
On barebone Ubuntu Bionic I get some Warnings from Exceptions
On a barebone Ubuntu Bionic (where I cannot easily install more stuff) I get some warnings from exceptions.
(1) First warning is: Traceback (most recent call last): File "site-packages/calibre/gui2/notify.py", line 159, in get_notifier File "site-packages/calibre/gui2/notify.py", line 89, in get_dbus_notifier File "site-packages/dbus/_dbus.py", line 211, in __new__ File "site-packages/dbus/_dbus.py", line 100, in __new__ File "site-packages/dbus/bus.py", line 122, in __new__ DBusException: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead What to do about it? Does it make sense to set DBUS_SESSION_BUS_ADDRESS to some value? (2) The other warning occurs on book deletion: 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 What trash links does calibre expect here? (Maybe I can set them up manually.) Or is there a way t tell calibre to hard delete the books? Thanks for any pointers! |
04-21-2020, 12:06 AM | #2 |
creator of calibre
Posts: 43,927
Karma: 22669820
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
1) means notifications wont work
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 Last edited by kovidgoyal; 04-21-2020 at 12:10 AM. |
04-21-2020, 12:48 AM | #3 |
Groupie
Posts: 156
Karma: 12649
Join Date: Feb 2020
Device: iPad
|
Thanks for the prompt reply!
Regarding the trash: What happens to the deleted files if I don't provide a Trash directory? |
04-21-2020, 01:59 AM | #4 |
creator of calibre
Posts: 43,927
Karma: 22669820
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I dont recall, I think it stays in the folder that contains your calibre library
|
04-22-2020, 03:56 AM | #5 | |
Groupie
Posts: 156
Karma: 12649
Join Date: Feb 2020
Device: iPad
|
Quote:
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. :-) |
|
04-22-2020, 08:38 PM | #6 |
Groupie
Posts: 156
Karma: 12649
Join Date: Feb 2020
Device: iPad
|
|
Tags |
calibre, linux, linux ubuntu |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building Sigil 0.9.9 under Kubuntu 18.05 Bionic | st_albert | Sigil | 6 | 08-17-2018 08:35 PM |
Librarian of Congress renews and extends DRM circumvention exceptions | PandathePanda | News | 5 | 10-29-2015 09:09 AM |
css exceptions | Iain | ePub | 7 | 10-08-2010 03:45 AM |
getting lots of unhanded exceptions at startup | jquest | Calibre | 6 | 07-30-2009 10:55 PM |
iLiad Bionic ipdf: better, faster, stronger than Sony Reader! | scotty1024 | iRex Developer's Corner | 124 | 02-01-2009 09:45 AM |