Student import in education failing to import

Student import in education failing to import. I think its a bug that need to be sorted have checked from version 12 , 13 , 14 , you cant import students in education module but guardians you can be imported separately but when you try to import to students it tells you guardians are not there if you remove the guardians column it will tell you to put the the guardians but they are not mandatory .

I`ve facing problems with student import too.

I my case, I`ve got the message bellow:

Please, help me!

Traceback (most recent call last):
File “apps/frappe/frappe/core/doctype/data_import/importer.py”, line 147, in import_data
doc = self.process_doc(doc)
File “apps/frappe/frappe/core/doctype/data_import/importer.py”, line 240, in process_doc
return self.insert_record(doc)
File “apps/frappe/frappe/core/doctype/data_import/importer.py”, line 259, in insert_record
new_doc.insert()
File “apps/frappe/frappe/model/document.py”, line 255, in insert
self.run_before_save_methods()
File “apps/frappe/frappe/model/document.py”, line 1056, in run_before_save_methods
self.run_method(“validate”)
File “apps/frappe/frappe/model/document.py”, line 928, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 1268, in composer
return composed(self, method, *args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 1250, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “apps/frappe/frappe/model/document.py”, line 925, in fn
return method_object(*args, **kwargs)
File “apps/education/education/education/doctype/student/student.py”, line 21, in validate
self.validate_user()
File “apps/education/education/education/doctype/student/student.py”, line 66, in validate_user
student_user.add_roles(“Student”)
File “apps/frappe/frappe/core/doctype/user/user.py”, line 487, in add_roles
self.save()
File “apps/frappe/frappe/model/document.py”, line 301, in save
return self._save(*args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 323, in _save
return self.insert()
File “apps/frappe/frappe/model/document.py”, line 281, in insert
self.run_post_save_methods()
File “apps/frappe/frappe/model/document.py”, line 1087, in run_post_save_methods
self.run_method(“on_update”)
File “apps/frappe/frappe/model/document.py”, line 928, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 1268, in composer
return composed(self, method, *args, **kwargs)
File “apps/frappe/frappe/model/document.py”, line 1250, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “apps/frappe/frappe/model/document.py”, line 925, in fn
return method_object(*args, **kwargs)
File “apps/frappe/frappe/core/doctype/user/user.py”, line 124, in on_update
self.send_password_notification(self.__new_password)
File “apps/frappe/frappe/core/doctype/user/user.py”, line 264, in send_password_notification
self.send_welcome_mail_to_user()
File “apps/frappe/frappe/core/doctype/user/user.py”, line 335, in send_welcome_mail_to_user
self.send_login_mail(
File “apps/frappe/frappe/core/doctype/user/user.py”, line 367, in send_login_mail
frappe.sendmail(
File “apps/frappe/frappe/init.py”, line 709, in sendmail
builder.process(send_now=now)
File “apps/frappe/frappe/email/doctype/email_queue/email_queue.py”, line 656, in process
queue_data = self.as_dict(include_recipients=False)
File “apps/frappe/frappe/email/doctype/email_queue/email_queue.py”, line 697, in as_dict
mail = self.prepare_email_content()
File “apps/frappe/frappe/email/doctype/email_queue/email_queue.py”, line 625, in prepare_email_content
sender=self.sender,
File “apps/frappe/frappe/email/doctype/email_queue/email_queue.py”, line 523, in sender
return email_account.default_sender
File “apps/frappe/frappe/email/doctype/email_account/email_account.py”, line 280, in default_sender
return email.utils.formataddr((self.name, self.get(“email_id”)))
File “/usr/lib/python3.10/email/utils.py”, line 91, in formataddr
AttributeError: ‘NoneType’ object has no attribute ‘encode’

l think solution is to go into database tables directly and import data there