Vorta does not launch

Since 2 or 3 days - I didn’t pay attention - Vorta (the GUI for Borg) stopped to work on my 2 laptops (Both running EOS with KDE and up-to-date)

When I run “vorta” in a terminal I get the bellow messages:

Launching vorta in terminal

Traceback (most recent call last):
File “/usr/lib/python3.9/site-packages/pkg_resources/init.py”, line 568, in _build_master
ws.require(requires)
File “/usr/lib/python3.9/site-packages/pkg_resources/init.py”, line 886, in require
needed = self.resolve(parse_requirements(requirements))
File “/usr/lib/python3.9/site-packages/pkg_resources/init.py”, line 777, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (tzlocal 4.0.1 (/usr/lib/python3.9/site-packages), Requirement.parse(‘tzlocal~=2.0’), {‘apscheduler’})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/bin/vorta”, line 33, in
sys.exit(load_entry_point(‘vorta==0.7.8’, ‘gui_scripts’, ‘vorta’)())
File “/usr/bin/vorta”, line 25, in importlib_load_entry_point
return next(matches).load()
File “/usr/lib/python3.9/importlib/metadata.py”, line 77, in load
module = import_module(match.group(‘module’))
File “/usr/lib/python3.9/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1030, in _gcd_import
File “”, line 1007, in _find_and_load
File “”, line 986, in _find_and_load_unlocked
File “”, line 680, in _load_unlocked
File “”, line 850, in exec_module
File “”, line 228, in _call_with_frames_removed
File “/usr/lib/python3.9/site-packages/vorta/main.py”, line 10, in
from vorta.models import init_db
File “/usr/lib/python3.9/site-packages/vorta/models.py”, line 17, in
from vorta.utils import slugify
File “/usr/lib/python3.9/site-packages/vorta/utils.py”, line 21, in
from vorta.borg._compatibility import BorgCompatibility
File “/usr/lib/python3.9/site-packages/vorta/borg/_compatibility.py”, line 1, in
from pkg_resources import parse_version
File “/usr/lib/python3.9/site-packages/pkg_resources/init.py”, line 3243, in
def _initialize_master_working_set():
File “/usr/lib/python3.9/site-packages/pkg_resources/init.py”, line 3226, in _call_aside
f(*args, **kwargs)
File “/usr/lib/python3.9/site-packages/pkg_resources/init.py”, line 3255, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File “/usr/lib/python3.9/site-packages/pkg_resources/init.py”, line 570, in _build_master
return cls._build_from_requirements(requires)
File “/usr/lib/python3.9/site-packages/pkg_resources/init.py”, line 583, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File “/usr/lib/python3.9/site-packages/pkg_resources/init.py”, line 772, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The ‘tzlocal~=2.0’ distribution was not found and is required by apscheduler

Now I believe there is a similar thread by @Rudi , with answers from @joekamprad , but as it is in German I can´t read it. :upside_down_face:. If @joekamprad knows the issue, can it be translated in English here ? (And if not… any other help is very welcome). Thanks.

I just had a quick look at the thread you mentioned. Obviously downgrading python-tzlocal does the trick.

sudo downgrade python-tzlocal 
[sudo] Passwort für *****: 
Available packages (community):

    1)  python-tzlocal    1.5.1  4  remote
    2)  python-tzlocal    2.0.0  1  remote
    3)  python-tzlocal    2.0.0  2  remote
    4)  python-tzlocal    2.0.0  3  remote
    5)  python-tzlocal    2.1    1  remote
    6)  python-tzlocal    2.1    2  remote
-   7)  python-tzlocal    2.1    3  remote
-   8)  python-tzlocal    4.0    1  remote
+   9)  python-tzlocal    4.0.1  1  remote
+  10)  python-tzlocal    4.0.1  1  /var/cache/pacman/pkg

Just downgrade to a version prior to the latest. In the thread number 7 is recommended.

2 Likes

Yes, that was the solution. Downgrading to 2.1 and Vorta is running again. Thanks !

2 Likes

Good to see you reported it at the source already.

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.