Error in accessing the course:AMSC2016['NoneType' object has no attribute 'lang_code']