ben
February 12, 2020, 11:40pm
1
When i try generate student report, it comes blank as shown below after selecting the filters:
When you click print report card a blank report is generated in PDF as follows yet the student has marks:
Kindly advice am using ERPNEXT version 12
Did u try in version 11. I did try, but it also does not bring any result only blank page, sort of site can’t be reached error. Any person who did it right, please post.
ben
February 28, 2020, 11:56am
3
Yes i tried with both 11 and 12 but still the same error…I suppose this is a bug. Have already posted it on Github:
opened 01:42PM - 17 Feb 20 UTC
closed 01:18PM - 08 Dec 22 UTC
bug
## Description of the issue
After students marks are entered in the system, it … expected that the report for the individual student can be produced. Using the Student Report Generation tool, reports are unable to be produced.
## Context information (for bug reports)
**Output of `bench version`**
```
ERPNEXT version 12
```
## Steps to reproduce the issue
Check the link below for further information and how to reproduce this issue.
https://discuss.erpnext.com/t/student-report-generation-tool-doesnt-display-student-results-on-report-printing/57999
### Observed result
Student report Generated is blank
### Expected result
Population of student report with the marks clearly visible for all courses.
### Stacktrace / full error message
```
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 60, in application
response = frappe.api.handle()
File "/home/frappe/frappe-bench/apps/frappe/frappe/api.py", line 55, in handle
return frappe.handler.handle()
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 22, in handle
data = execute_cmd(cmd)
File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 61, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1042, in call
return fn(*args, **newargs)
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 515, in wrapper_fn
retval = fn(*args, **get_newargs(fn, kwargs))
File "/home/frappe/frappe-bench/apps/frappe/frappe/desk/query_report.py", line 183, in run
result = generate_report_result(report, filters, user)
File "/home/frappe/frappe-bench/apps/frappe/frappe/desk/query_report.py", line 68, in generate_report_result
res = report.execute_script_report(filters)
File "/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/report/report.py", line 104, in execute_script_report
res = self.execute_module(filters)
File "/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/report/report.py", line 121, in execute_module
return frappe.get_attr(method_name)(frappe._dict(filters))
File "/home/frappe/frappe-bench/apps/erpnext/erpnext/education/report/course_wise_assessment_report/course_wise_assessment_report.py", line 25, in execute
frappe.throw(_("Please select the assessment group other than 'All Assessment Groups'"))
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 364, in throw
msgprint(msg, raise_exception=exc, title=title, indicator='red')
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 350, in msgprint
_raise_exception()
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 316, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.ValidationError: Please select the assessment group other than 'All Assessment Groups'
```
Does not seem like it is resolved in version 13 either… is it? Anyone has had success?
still exist in V13, and V14,i can confirm it
why no one care, about fixing Education module bugs, it really unusable with the current state, there more than Two fatal Error, stops your from making the normal workflow, rather than the need to modificate some elements, to became worldwide usable
Hello Ali,
Thanks to @Jannat_Patel this bug is now fixed in v14.
I was recently able to update my tenant and it is working.
Best regards,
Muslim
sione
August 14, 2023, 8:12am
8
We created a custom report for the Student Report Card for one of the School here in Tonga. We make use of the panda to create the Student Report Card.
Hi @sione … Could you explain about it a bit more?
sione
September 7, 2023, 9:04pm
10
@Finny_Philip : We created a Report,
Report Type : Script Report
Ref DocType : Assessment Result
Is Standard : Yes
From the Assessment Result we get the student_id, academic_term and program and fetch from the database the student, student_name, course, score, grade.
Using Panda Data Manipulation and Data Transformation to maps course name in and order.
Panda Data Aggregation (DataFrames) create a pivot table each student with their courses and final score.