[Python-apps-team] Bug#975494: vdirsyncer: broken with python 3.9
gregor herrmann
gregoa at debian.org
Sun Nov 22 21:20:38 GMT 2020
Package: vdirsyncer
Version: 0.16.7-2
Severity: important
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
vdirsyncer worked fine until yesterday, today it failed. What has
changed? python 3.8 -> python 3.9.
% python3.8 /usr/bin/vdirsyncer sync && echo $?
Syncing <a calendar pair>/<a calendar name>
Syncing <a contacts pair>/<a contacts name>
0
% python3.9 /usr/bin/vdirsyncer sync && echo $?
Syncing <a contacts pair>/<a contacts name>
Syncing <a calendar pair>/<a calendar name>
error: Unknown error occured for <a contacts pair>/<a contacts name>: 'xml.etree.ElementTree.Element' object has no attribute 'getiterator'
error: Use `-vdebug` to see the full traceback.
error: Unknown error occured for <a calendar pair>/<a calendar name>: 'xml.etree.ElementTree.Element' object has no attribute 'getiterator'
error: Use `-vdebug` to see the full traceback.
error: 2 out of 4 tasks failed.
With -vdebug I see lot's of xml, and then at the end:
debug: <response>
debug: <href>/gregoa/home/22289030-6ADE-4142-811B-D5D4FCA55F29.ics</href>
debug: <propstat>
debug: <prop>
debug: <resourcetype/>
debug: <getcontenttype>text/calendar; component=vevent</getcontenttype>
debug: <getetag>"19f650ff8e93d96b195b4b7310c84d40"</getetag>
debug: </prop>
debug: <status>HTTP/1.1 200 OK</status>
debug: </propstat>
debug: </response>
debug: </multistatus>
debug: Already normalized: '<calendar>'
error: Unknown error occured for <a calendar pair>/<a calendar name>: 'xml.etree.ElementTree.Element' object has no attribute 'getiterator'
error: Use `-vdebug` to see the full traceback.
debug: File "/usr/lib/python3/dist-packages/vdirsyncer/cli/tasks.py", line 64, in sync_collection
debug: sync.sync(
debug: File "/usr/lib/python3/dist-packages/vdirsyncer/sync/__init__.py", line 136, in sync
debug: b_nonempty = b_info.prepare_new_status()
debug: File "/usr/lib/python3/dist-packages/vdirsyncer/sync/__init__.py", line 45, in prepare_new_status
debug: for href, etag in self.storage.list():
debug: File "/usr/lib/python3/dist-packages/vdirsyncer/storage/dav.py", line 795, in list
debug: for x in DAVStorage.list(self):
debug: File "/usr/lib/python3/dist-packages/vdirsyncer/storage/dav.py", line 637, in list
debug: for href, etag, _prop in rv:
debug: File "/usr/lib/python3/dist-packages/vdirsyncer/storage/dav.py", line 593, in _parse_prop_responses
debug: props = _merge_xml(props)
debug: File "/usr/lib/python3/dist-packages/vdirsyncer/storage/dav.py", line 125, in _merge_xml
debug: rv.extend(item.getiterator())
error: 2 out of 4 tasks failed.
Cheers,
gregor
- -- System Information:
Debian Release: bullseye/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 'oldoldstable'), (500, 'experimental'), (500, 'testing'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.9.0-1-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=de_AT.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
Versions of packages vdirsyncer depends on:
ii python3 3.9.0-3
ii python3-atomicwrites 1.4.0-1
ii python3-click 7.1.2-1
ii python3-click-log 0.2.1-2
ii python3-click-threading 0.4.4-2
ii python3-requests 2.24.0+dfsg-1
ii python3-requests-toolbelt 0.8.0-1.1
vdirsyncer recommends no packages.
Versions of packages vdirsyncer suggests:
pn python3-requests-oauthlib <none>
pn vdirsyncer-doc <none>
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAl+61iZfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgbYYA/5ATiLs2LGF4CYE22iLqW7e7Ct45ZuuslWt6H87PiHLF4blNsGcZ4eDINg
3aaGrBYaaLJToY1xwaMeu4ak1TXhFoTq842/7hPHtkBmaqCFfuqg2AzPqle/qFBu
ordDxf4EFRIp+xqYdhwhOU/J4BPx4+ADRlpGwUZpxassrQG6Szaa02oEW9cqs1c1
iPNgWZmBPDnUpYFUv7cKAZBHhVBYCgphcGSl+/t6I7GGHiBLALIDYMyW8mw2UmyL
muh5CIk6ZeKonfn1ViWYZgObU3fjZu6a+GO5QWY6OX6Jw2LYm1MXgSnOXyVifhdL
vjGKj9Bhm9tBSs4/3AT2ns5Amx8yrIA5Mp7FMQDfX/hQit49BFbXB8Z3WTnSK66m
y2LPu0pJGgNTaXKrkI7ImFqgMneTE3UwezZqkGxZ9Dc/GOIFnQlJy9l3N5Lv03Tt
OtbRP/08OYBSgAgSDUQZ6+Pzdip291+1zcAeMGJNtNd8G5zJfQtGrWan8t0jW9xl
G0iR+D3f4ZFutEwPNgNbFuv/4zVmUZV5ys3TG2QMn046QXuklO+Z+daO2W75vF91
XZ1As6qHgtBEgUM46lYk1VV73iL/pBl3T1z9rUuOBck4/7oIojHBUKlj1RNCuIYK
R/9p928ygegP/B6k1KdKHurur02x/WB/bLqm3g4ubNarP0yrgWA=
=wqvb
-----END PGP SIGNATURE-----
More information about the Python-apps-team
mailing list