mirrormanager causes python error