Always fail in generating student report card
Hi there
We're a high school from China and get to know SCHOOLTOOL from A our foreign teacher. Right now SCHOOLTOOL 2.6.0(system is Ubuntu saucy 13.10) has been installed in our server, and we input all relative information according to the manual from SCHOOLTOOL official website, includes years, students, teachers, groups, timetable, course, section, etc... but when we try to generate students report card, it always failed and show some message like " System failure while generating Roy LIUKAIYU report card. Ticket nr. 214caf4e-
We've checked the all information that we input and the setting procedure of report card, and also we tried to find some similar issues in Lauchpad to refer, but it seems everybody's reportcard generation function is quite fine :-(
Can anybody help us with this? We really don't know where is wrong. We like this system at the first sight of it but it becomes quite disappointed now.
Thanks very much
Tom CHEN
Question information
- Language:
- English Edit question
- Status:
- Needs information
- For:
- SchoolTool Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
By the way, report card only can be generated if we don't assign any section to student, but there is nothing on it except student name, years, school name and logo. Could be something wrong with our section setting? But we do follow the manual very cautiously.
Revision history for this message
|
#2 |
Hello,
I have to comfort you that whatever you do, system failures should not happen. Report generation infrastructure is quite new and people have similar problems like you.
We need more information to understand the problem, see http://
It is not written there, but in case report generation fails with "System failure... ticket nr." the manager can see the error in Server > Server Information > Scheduled tasks (on local computer, http://
Please also add the SchoolTool PPA and upgrade (http://
Revision history for this message
|
#3 |
Thanks for response
Here is the information of the error after I try again this morning
ID 67a25b4f-
Failed
回溯 Traceback (most recent call last): File "/usr/lib/
Exception
xmlParseEntityRef: no name, line 273, column 45
Traceback
File "/usr/lib/
result = callable(*args, **kw)
File "/usr/lib/
report_file = self.renderToFi
File "/usr/lib/
self.
File "/usr/lib/
pdf = rml2pdf.
File "/usr/lib/
root = etree.fromstrin
File "lxml.etree.pyx", line 2993, in lxml.etree.
File "parser.pxi", line 1617, in lxml.etree.
File "parser.pxi", line 1488, in lxml.etree.
File "parser.pxi", line 969, in lxml.etree.
File "parser.pxi", line 577, in lxml.etree.
File "parser.pxi", line 676, in lxml.etree.
File "parser.pxi", line 616, in lxml.etree.
Exception
<ExceptionWithT
Traceback
File "/usr/lib/
result = self.runTransac
File "/usr/lib/
raise failure
Persisted traceback
Exception
xmlParseEntityRef: no name, line 273, column 45
Traceback
File "/usr/lib/
result = callable(*args, **kw)
File "/usr/lib/
report_file = self.renderToFi
File "/usr/lib/
self.
File "/usr/lib/
pdf = rml2pdf.
File "/usr/lib/
root = etree.fromstrin
File "lxml.etree.pyx", line 2993, in lxml.etree.
File "parser.pxi", line 1617, in lxml.etree.
File "parser.pxi", line 1488, in lxml.etree.
File "parser.pxi", line 969, in lxml.etree.
File "parser.pxi", line 577, in lxml.etree.
File "parser.pxi", line 676, in lxml.etree.
File "parser.pxi", line 616, in lxml.etree.
Exception
<ExceptionWithT
Traceback
File "/usr/lib/
result = self.runTransac
File "/usr/lib/
raise failure
Internal state FAILURE
-------
Also here is the things in error log:
2013-12-31 13:38:07,967 ['/var/
2013-12-31 13:38:08,050 created temporary cache file '<fdopen>'
2013-12-31 13:38:08,296 ['/var/
2013-12-31 13:38:08,304 (/var/run/
2013-12-31 13:38:08,397 ['/var/
2013-12-31 13:38:08,397 ['/var/
2013-12-31 13:38:08,398 ['/var/
2013-12-31 13:38:08,559 ['/var/
2013-12-31 13:45:27,757 ['/var/
2013-12-31 13:45:27,762 created temporary cache file '<fdopen>'
2013-12-31 13:45:27,794 ['/var/
2013-12-31 13:45:27,795 (/var/run/
2013-12-31 13:45:27,895 ['/var/
2013-12-31 13:45:27,896 ['/var/
2013-12-31 13:45:27,897 ['/var/
2013-12-31 13:45:28,232 main db: evolving in mode EVOLVEMINIMUM
2013-12-31 13:45:28,249 main db/schooltool: running install generation
2013-12-31 13:45:28,269 main db/schooltool.
2013-12-31 13:45:28,321 main db/schooltool.
2013-12-31 13:45:28,374 main db/schooltool.
2013-12-31 13:45:28,389 main db/schooltool.
2013-12-31 13:45:28,433 main db/schooltool.
2013-12-31 14:02:44,663 http://
Traceback (most recent call last):
File "/usr/lib/
obj = request.
File "/usr/lib/
ob = super(BrowserRe
File "/usr/lib/
ob = super(HTTPRequest, self).traverse(obj)
File "/usr/lib/
obj = publication.
File "/usr/lib/
ob2 = adapter.
File "/usr/lib/
raise NotFound(
NotFound: Object: <schooltool.
2013-12-31 14:02:45,315 http://
Traceback (most recent call last):
File "/usr/lib/
obj = request.
File "/usr/lib/
ob = super(BrowserRe
File "/usr/lib/
ob = super(HTTPRequest, self).traverse(obj)
File "/usr/lib/
obj = publication.
File "/usr/lib/
ob2 = ob.publishTrave
File "/usr/lib/
return self.get(name)
File "/usr/lib/
raise NotFound(None, name)
NotFound: Object: None, name: u'jquery.
2013-12-31 16:41:50,976 ['/var/
2013-12-31 16:41:50,976 created temporary cache file '<fdopen>'
2013-12-31 16:41:50,999 ['/var/
2013-12-31 16:41:50,999 (/var/run/
2013-12-31 16:41:51,100 ['/var/
2013-12-31 16:41:51,100 ['/var/
2013-12-31 16:41:51,101 ['/var/
2013-12-31 16:41:51,114 main db: evolving in mode EVOLVEMINIMUM
2013-12-31 16:44:37,785 http://
Traceback (most recent call last):
File "/usr/lib/
obj = request.
File "/usr/lib/
ob = super(BrowserRe
File "/usr/lib/
ob = super(HTTPRequest, self).traverse(obj)
File "/usr/lib/
obj = publication.
File "/usr/lib/
ob2 = adapter.
File "/usr/lib/
raise NotFound(
NotFound: Object: <schooltool.
2014-01-02 09:11:38,484 ['/var/
2014-01-02 09:11:38,488 created temporary cache file '<fdopen>'
2014-01-02 09:11:38,533 ['/var/
2014-01-02 09:11:38,533 (/var/run/
2014-01-02 09:11:38,634 ['/var/
2014-01-02 09:11:38,635 ['/var/
2014-01-02 09:11:38,635 ['/var/
2014-01-02 09:11:38,649 main db: evolving in mode EVOLVEMINIMUM
2014-01-02 09:17:17,229 http://
Traceback (most recent call last):
File "/usr/lib/
obj = request.
File "/usr/lib/
ob = super(BrowserRe
File "/usr/lib/
ob = super(HTTPRequest, self).traverse(obj)
File "/usr/lib/
obj = publication.
File "/usr/lib/
ob2 = adapter.
File "/usr/lib/
raise NotFound(
NotFound: Object: <schooltool.
2014-01-02 09:26:11,957 ['/var/
2014-01-02 09:26:11,961 created temporary cache file '<fdopen>'
2014-01-02 09:26:12,004 ['/var/
2014-01-02 09:26:12,004 (/var/run/
2014-01-02 09:26:12,105 ['/var/
2014-01-02 09:26:12,106 ['/var/
2014-01-02 09:26:12,107 ['/var/
2014-01-02 09:26:12,120 main db: evolving in mode EVOLVEMINIMUM
2014-01-02 09:28:25,634 ['/var/
2014-01-02 09:28:25,635 created temporary cache file '<fdopen>'
2014-01-02 09:28:25,660 ['/var/
2014-01-02 09:28:25,661 (/var/run/
2014-01-02 09:28:25,761 ['/var/
2014-01-02 09:28:25,762 ['/var/
2014-01-02 09:28:25,763 ['/var/
2014-01-02 09:28:25,776 main db: evolving in mode EVOLVEMINIMUM
Revision history for this message
|
#4 |
Hello Gediminas?
Is the information helpful? The function is still unworking.... ;-(
Revision history for this message
|
#5 |
Hello,
Sorry, I have not received your information by email.
Yes, it is helpful. Can't tell what to do yet.
I guess that there is a Comment column in one of report sheets? There was a related change between version 2.6.0 and 2.6.1.1 to use html entities or not. After upgrade you would have to edit the comment and save it. Then try report of that student.
But I have to look into code.
Revision history for this message
|
#6 |
Gediminas, did you receive my email?
Revision history for this message
|
#7 |
Finally we find the probable reason for this issue after we shorten the name of courses, It might need to be less 20 letters. Also it depends on the name of the instructor. Anyway, the report card can be generated now, wish this information is useful.
However we find another issue when we're scheduling the sections by custom date range function, the schedule is duplicated automatically to other date range, like we have different schedule in September and october, but each schedule is in both periods after setting. we need to delete course event one by one afterwards and it cost much time. By the way, there is not error reported. Is there someone has the similar issue?
Revision history for this message
|
#8 |
Hi Tom,
Regarding the report card bug, can you give us some examples of problematic strings that we can copy/paste them and reproduce the bug? Presumably this is with non-Latin character sets? We simply don't have many examples to use for our testing.
Could you send us screenshots of the schedule and other views relevant to the calendaring bug? Does this also affect the attendance journal?
Can you help with this problem?
Provide an answer of your own, or ask tom chen for more information if necessary.