<div dir="ltr"><div>Cel mai probabil cineva a incercat sa adauge utilizatori noi in fisierul json si a gresit sintaxa :)<br><br></div>Output-ul la request este acesta:<br><pre style>{"errorMessage": "", "errorType": 2, "errorTrace": "Traceback (most recent call last):\n File \"/home/vmchecker/public_html/services/services.py\", line 564, in login\n user = websutil.get_user(username, password)\n File \"/usr/local/lib/python2.6/dist-packages/vmchecker/websutil.py\", line 50, in get_user\n r = get_user_from_auth_files(username, password)\n File \"/usr/local/lib/python2.6/dist-packages/vmchecker/websutil.py\", line 61, in get_user_from_auth_files\n r = get_user_from_auth_file(vmpaths, username, password)\n File \"/usr/local/lib/python2.6/dist-packages/vmchecker/websutil.py\", line 77, in get_user_from_auth_file\n auth_dic = json.loads(auth_file_contents)['auth']\nKeyError: 'auth'\n"}<br>
<br></pre><pre style>O sa ma uit sa vad daca gasesc vinovatul :) <br></pre><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/10/10 Mihai Carabas <span dir="ltr"><<a href="mailto:mihai.carabas@gmail.com" target="_blank">mihai.carabas@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Am adăugat vmchecker-request și pe Mihai Carabaș la discuție.<br>
<br></blockquote></div><div>Ieri pe zi mergea. Vali, ai vreo parere despre problema? </div><div><br></div></div></div></div>
<br>_______________________________________________<br>
vmchecker-request mailing list<br>
<a href="mailto:vmchecker-request@cursuri.cs.pub.ro">vmchecker-request@cursuri.cs.pub.ro</a><br>
<a href="http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/vmchecker-request" target="_blank">http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/vmchecker-request</a><br>
<br></blockquote></div><br></div>