vorta icon indicating copy to clipboard operation
vorta copied to clipboard

Backup diff issue

Open QuentiumYT opened this issue 2 years ago • 1 comments

Description

I ran a backup a week ago and now, selected both and clicked "Diff"

Reproduction

  • [X] I tried to reproduce the issue.
  • [X] I was able to reproduce the issue.

OS

Linux ubuntu 23.04

Version of Vorta

0.9.1-beta1 (last commit)

What did you install Vorta with?

Pip

Version of Borg

2.0.0b8.dev36+g91080397 (last commit)

Logs

2023-10-23 12:55:55,857 - root - CRITICAL - Uncaught exception, file a report at https://github.com/borgbase/vorta/issues/new/choose
Traceback (most recent call last):
  File "/home/quentin/.local/lib/python3.12/site-packages/vorta/views/diff_result.py", line 62, in run
    parse_diff_json(lines, self.model)
  File "/home/quentin/.local/lib/python3.12/site-packages/vorta/views/diff_result.py", line 299, in parse_diff_json
    QDateTime.fromString(change['old_ctime'], Qt.DateFormat.ISODateWithMs),
                         ~~~~~~^^^^^^^^^^^^^
KeyError: 'old_ctime'
QPainter::begin: A paint device can only be painted by one painter at a time.
QPainter::setCompositionMode: Painter not active
QBackingStore::endPaint() called with active painter; did you forget to destroy it or call QPainter::end() on it?
[1]    190740 segmentation fault (core dumped)  vorta

QuentiumYT avatar Oct 23 '23 10:10 QuentiumYT

Thanks for testing the cutting edge of both. We should definitely look into any changes to Borg 2.0 that need adjustment sin Vorta.

m3nu avatar Oct 23 '23 14:10 m3nu