Package: xandikos
Severity: wishlist

Dear Maintainer,

I was trying to enable all of python-caldav's tests and it uses xandikos as a
CalDAV server to test against.

Unfortunately a number of tests fail with a traceback like the one below. I
suspect caldav's tests are implemented against the 0.1.0 version of xandikos
available on pypi while Debian is still on 0.0.11.

Thank you,
Diane

127.0.0.1 - - [03/Mar/2020 06:07:27] "DELETE
/sometestuser/calendars/pythoncaldav-test HTTP/1.1" 404 78
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 947, in
get_property_from_element
    get_value_ext = prop.get_value_ext
AttributeError: 'PrincipalAddressProperty' object has no attribute
'get_value_ext'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.8/wsgiref/handlers.py", line 137, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 1791, in
__call__
    return do.handle(environ, start_response, self)
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 273, in
wrapper
    responses = req_fn(self, environ, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 1570, in
handle
    ret.append(Status(href, '200 OK', propstat=list(propstat)))
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 1000, in
get_all_properties
    ps = get_property_from_name(href, resource, properties, name, environ)
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 919, in
get_property_from_name
    return get_property_from_element(
  File "/usr/lib/python3/dist-packages/xandikos/webdav.py", line 949, in
get_property_from_element
    prop.get_value(href, resource, ret, environ)
  File "/usr/lib/python3/dist-packages/xandikos/carddav.py", line 163, in
get_value
    resource.get_principal_address(), href))
AttributeError: 'PrincipalBare' object has no attribute 'get_principal_address'



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'oldstable-debug'), (500, 
'testing'), (500, 'stable'), (110, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xandikos depends on:
ii  python3             3.7.5-3
ii  python3-defusedxml  0.6.0-2
ii  python3-dulwich     0.19.15-1
ii  python3-icalendar   4.0.3-3
ii  python3-jinja2      2.10.1-1

xandikos recommends no packages.

xandikos suggests no packages.

Reply via email to