[vmchecker-request] configurare vmchecker
Valentin Gosu
valentin.gosu at gmail.com
Thu Mar 26 11:12:41 EET 2015
Procesul este acesta:
Se face un folder nou - vmchecker-storer-[anul curent]
Se da comanda `vmchecker-init-course storer` in folderul respectiv
Se copiaza config-ul, scripturile .sh, si testele in noul folder
Se sterge symlink-ul, vmchecker-storer si se pune la noul folder
2015-03-26 9:37 GMT+02:00 Ioana Antoche <antoche.ioana at gmail.com>:
> Buna,
>
> Tot legat de vmchecker:
> Aparent acum am o problema cu baza de date. Cand incerc sa uploadez o
> arhiva cu tema primesc:
> Traceback (most recent call last): File
> "/home/vmchecker/public_html/services/services.py", line 140, in
> uploadAssignment 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 154,
> in db_save_grade course_db.save_grade(assignment_id, user_id, grade, mtime)
> File "/usr/local/lib/python2.7/dist-packages/vmchecker/coursedb.py", line
> 90, in save_grade (grade, mtime, assignment_id, user_id)) OperationalError:
> unable to open database file
>
> Nu exista vreo comanda care sa iti faca o noua instanta de vmchecker (cu
> vm, db si toate setarile standard)? si peste asta sa pun scripturile de
> testare?
>
> Multumesc,
> Ioana
>
> 2015-03-24 18:36 GMT+02:00 Valentin Gosu <valentin.gosu at gmail.com>:
>
>> Hello,
>>
>> Masina virtuala era corupta. Am facut copiat-o pe cea de la MN de anul
>> trecut.
>> Sper ca e ok. Sa imi spuneti daca mai e nevoie de ceva.
>>
>>
>> 2015-03-24 18:08 GMT+02:00 Ioana Antoche <antoche.ioana at gmail.com>:
>>
>>> Buna,
>>>
>>> Incerc sa configures vmcheckerul pentru prima tema la PA. Am actualizat
>>> fisierul config din vmchecker-storer.
>>> Am urcat tema1.zip (care contine programele/scripturile de testare) in
>>> tests.
>>> Am sters baza de date veche.
>>>
>>> Problema e ca atunci cand incerc sa trimit o arhiva cu teme imi da:
>>>
>>> vmexecutor exitcode 1 (error) in categoria de erori vmchecker.
>>>
>>> Cum imi dau seama de la ce ar putea sa fie?
>>>
>>>
>>> Multumesc,
>>>
>>> Ioana
>>>
>>>
>>>
>>> _______________________________________________
>>> vmchecker-request mailing list
>>> vmchecker-request at cursuri.cs.pub.ro
>>> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/vmchecker-request
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/vmchecker-request/attachments/20150326/880f61f0/attachment.html>
More information about the vmchecker-request
mailing list