Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError when backup #1178

Open
geekspeng opened this issue Jul 8, 2018 · 3 comments
Open

UnicodeDecodeError when backup #1178

geekspeng opened this issue Jul 8, 2018 · 3 comments

Comments

@geekspeng
Copy link

$ mackup backup
Traceback (most recent call last):
File "/usr/local/Cellar/mackup/0.8.18/libexec/bin/mackup", line 9, in
load_entry_point('mackup==0.8.18', 'console_scripts', 'mackup')()
File "/usr/local/Cellar/mackup/0.8.18/libexec/lib/python2.7/site-packages/mackup/main.py", line 65, in main
app_db = ApplicationsDatabase()
File "/usr/local/Cellar/mackup/0.8.18/libexec/lib/python2.7/site-packages/mackup/appsdb.py", line 34, in init
if config.read(config_file):
File "/Users/geekspeng/Library/Python/2.7/lib/python/site-packages/backports/configparser/init.py", line 705, in read
self._read(fp, filename)
File "/Users/geekspeng/Library/Python/2.7/lib/python/site-packages/backports/configparser/init.py", line 1109, in _read
optname = self.optionxform(optname.rstrip())
UnicodeEncodeError: 'ascii' codec can't encode character u'\xdc' in position 28: ordinal not in range(128)

@gustavobittencourt
Copy link

I am having this same error.

@gudzenkov
Copy link

gudzenkov commented Aug 8, 2018

the same error, both with brew or pip installations

Python 2.7.10

@tildebyte
Copy link

You've pip-installed configparser at some point (or something has pulled it in as a dependency). pip-uninstall it and try again (worked for me).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants