Try except getsize