Bug 1212522 - Package vorta fails to start
Summary: Package vorta fails to start
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Other (show other bugs)
Version: Leap 15.6
Hardware: x86-64 openSUSE Leap 15.5
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Antonio Larrosa
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-19 19:56 UTC by Sergi Jimenez
Modified: 2024-05-30 22:43 UTC (History)
6 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergi Jimenez 2023-06-19 19:56:37 UTC
Vorta's currently available version, 0.8.10, from the Main Repository, requires a newer Python version.

The Python version installed by default is 3.6, package version 3.6.15-150300.10.48.1 (python3-base).

Upstream set the minimum required to 3.7:

https://github.com/borgbase/vorta/blob/v0.8.10/setup.cfg#L38

As it is right now, when trying to start Vorta, it prints the following error:

Traceback (most recent call last):
  File "/usr/bin/vorta", line 11, in <module>
    load_entry_point('vorta==0.8.10', 'gui_scripts', 'vorta')()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()   
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.6/site-packages/vorta/__main__.py", line 9, in <module>
    from vorta.store.connection import init_db
  File "/usr/lib/python3.6/site-packages/vorta/store/connection.py", line 6, in <module>
    from .migrations import run_migrations
  File "/usr/lib/python3.6/site-packages/vorta/store/migrations.py", line 4, in <module>
    from .models import (                                                  
  File "/usr/lib/python3.6/site-packages/vorta/store/models.py", line 11, in <module>
    from vorta.utils import slugify
  File "/usr/lib/python3.6/site-packages/vorta/utils.py", line 76, in <module>
    def match(pattern: re.Pattern, path: str):

Changing the method signature doesn't really fix the problem as there are other imports in different modules that are based on the Python 3.7 requirement.
Comment 1 Sergi Jimenez 2023-06-19 20:01:07 UTC
It seems the latest version supporting Python 3.6 would be Vorta 0.7.8

https://github.com/borgbase/vorta/blob/v0.7.8/setup.cfg#L34
Comment 2 Iakov Karpov 2023-07-06 08:29:17 UTC
It happens to me as well. IIRC, a similar problem was fixed for Leap 15.4 before.
Comment 3 Matthias Bach 2023-09-08 20:33:04 UTC
Just ran into the same issue. The functionality used was only added in Python 3.7. Thus, Vorta either needs to depend on newer Python packages or revert to an older version.

Is there anything we can do to help drive this issue to resolution?
Comment 4 Matthias Bach 2023-09-08 20:36:51 UTC
The Leap 15.4 issue referenced was likely bug 1199080. 

Antonio, any chance we can apply the same fix for Leap 15.5?
Comment 5 Iakov Karpov 2023-10-29 08:37:30 UTC
It is the end of October, and Vorta is STILL broken. I believe that broken Backup software should be a critical bug.
Comment 6 Cruiz 2024-04-29 08:05:21 UTC
The problem also exists for 15.6 This is really annoying! Here a non-functional package is delivered as part of the distribution.
Comment 7 andreas bittner 2024-05-17 18:21:19 UTC
me being on 15.5 x64 with:

-------------
rpm -qi vorta
Name        : vorta
Version     : 0.8.10
Release     : bp155.1.5
Architecture: noarch
Install Date: Wed 20 Mar 2024 04:48:05 PM CET
Group       : Productivity/Archiving/Backup
Size        : 2042372
License     : GPL-3.0-only
Signature   : RSA/SHA512, Mon 22 May 2023 02:08:56 PM CEST, Key ID 8a49eb0325db7ae0
Source RPM  : vorta-0.8.10-bp155.1.5.src.rpm
Build Date  : Mon 22 May 2023 02:08:48 PM CEST
Build Host  : sheep84
Relocations : (not relocatable)
Packager    : https://bugs.opensuse.org
Vendor      : openSUSE
URL         : https://github.com/borgbase/vorta
Summary     : Desktop Backup Client based on BorgBackup
-------------

Information for package vorta:
------------------------------
Repository     : openSUSE:Leap:15.5
Name           : vorta
Version        : 0.8.10-bp155.1.5
Arch           : noarch
Vendor         : openSUSE
Installed Size : 1.9 MiB
Installed      : Yes
Status         : up-to-date
Source package : vorta-0.8.10-bp155.1.5.src
Upstream URL   : https://github.com/borgbase/vorta
Summary        : Desktop Backup Client based on BorgBackup
Description    : 
    Vorta is a backup client for Linux desktops. It integrates BorgBackup with
    the desktop environment to protect data from disk failure,
    ransomware and theft.
------------

just wanted to try borgbackup and vorta today on a 15.5, and found the startup problems and this bugreport.


-------------

abittner@localhost:~> /usr/bin/vorta 
Traceback (most recent call last):
  File "/usr/bin/vorta", line 11, in <module>
    load_entry_point('vorta==0.8.10', 'gui_scripts', 'vorta')()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python3.6/site-packages/vorta/__main__.py", line 9, in <module>
    from vorta.store.connection import init_db
  File "/usr/lib/python3.6/site-packages/vorta/store/connection.py", line 6, in <module>
    from .migrations import run_migrations
  File "/usr/lib/python3.6/site-packages/vorta/store/migrations.py", line 4, in <module>
    from .models import (
  File "/usr/lib/python3.6/site-packages/vorta/store/models.py", line 11, in <module>
    from vorta.utils import slugify
  File "/usr/lib/python3.6/site-packages/vorta/utils.py", line 76, in <module>
    def match(pattern: re.Pattern, path: str):
AttributeError: module 're' has no attribute 'Pattern'
-------------

too bad this is an official 15.5 package but broken? is it still broken with 15.6 as well?
thanks.
Comment 8 andreas bittner 2024-05-18 13:59:56 UTC
wondering why this bug is about 15.6 to begin with? but I can repro today with 15.6
-----------

rpm -qi vorta
Name        : vorta
Version     : 0.8.10
Release     : bp156.2.2
Architecture: noarch
Install Date: Sat 18 May 2024 11:23:18 AM CEST
Group       : Productivity/Archiving/Backup
Size        : 2044394
License     : GPL-3.0-only
Signature   : RSA/SHA512, Mon 24 Jul 2023 09:35:01 AM CEST, Key ID 8a49eb0325db7ae0
Source RPM  : vorta-0.8.10-bp156.2.2.src.rpm
Build Date  : Mon 24 Jul 2023 09:34:55 AM CEST
Build Host  : goat50
Relocations : (not relocatable)
Packager    : https://bugs.opensuse.org
Vendor      : openSUSE
URL         : https://github.com/borgbase/vorta
Summary     : Desktop Backup Client based on BorgBackup
Description :
Vorta is a backup client for Linux desktops. It integrates BorgBackup with
the desktop environment to protect data from disk failure,
ransomware and theft.
Distribution: SUSE Linux Enterprise 15 SP6

-------------

Information for package vorta:
------------------------------
Repository     : openSUSE-Leap-15.6-Oss
Name           : vorta
Version        : 0.8.10-bp156.2.2
Arch           : noarch
Vendor         : openSUSE
Installed Size : 1.9 MiB
Installed      : Yes
Status         : up-to-date
Source package : vorta-0.8.10-bp156.2.2.src
Upstream URL   : https://github.com/borgbase/vorta
Summary        : Desktop Backup Client based on BorgBackup

----------

this 15.6 fresh and only being on default repos for this 15.6 nothing fancy at all.
thanks for hopefully fixing this on 15.6 and 15.5
Comment 9 Matthias Bach 2024-05-22 13:53:10 UTC
This was broken starting in 15.5 and wasn't fixed for 15.6. The irony is that for a long time now there is already a working version for 15.5 and 15.6 in the `home:ecsos:Backup` project. And, unless I overlooked something that's pulled in from devel:languages:python:backports on my system, that version doesn't need anything that's not already in the main distro.
Comment 10 Max Lin 2024-05-23 06:03:18 UTC
If there is a working version anyone can submit it to Leap 15. I have give home:ecsos:Backup/vorta a try which converted build with python 3.11, however it works only with d:l:p:backports but not works with official Backports:SLE-15-SP6 project because missing build dependencies in Leap 15.6: nothing provides python311-APScheduler < 4.0, nothing provides python311-QDarkStyle, nothing provides python311-setuptools-git 

I'm not so sure it can be solved before GA, eg. setuptools-git is from SLE15 it needs some time to get it updated to SLE15. An alternative solution is downgrade it to the latest version supporting python 3.6 for now. Of course, we can have new version via maintenance in case those dependency has ready in maintenance also. What do you think?
Comment 11 Max Lin 2024-05-23 06:39:52 UTC
In the meanwhile I'll ask Lubos if we can fork python-setuptools-git for Leap 15.6.
Comment 12 andreas bittner 2024-05-23 06:43:57 UTC
can we have this for 15.5 as well as its still the current leap and its broken there apparently also all the time? thanks a lot.
Comment 13 andreas bittner 2024-05-30 22:43:27 UTC
a new package of vorta came on 15.6 today. seems to start now and show its gui. doesnt crash any more.

---------

rpm -qi vorta 
Name        : vorta
Version     : 0.9.1
Release     : bp156.1.1
Architecture: noarch
Install Date: Thu 30 May 2024
Group       : Productivity/Archiving/Backup
Size        : 2312513
License     : GPL-3.0-only
Signature   : RSA/SHA512, Fri 24 May 2024 01:11:36 PM CEST, Key ID 8a49eb0325db7ae0
Source RPM  : vorta-0.9.1-bp156.1.1.src.rpm
Build Date  : Fri 24 May 2024 01:11:30 PM CEST
Build Host  : i04-ch1c
Relocations : (not relocatable)
Packager    : https://bugs.opensuse.org
Vendor      : openSUSE
URL         : https://github.com/borgbase/vorta
Summary     : Desktop Backup Client based on BorgBackup

-------

Information for package vorta:
------------------------------
Repository     : Main Repository
Name           : vorta
Version        : 0.9.1-bp156.1.1
Arch           : noarch
Vendor         : openSUSE
Installed Size : 2.2 MiB
Installed      : Yes
Status         : up-to-date
Source package : vorta-0.9.1-bp156.1.1.src
Upstream URL   : https://github.com/borgbase/vorta
Summary        : Desktop Backup Client based on BorgBackup

---------

thank you a lot for 15.6 fix.
15.5 still possible?

thanks.