Source: radicale
Version: 0.9-1
Severity: normal
Running radicale with python3, I get the following tracebacks preventing
it from working:
Traceback (most recent call last):
File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File "/home/jelmer/Radicale/radicale/__init__.py", line 312, in __call__
self.collect_allowed_items(items, user)
File "/home/jelmer/Radicale/radicale/__init__.py", line 195, in
collect_allowed_items
if rights.authorized(user, item, "r"):
File "/home/jelmer/Radicale/radicale/rights/regex.py", line 111, in authorized
_read_from_sections(user or "", collection_url, permission))
File "/home/jelmer/Radicale/radicale/rights/regex.py", line 72, in
_read_from_sections
regex.readfp(StringIO(DEFINED_RIGHTS[rights_type]))
TypeError: initial_value must be unicode or None, not str
This doesn't happen when I run it using Python3.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]