Hello Manolo,

Manolo Díaz [2017-07-16 18:36 +0200]:
> > So calibre should clean up *.pyc files (probably from ancient
> > installations) in /usr/lib/calibre.
> > Cheers,
> >  -- Guido
> 
> It would help, but I think it isn't enough. Given the following
> sequence calibre would have failed to start.
> 
> - upgrade or reinstall calibre (all *.pyc are cleaned up)
> - run calibre as root (they are created again)
> - upgrade python-dateutil.

I don't think that there's much that a Python application package can do about
it. Cleaning up the pyc files on package upgrades should alleviate this (I'll
add that to the packaging), but I figure the muuuuch better solution here is
"don't run calibre as root".

Martin

Reply via email to