Project

General

Profile

Actions

Bug #9081

closed

Uploading unsafe marks fail with unknown error

Added by Evgeny Novikov almost 6 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
High
Category:
Bridge
Target version:
Start date:
07/10/2018
Due date:
07/11/2019
% Done:

100%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

For instance, try to upload the attached unsafe marks. There isn't any error messages in any log files.

In ideal all new marks from the archive attached to #9080 should be uploaded without any errors. When uploading them there are plenty exceptions like:

Traceback (most recent call last):
  File "/home/novikov/work/klever/bridge/marks/Download.py", line 249, in __upload_all
    mark_type = UploadMark(self.user, fp).type
  File "/home/novikov/work/klever/bridge/marks/Download.py", line 159, in __init__
    self.mark = self.__upload_mark(archive)
  File "/home/novikov/work/klever/bridge/marks/Download.py", line 203, in __upload_mark
    version['tags'] = list(tags_in_db[tname] for tname in version['tags'])
  File "/home/novikov/work/klever/bridge/marks/Download.py", line 203, in <genexpr>
    version['tags'] = list(tags_in_db[tname] for tname in version['tags'])
KeyError: 'Patch'

Perhaps these exceptions also happen when uploading individual marks.

Most likely this is one more crucial regression to be fixed ASAP and backported to v1.0-stable, since before we didn't encounter such the errors.

Actions

Also available in: Atom PDF