Exception raising line uncommented in create_grelation()