Hello
Issues with bench manager not listing sites after reinstall. immediately after login i get error message below.
Traceback (most recent call last):
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 22, in savedocs
doc.save()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 256, in save
return self._save(*args, **kwargs)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 290, in _save
self.run_before_save_methods()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 859, in run_before_save_methods
self.run_method(“validate”)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 755, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 1024, in composer
return composed(self, method, *args, **kwargs)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 1007, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 749, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/ubuntu/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/ubuntu/frappe-bench/apps/bench_manager/bench_manager/bench_manager/doctype/bench_settings/bench_settings.py”, line 223, in sync_all
sync_sites()
File “/home/ubuntu/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/ubuntu/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/ubuntu/frappe-bench/env/lib/python2.7/os.py”, line 294, in walk
for x in walk(new_path, topdown, onerror, followlinks):
File “/home/ubuntu/frappe-bench/env/lib/python2.7/os.py”, line 294, in walk
for x in walk(new_path, topdown, onerror, followlinks):
File “/home/ubuntu/frappe-bench/env/lib/python2.7/os.py”, line 294, in walk
for x in walk(new_path, topdown, onerror, followlinks):
File “/home/ubuntu/frappe-bench/env/lib/python2.7/os.py”, line 284, in walk
if isdir(join(top, name)):
File “/home/ubuntu/frappe-bench/env/lib/python2.7/posixpath.py”, line 80, in join
path += ‘/’ + b
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xc3 in position 14: ordinal not in range(128)
Traceback (most recent call last):
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/app.py”, line 62, in application
response = frappe.handler.handle()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/init.py”, line 939, in call
return fn(*args, **newargs)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 22, in savedocs
doc.save()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 256, in save
return self._save(*args, **kwargs)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 290, in _save
self.run_before_save_methods()
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 859, in run_before_save_methods
self.run_method(“validate”)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 755, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 1024, in composer
return composed(self, method, *args, **kwargs)
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 1007, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/ubuntu/frappe-bench/apps/frappe/frappe/model/document.py”, line 749, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/ubuntu/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/ubuntu/frappe-bench/apps/bench_manager/bench_manager/bench_manager/doctype/bench_settings/bench_settings.py”, line 223, in sync_all
sync_sites()
File “/home/ubuntu/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/ubuntu/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/ubuntu/frappe-bench/env/lib/python2.7/os.py”, line 294, in walk
for x in walk(new_path, topdown, onerror, followlinks):
File “/home/ubuntu/frappe-bench/env/lib/python2.7/os.py”, line 294, in walk
for x in walk(new_path, topdown, onerror, followlinks):
File “/home/ubuntu/frappe-bench/env/lib/python2.7/os.py”, line 294, in walk
for x in walk(new_path, topdown, onerror, followlinks):
File “/home/ubuntu/frappe-bench/env/lib/python2.7/os.py”, line 284, in walk
if isdir(join(top, name)):
File “/home/ubuntu/frappe-bench/env/lib/python2.7/posixpath.py”, line 80, in join
path += ‘/’ + b
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xc3 in position 14: ordinal not in range(128)