protocollabs / hippod

A Test Aggregator for Distributed & Heterogeneous Test Environments
https://hgn.github.io/hippod/
MIT License
0 stars 4 forks source link

Tooooo many errors, giving up .. ;-) #66

Closed hgn closed 7 years ago

hgn commented 7 years ago
Jan 20 18:01:41 lx-02-06 python3[2162]:   File "/usr/local/lib/python3.5/dist-packages/aiohttp/web_server.py", line 61, in handle_request
Jan 20 18:01:41 lx-02-06 python3[2162]:     resp = yield from self._handler(request)
Jan 20 18:01:41 lx-02-06 python3[2162]:   File "/usr/local/lib/python3.5/dist-packages/aiohttp/web.py", line 249, in _handle
Jan 20 18:01:41 lx-02-06 python3[2162]:     resp = yield from handler(request)
Jan 20 18:01:41 lx-02-06 python3[2162]:   File "/usr/share/hippod/hippod/aiohttp_index.py", line 47, in index_handler
Jan 20 18:01:41 lx-02-06 python3[2162]:     return await handler(request)
Jan 20 18:01:41 lx-02-06 python3[2162]:   File "/usr/share/hippod/hippod/api_object_post.py", line 358, in handle
Jan 20 18:01:41 lx-02-06 python3[2162]:     data = try_adding_xobject(app, xobj)
Jan 20 18:01:41 lx-02-06 python3[2162]:   File "/usr/share/hippod/hippod/api_object_post.py", line 333, in try_adding_xobject
Jan 20 18:01:41 lx-02-06 python3[2162]:     update_attachment_achievement(app, sha_major, sha_minor, xobj)
Jan 20 18:01:41 lx-02-06 python3[2162]:   File "/usr/share/hippod/hippod/api_object_post.py", line 252, in update_attachment_achievement
Jan 20 18:01:41 lx-02-06 python3[2162]:     write_achievement_file(app, sha_major, sha_minor, current_achievements_no, a)
Jan 20 18:01:41 lx-02-06 python3[2162]:   File "/usr/share/hippod/hippod/api_object_post.py", line 106, in write_achievement_file
Jan 20 18:01:41 lx-02-06 python3[2162]:     hippod.mime_data_db.save_object_item_data_list(app, achievement, path, 'achievement')
Jan 20 18:01:41 lx-02-06 python3[2162]:   File "/usr/share/hippod/hippod/mime_data_db.py", line 181, in save_object_item_data_list
Jan 20 18:01:41 lx-02-06 python3[2162]:     save_object_item_data(app, data, source_path, source_type)
Jan 20 18:01:41 lx-02-06 python3[2162]:   File "/usr/share/hippod/hippod/mime_data_db.py", line 164, in save_object_item_data
Jan 20 18:01:41 lx-02-06 python3[2162]:     del data['image-name']
Jan 20 18:01:41 lx-02-06 python3[2162]: KeyError: 'image-name'
Jan 20 18:01:41 lx-02-06 python3[2162]: 10.14.0.70 - - [20/Jan/2017:17:01:41 +0000] "POST /api/v1/object HTTP/1.1" 500 141 "-" "Python-urllib/2.7"
Jan 20 18:01:41 lx-02-06 python3[2162]: Exception in callback execute_snippet(<Application 0x7f36bfdad048>, 'f5bd77f8c214...61471047a25c3', {'data': 'IyEvdXNyL2Jp...gICAgICAgICA=', 'image-name': 'snippet.png', 'mime-type': 'x-snippet-py...-mathplot-png', 'name': 'per0.png'}, '/var/lib/hip...evements/0.db', 'achievement')() at /usr/share/hippod/hippod/snippet_db.py:48
Jan 20 18:01:41 lx-02-06 python3[2162]: handle: <Handle execute_snippet(<Application 0x7f36bfdad048>, 'f5bd77f8c214...61471047a25c3', {'data': 'IyEvdXNyL2Jp...gICAgICAgICA=', 'image-name': 'snippet.png', 'mime-type': 'x-snippet-py...-mathplot-png', 'name': 'per0.png'}, '/var/lib/hip...evements/0.db', 'achievement')() at /usr/share/hippod/hippod/snippet_db.py:48>
Jan 20 18:01:41 lx-02-06 python3[2162]: Traceback (most recent call last):
Jan 20 18:01:41 lx-02-06 python3[2162]:   File "/usr/lib/python3.5/asyncio/events.py", line 125, in _run
Jan 20 18:01:41 lx-02-06 python3[2162]:     self._callback(*self._args)
Jan 20 18:01:41 lx-02-06 python3[2162]:   File "/usr/share/hippod/hippod/snippet_db.py", line 69, in execute_snippet
Jan 20 18:01:41 lx-02-06 python3[2162]:     exchange_entry(app, sha, data, source_path, source_type)
Jan 20 18:01:41 lx-02-06 python3[2162]:   File "/usr/share/hippod/hippod/snippet_db.py", line 26, in exchange_entry
Jan 20 18:01:41 lx-02-06 python3[2162]:     with open(path, 'r') as f: