[vmchecker-request] configurare vmchecker

Valentin Gosu valentin.gosu at gmail.com
Sat Mar 28 16:28:17 EET 2015


Hello,

Am rezolvat. Cand s-a refacut authorized_keys pentru PA, nu s-a adaugat
cheia publica a checker-ului, asa ca nu putea uploada rezultatele.
Acum e ok.

2015-03-28 15:22 GMT+02:00 Ioana Antoche <antoche.ioana at gmail.com>:

> Buna, poate sa fie iar de la VM?
>
> Ideea e ca marti seara il facusem sa mearga (desi era pe repoul din 2014
> de teme)... miercuri dimineata vmc de la PA a picat (inca nu se stie de la
> ce, se stie doar ca era o problema cu cheile). Cand a revenit nu am mai
> putut uploada teme. Si de atunci tot asa o tin.
>
> Scuze ca tot bat la cap.
>
> Multumesc,
> Ioana
>
> 2015-03-28 10:47 GMT+02:00 Ioana Antoche <antoche.ioana at gmail.com>:
>
>> Buna,
>>
>> Multumesc pentru pasi.
>> Problema e ca dupa executie imi arata o coada de teme goala (fara nicio
>> eroare).
>>
>> Ai vreo idee de la ce ar putea fi, sau pe unde ar trebui sa verific
>> setari?
>>
>> Multumesc,
>> Ioana
>>
>> 2015-03-26 11:12 GMT+02:00 Valentin Gosu <valentin.gosu at gmail.com>:
>>
>>> 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/20150328/9ee1d1b7/attachment.html>


More information about the vmchecker-request mailing list