Looks quite nice, thanks for getting this fixed.
...
https://anonscm.debian.org/cgit/coll...6e6fbe73cf7e34
Heh, this should happen when someone sets up a systemd-managed calibre-server.service running as root, too.

Granted, people should learn to enable loginctl lingering and manage their personal services in the systemd user session, or at least tell systemd to run as a non-root user, but... things happen.
...
Regardless, *.pyc files are something that is
good to have. The python interpreter takes a bit of time on every run, generating bytecode and trying to cache it to disk (and failing), is there a reason that isn't installed?
I will admit to knowing next to nothing about how Debian handles bytecode. I do know that in Arch Linux, pyc/pyo files are part of the package filelist.