Bug 2019501 - vdirsyncer is broken on fedora 35
Summary: vdirsyncer is broken on fedora 35
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: vdirsyncer
Version: 35
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Kaufmann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-02 16:58 UTC by Ulf Volmer
Modified: 2022-11-29 23:14 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-11-29 23:14:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ulf Volmer 2021-11-02 16:58:34 UTC
Description of problem:

vdirsyncer will not work at fedora 35

Version-Release number of selected component (if applicable):

0.16.8

How reproducible:

run vdirsyncer against a configured CardDAS/CalDAV source.

Steps to Reproduce:
1. vdirsyncer sync

Actual results:

[ulf@x1 ~]$ vdirsyncer sync
error: Unknown error occurred: unmatched ')' (<string>, line 1)
error: Use `-vdebug` to see the full traceback.
[ulf@x1 ~]$ vdirsyncer -vdebug sync
debug: Using 1 maximal workers.
error: Unknown error occurred: unmatched ')' (<string>, line 1)
error: Use `-vdebug` to see the full traceback.
debug:   File "/usr/lib/python3.10/site-packages/vdirsyncer/cli/__init__.py", line 30, in inner
debug:     f(*a, **kw)
debug:   File "/usr/lib/python3.10/site-packages/vdirsyncer/cli/__init__.py", line 145, in sync
debug:     with wq.join():
debug:   File "/usr/lib64/python3.10/contextlib.py", line 135, in __enter__
debug:     return next(self.gen)
debug:   File "/usr/lib/python3.10/site-packages/vdirsyncer/cli/utils.py", line 364, in join
debug:     with ui_worker.patch_click():
debug:   File "/usr/lib64/python3.10/contextlib.py", line 135, in __enter__
debug:     return next(self.gen)
debug:   File "/usr/lib/python3.10/site-packages/click_threading/__init__.py", line 144, in patch_click
debug:     with patch_ui_functions(wrapper):
debug:   File "/usr/lib64/python3.10/contextlib.py", line 135, in __enter__
debug:     return next(self.gen)
debug:   File "/usr/lib/python3.10/site-packages/click_threading/monkey.py", line 50, in patch_ui_functions
debug:     stub_f = eval('lambda {s}: {n}._real_click_fn({a})'

Expected results:

a sucessful sync

Additional info:

A installation of vdirsyncer using pip will work as expected:
[ulf@x1 ~]$ .venv/vdirsyncer/bin/pip freeze
atomicwrites==1.4.0
certifi==2021.10.8
charset-normalizer==2.0.7
click==8.0.3
click-log==0.3.2
click-threading==0.5.0
idna==3.3
requests==2.26.0
requests-toolbelt==0.9.1
urllib3==1.26.7
vdirsyncer==0.18.0

Comment 1 David Kaufmann 2021-11-02 19:04:34 UTC
I'm waiting for this on bug 1965964, I've re-requested this for fc35.

Comment 2 Michel Lind 2021-11-10 16:13:48 UTC
(In reply to David Kaufmann from comment #1)
> I'm waiting for this on bug 1965964, I've re-requested this for fc35.

Looks like installing python3-click-threading 0.5.0 from the other bug is enough to fix this!

Comment 3 Ulf Volmer 2021-11-10 22:21:17 UTC
Yes, I can confirm that this package fix the bug.
But an update of vdirsyncer would be also great...

Comment 4 David Kaufmann 2021-11-11 01:14:04 UTC
also done: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a2255016af

Comment 5 Ulf Volmer 2021-11-11 10:14:05 UTC
Many thanks.

Comment 6 Ben Cotton 2022-11-29 17:12:57 UTC
This message is a reminder that Fedora Linux 35 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 35 on 2022-12-13.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '35'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 35 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 7 David Kaufmann 2022-11-29 23:14:03 UTC
Ah, this was already fixed, but not closed. Closing.


Note You need to log in before you can comment on or make changes to this bug.