[vmchecker-request] [pc-cb] eroare getUserResults ceva cu update_grades

Razvan Deaconescu razvan.deaconescu at cs.pub.ro
Mon Nov 21 11:14:41 EET 2016


Razvan Deaconescu <razvan.deaconescu at cs.pub.ro> writes:
> Laura Vasilescu <laura at linux.com> writes:
>> Bună,
>>
>> La programare cb/cd, cand dai click pe nota unui student apare
>> următoarea eroare:
>> "Traceback (most recent call last): File
>> "/home/vmchecker/public_html/services/services.py", line 322, in
>> getUserResults update_db.update_grades(courseId, user=username,
>> assignment=assignmentId) File
>> "/usr/local/lib/python2.7/dist-packages/vmchecker/update_db.py", line
>> 180, in update_grades args=(vmcfg, course_db, ignore_timestamp)) File
>> "/usr/local/lib/python2.7/dist-packages/vmchecker/repo_walker.py",
>> line 80, in walk self.walk_submission(assignment, user, func, args)
>> File "/usr/local/lib/python2.7/dist-packages/vmchecker/repo_walker.py",
>> line 36, in walk_submission func(assignment, user, path, *args) File
>> "/usr/local/lib/python2.7/dist-packages/vmchecker/update_db.py", line
>> 137, in db_save_grade grade = compute_grade(assignment, user,
>> grade_filename, vmcfg) File
>> "/usr/local/lib/python2.7/dist-packages/vmchecker/update_db.py", line
>> 107, in compute_grade grade =
>> float(vmcfg.assignments().get(assignment, 'TotalPoints')) File
>> "/usr/local/lib/python2.7/dist-packages/vmchecker/confdefaults.py",
>> line 87, in get return self.section_ids[section_id][option.lower()]
>> KeyError: 'totalpoints'"
>>
>> Nu reusesc sa ma prind de la ce e; configul pare ok si pana acum
>> cateva ore a mers fara nicio problema
>>
>> Any ideas la ce sa ne uitam?
>
> Mă uit acum.

Mie îmi merge sa dau click pe notele studenților de la PC CB/CC[1] și să
văd rezultatul testării și al evaluării. O fi fost o eroare temporară?

[1] https://vmchecker.cs.pub.ro/ui/#PCCB

Răzvan


More information about the vmchecker-request mailing list