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

UnicodeEncodeError: 'ascii' codec can't encode characters in position 68-70: ordinal not in range(128) #9

Open
rudamaia opened this issue Sep 17, 2015 · 0 comments

Comments

@rudamaia
Copy link

sudo python megafs.py ~/megafs/
Password:
Email [root]: [email protected]
Password:
Traceback (most recent call last):
File "megafs.py", line 130, in
fs = MegaFS(client)
File "megafs.py", line 24, in init
path = self.getpath(files, file_h)
File "megafs.py", line 40, in getpath
path = self.getpath(files, files[hash]['p']) + "/" + files[hash]['a']['n']
File "megafs.py", line 48, in getpath
self.hash2path[hash] = path.encode()
UnicodeEncodeError: 'ascii' codec can't encode characters in position 68-70: ordinal not in range(128)

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

1 participant