Recent change creating error in a file of master branch of frappe

I recently clone master branch of frappe and it was all working fine, I again cloned it but now error occurs
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/init.py”, line 83
def validate_email_address(email_str, throw=False):
^
IndentationError: unindent does not match any outer indentation level

And I checked this file was updated 2 hours ago so fix this issue.

1 Like

Updating node packages…
INFO:bench.utils:yarn install
yarn install v1.15.2
[1/4] Resolving packages…
success Already up-to-date.
Done in 0.43s.
Backing up sites…
Traceback (most recent call last):
File “/usr/lib/python2.7/runpy.py”, line 163, in _run_module_as_main
mod_name, _Error)
File “/usr/lib/python2.7/runpy.py”, line 102, in _get_module_details
loader = get_loader(mod_name)
File “/usr/lib/python2.7/pkgutil.py”, line 462, in get_loader
return find_loader(fullname)
File “/usr/lib/python2.7/pkgutil.py”, line 472, in find_loader
for importer in iter_importers(fullname):
File “/usr/lib/python2.7/pkgutil.py”, line 428, in iter_importers
import(pkg)
File “/opt/bench/erpnext/apps/frappe/frappe/init.py”, line 18, in
from .utils.jinja import (get_jenv, get_template, render_template, get_email_from_template, get_jloader)
File “/opt/bench/erpnext/apps/frappe/frappe/utils/init.py”, line 83
def validate_email_address(email_str, throw=False):
^
IndentationError: unindent does not match any outer indentation level

I have created a pull request

1 Like

Bench Start is not working.

@Khadija has submitted the fix. We just have to be patient now, and wait for the merge into master.

Same issue being discussed in this other thread today:
Is Installation working for Frappe Version 11.1.15? - #7 by brian_pond