Clear log message in case of uploading marks
I tried to upload marks using Marks->upload. Something has gone wrong and there was an exception "ValueError: Unsupported mark data type: <class 'NoneType'>". After some time Eugeny and I could realize, that Bridge expects single mark, and the archive of them should be uploaded with Manager Tools. The web description "Unknown error" may stay the same (as it is not so easy to change), but the internal log description should be more clear.
Updated by Evgeny Novikov about 3 years ago
Let's fix one more related issue in addition:
invalid literal for int() with base 10: '2.json' Traceback (most recent call last): File "/home/novikov/work/klever/bridge/marks/views.py", line 401, in upload_marks res = UploadMark(request.user, f) File "/home/novikov/work/klever/bridge/marks/Download.py", line 125, in __init__ self.mark = self.__upload_mark(archive) File "/home/novikov/work/klever/bridge/marks/Download.py", line 144, in __upload_mark version_id = int(file_name.replace('version-', '')) ValueError: invalid literal for int() with base 10: '2.json'