Giter Site home page Giter Site logo

Comments (8)

RitvikSardana avatar RitvikSardana commented on June 2, 2024

@Tomkar9 put steps to reproduce the same error, put some screenshots and some description about the error.

from education.

Tomkar9 avatar Tomkar9 commented on June 2, 2024

from education.

RitvikSardana avatar RitvikSardana commented on June 2, 2024

@Tomkar9, open your console by
double clicking the mouse > Inspect > Console.

copy the traceback and send.

from education.

Tomkar9 avatar Tomkar9 commented on June 2, 2024

Traceback (most recent call last):
File "apps/frappe/frappe/app.py", line 110, in application
response = frappe.api.handle(request)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/api/init.py", line 49, in handle
data = endpoint(**arguments)
^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/api/v1.py", line 36, in handle_rpc_call
return frappe.handler.handle()
^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/handler.py", line 49, in handle
data = execute_cmd(cmd)
^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/handler.py", line 85, in execute_cmd
return frappe.call(method, **frappe.form_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/init.py", line 1718, in call
return fn(*args, **newargs)
^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/utils/typing_validations.py", line 31, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/model/mapper.py", line 36, in make_mapped_doc
return method(source_name)
^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/utils/typing_validations.py", line 31, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "apps/education/education/education/api.py", line 48, in enroll_student
student.save()
File "apps/frappe/frappe/model/document.py", line 335, in save
return self._save(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "apps/frappe/frappe/model/document.py", line 357, in _save
return self.insert()
^^^^^^^^^^^^^
File "apps/frappe/frappe/model/document.py", line 284, in insert
self.set_new_name(set_name=set_name, set_child_names=set_child_names)
File "apps/frappe/frappe/model/document.py", line 494, in set_new_name
set_new_name(self)
File "apps/frappe/frappe/model/naming.py", line 164, in set_new_name
set_name_from_naming_options(autoname, doc)
File "apps/frappe/frappe/model/naming.py", line 204, in set_name_from_naming_options
_prompt_autoname(autoname, doc)
File "apps/frappe/frappe/model/naming.py", line 523, in prompt_autoname
frappe.throw(
("Please set the document name"))
File "apps/frappe/frappe/init.py", line 602, in throw
msgprint(
File "apps/frappe/frappe/init.py", line 567, in msgprint
_raise_exception()
File "apps/frappe/frappe/init.py", line 518, in _raise_exception
raise exc
frappe.exceptions.ValidationError: Please set the document name
request.js:473:14

from education.

RitvikSardana avatar RitvikSardana commented on June 2, 2024

@Tomkar9
This is not replicable, can you share some other information, like Version of

Education
ERPNext
Frappe

from education.

Tomkar9 avatar Tomkar9 commented on June 2, 2024

Education. Version 15
ERPNext. Version 15
Frappe. Version 15

from education.

Tomkar9 avatar Tomkar9 commented on June 2, 2024

Education: v15.0.0 (version-15)

ERPNext: v15.18.2 (version-15)

Frappe Framework: v15.19.0 (version-15)

from education.

Tomkar9 avatar Tomkar9 commented on June 2, 2024

@Tomkar9 This is not replicable, can you share some other information, like Version of

Education ERPNext Frappe

@Tomkar9 This is not replicable, can you share some other information, like Version of

Education ERPNext Frappe

from education.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.