QtCore.Property try except