Students Import failing giving me that error

Students import failing giving me that error , l had put all the required fields but still no winning

Traceback (most recent call last):
File “apps/frappe/frappe/core/doctype/data_import/importer.py”, line 125, in import_data
doc = self.process_doc(doc)
File “apps/frappe/frappe/core/doctype/data_import/importer.py”, line 191, in process_doc
return self.insert_record(doc)
File “apps/frappe/frappe/core/doctype/data_import/importer.py”, line 210, in insert_record
new_doc.insert()
File “apps/frappe/frappe/model/document.py”, line 282, in insert
self.run_method(“after_insert”)
File “apps/frappe/frappe/model/document.py”, line 941, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 1259, in composer
return composed(self, method, *args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 1241, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “apps/frappe/frappe/model/document.py”, line 938, in fn
return method_object(*args, **kwargs)
File “apps/erpnext/erpnext/education/doctype/student/student.py”, line 84, in after_insert
self.create_student_user()
File “apps/erpnext/erpnext/education/doctype/student/student.py”, line 101, in create_student_user
student_user.add_roles(“Student”)
File “apps/frappe/frappe/core/doctype/user/user.py”, line 484, in add_roles
self.save()
File “apps/frappe/frappe/model/document.py”, line 310, in save
return self._save(*args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 332, in _save
return self.insert()
File “apps/frappe/frappe/model/document.py”, line 256, in insert
self.set_new_name(set_name=set_name, set_child_names=set_child_names)
File “apps/frappe/frappe/model/document.py”, line 464, in set_new_name
set_new_name(self)
File “apps/frappe/frappe/model/naming.py”, line 46, in set_new_name
doc.run_method(“autoname”)
File “apps/frappe/frappe/model/document.py”, line 941, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 1259, in composer
return composed(self, method, *args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 1241, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “apps/frappe/frappe/model/document.py”, line 938, in fn
return method_object(*args, **kwargs)
File “apps/frappe/frappe/core/doctype/user/user.py”, line 51, in autoname
self.email = self.email.strip().lower()
AttributeError: ‘NoneType’ object has no attribute ‘strip’

same error on importing, please add it on their education Repo- issue section on GitHub

still getting the same error in 2023

I Solved it recently,Goto Education setting and Checking the Option of “Skip User Creation For New Student”

1 Like

ok thanks let me check that