Bench Manager error - UnicodeDecodeError: ‘ascii’ codec can’t decode byte

after successful installation of Bench manager, when i try to press on sync it gives this error

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 22, in savedocs
doc.save()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 259, in save
return self._save(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 293, in _save
self.run_before_save_methods()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 862, in run_before_save_methods
self.run_method(“validate”)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 758, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 1027, in composer
return composed(self, method, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 1010, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 752, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/bench_manager/bench_manager/bench_manager/doctype/bench_settings/bench_settings.py”, line 29, in validate
sync_all(in_background=True)
File “/home/frappe/frappe-bench/apps/bench_manager/bench_manager/bench_manager/doctype/bench_settings/bench_settings.py”, line 223, in sync_all
sync_sites()
File “/home/frappe/frappe-bench/apps/bench_manager/bench_manager/bench_manager/doctype/bench_settings/bench_settings.py”, line 63, in sync_sites
site_dirs = update_site_list()
File “/home/frappe/frappe-bench/apps/bench_manager/bench_manager/bench_manager/doctype/bench_settings/bench_settings.py”, line 114, in update_site_list
for root, dirs, files in os.walk(".", topdown=True):
File “/home/frappe/frappe-bench/env/lib/python2.7/os.py”, line 296, in walk
for x in walk(new_path, topdown, onerror, followlinks):
File “/home/frappe/frappe-bench/env/lib/python2.7/os.py”, line 296, in walk
for x in walk(new_path, topdown, onerror, followlinks):
File “/home/frappe/frappe-bench/env/lib/python2.7/os.py”, line 296, in walk
for x in walk(new_path, topdown, onerror, followlinks):
File “/home/frappe/frappe-bench/env/lib/python2.7/os.py”, line 286, in walk
if isdir(join(top, name)):
File “/home/frappe/frappe-bench/env/lib/python2.7/posixpath.py”, line 73, in join
path += ‘/’ + b
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xd9 in position 1: ordinal not in range(128)

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 62, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 939, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 22, in savedocs
doc.save()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 259, in save
return self._save(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 293, in _save
self.run_before_save_methods()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 862, in run_before_save_methods
self.run_method(“validate”)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 758, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 1027, in composer
return composed(self, method, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 1010, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 752, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/bench_manager/bench_manager/bench_manager/doctype/bench_settings/bench_settings.py”, line 29, in validate
sync_all(in_background=True)
File “/home/frappe/frappe-bench/apps/bench_manager/bench_manager/bench_manager/doctype/bench_settings/bench_settings.py”, line 223, in sync_all
sync_sites()
File “/home/frappe/frappe-bench/apps/bench_manager/bench_manager/bench_manager/doctype/bench_settings/bench_settings.py”, line 63, in sync_sites
site_dirs = update_site_list()
File “/home/frappe/frappe-bench/apps/bench_manager/bench_manager/bench_manager/doctype/bench_settings/bench_settings.py”, line 114, in update_site_list
for root, dirs, files in os.walk(".", topdown=True):
File “/home/frappe/frappe-bench/env/lib/python2.7/os.py”, line 296, in walk
for x in walk(new_path, topdown, onerror, followlinks):
File “/home/frappe/frappe-bench/env/lib/python2.7/os.py”, line 296, in walk
for x in walk(new_path, topdown, onerror, followlinks):
File “/home/frappe/frappe-bench/env/lib/python2.7/os.py”, line 296, in walk
for x in walk(new_path, topdown, onerror, followlinks):
File “/home/frappe/frappe-bench/env/lib/python2.7/os.py”, line 286, in walk
if isdir(join(top, name)):
File “/home/frappe/frappe-bench/env/lib/python2.7/posixpath.py”, line 73, in join
path += ‘/’ + b
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xd9 in position 1: ordinal not in range(128)

I guess it is relater to python encoding problem but i cant seem to find a solution and i have not messesd with any encoding option what so ever since erpnext installation on my server since 6 month ago, any help, thanks

Goto sites directory and put output for ls -l

total 32
drwxrwxr-x 7 frappe frappe 4096 Feb 10 18:33 xxxx.xxxxxxxx.com
-rw-rw-r-- 1 frappe frappe 86 Sep 10 2017 apps.txt
drwxrwxr-x 4 frappe frappe 4096 Apr 26 12:37 assets
drwxrwxr-x 7 frappe frappe 4096 Apr 28 18:50 bench.xxxx.xxxxxxxx.com
-rw-rw-r-- 1 frappe frappe 501 Dec 28 09:05 common_site_config.json
-rw-rw-r-- 1 frappe frappe 26 Jul 18 2017 currentsite.txt
drwxrwxr-x 7 frappe frappe 4096 Sep 6 2017 erp.xxxx.xxxxxxxx.com
drwxrwxr-x 7 frappe frappe 4096 Sep 8 2017 eud.xxxx.xxxxxxxx.com

i just xxxxx my site but its name is in english letters, not anything else

This search https://discuss.erpnext.com/search?q=for%20root%2C%20dirs%2C%20files%20in%20os.walk("."%2C%20topdown%3DTrue)%3A

may help make sense of your issue?