vorta icon indicating copy to clipboard operation
vorta copied to clipboard

Error in Extract dialog

Open Golddouble opened this issue 1 year ago • 10 comments

Uncaught exception, please file a report with this text at
https://github.com/borgbase/vorta/issues/new
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/vorta/views/partials/treemodel.py", line 987, in lessThan
    data2 = self.choose_data(right)
            ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/vorta/views/extract_dialog.py", line 251, in choose_data
    return item.data.health
           ^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'data'

MX-Linux 23 Xfce Vorta 0.8.12; Borg: 1.2.4

The error happens, when I choose extract -> tree, simpified -> and try to check Firefox-Profile/subfolder grafik

If I use the not simplified tree it works.

(It works then, but nevertheless as already reported a year ago: It's very slow!! compared with the older version)

Thank you.

Golddouble avatar Oct 20 '24 12:10 Golddouble

vorta.log.zip

Golddouble avatar Oct 20 '24 12:10 Golddouble

Vorta 0.8.12; Borg: 1.2.4

Very old version. Have you tried the latest version? https://github.com/borgbase/vorta/releases/tag/v0.10.0-beta1

m3nu avatar Oct 20 '24 13:10 m3nu

No, newer versions are not in the MX-Repo to install.

Golddouble avatar Oct 20 '24 14:10 Golddouble

Same issue with ... – Vorta 0.9.1 – Borg 1.4.0

grafik

Golddouble avatar Oct 27 '24 12:10 Golddouble

What details do you need?

Golddouble avatar Oct 27 '24 18:10 Golddouble

Have you verified if the error still happens in the current master branch? I see the function already changed and shouldn't return None, as seen in the error: https://github.com/borgbase/vorta/blob/master/src/vorta/views/extract_dialog.py#L264

If yes, I'll need the line that is output by Borg for that file. Since I don't have your files to test locally.

m3nu avatar Oct 28 '24 06:10 m3nu

What do you mean with "master branch"? Do you mean, I should somehow change the code of my Vorta version? I can not do that. I am not so skilled. Last version of Vorta in my reopsitory is 0.9.1.. I can not test the beta. Or is it enough to give you again a new log.zip from version 0.9.1 ?

Golddouble avatar Oct 28 '24 06:10 Golddouble

You gave me the link ... https://github.com/borgbase/vorta/blob/master/src/vorta/views/extract_dialog.py#L264 .... are you trying to say that the code section def choose_data(self, index: QModelIndex):

... has changed. And is now different from the code section in version 0.9.1 ? I can not find a difference. It's still the same code in this section.

Thank you for your endeavours.

Golddouble avatar Oct 29 '24 08:10 Golddouble

@Golddouble I just uploaded 0.10.0 (and 0.10.1) to Debian, and this will show up in MX Linux at some point. You may be able to expedite this process by filing an MX Linux bug, linking to this Vorta github issue, and mentioning that the bug should be fixed in the newest releases of Vorta.

sten0 avatar Nov 11 '24 01:11 sten0

Thank you.

Golddouble avatar Nov 11 '24 14:11 Golddouble