That error indicates you have no dbus session bus running, which should not be possible, but in any case, this commit will cause calibre to ignore the error and just disable notifications in such cases.
https://github.com/kovidgoyal/calibr...6944642ec0b21f