Object not accessible from python