Open DamienCassou opened 8 years ago
This bug is similar to https://github.com/scheibler/khard/issues/30
I have the same issue and also with the command pycardsyncer, after a quick search (see here) I found that adding the following two lines after the import sys
in both /usr/local/bin/pc_query
and /usr/local/bin/pycardsyncer
seems to resolve the problem:
reload(sys)
sys.setdefaultencoding('utf-8')
I guess that it is a dirty hotfix but for me it seems to fix the bug and I can finally sync and access my contacts again.
Pycarddav depends on vobject. The vobject project from http://vobject.skyhouseconsulting.com/ is dead. The version from @adieu seems to be ok as new dependency for pycarddav. The sligthly more recent version from @tBaxter breaks pycarddav: