Traceback (most recent call last):


 "/Users/umairsayed/Work/frappe-bench/apps/frappe/frappe/desk/form/save.py", line 22, in savedocs

doc.save()


 "/Users/umairsayed/Work/frappe-bench/apps/frappe/frappe/model/document.py", line 260, in save

return self._save(*args, **kwargs)


 "/Users/umairsayed/Work/frappe-bench/apps/frappe/frappe/model/document.py", line 283, in _save

self.insert()


 "/Users/umairsayed/Work/frappe-bench/apps/frappe/frappe/model/document.py", line 249, in insert

self.run_post_save_methods()


 "/Users/umairsayed/Work/frappe-bench/apps/frappe/frappe/model/document.py", line 898, in run_post_save_methods

self.run_method("on_update")


 "/Users/umairsayed/Work/frappe-bench/apps/frappe/frappe/model/document.py", line 765, in run_method

out = Document.hook(fn)(self, *args, **kwargs)


 "/Users/umairsayed/Work/frappe-bench/apps/frappe/frappe/model/document.py", line 1040, in composer

return composed(self, method, *args, **kwargs)


 "/Users/umairsayed/Work/frappe-bench/apps/frappe/frappe/model/document.py", line 1023, in runner

add_to_return_value(self, fn(self, *args, **kwargs))


 "/Users/umairsayed/Work/frappe-bench/apps/frappe/frappe/model/document.py", line 759, in <lambda>

fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)


 "/Users/umairsayed/Work/frappe-bench/apps/erpnext/erpnext/setup/doctype/company/company.py", line 90, in on_update

self.create_default_accounts()


 "/Users/umairsayed/Work/frappe-bench/apps/erpnext/erpnext/setup/doctype/company/company.py", line 135, in create_default_accounts

create_charts(self.name, self.chart_of_accounts, self.existing_company)


 "/Users/umairsayed/Work/frappe-bench/apps/erpnext/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py", line 56, in create_charts

_import_accounts(chart, None, None, root_account=True)


 "/Users/umairsayed/Work/frappe-bench/apps/erpnext/erpnext/accounts/doctype/account/chart_of_accounts/chart_of_accounts.py", line 50, in _import_accounts

account.insert()


 "/Users/umairsayed/Work/frappe-bench/apps/frappe/frappe/model/document.py", line 216, in insert

self.set_new_name()


 "/Users/umairsayed/Work/frappe-bench/apps/frappe/frappe/model/document.py", line 376, in set_new_name

set_new_name(self)


 "/Users/umairsayed/Work/frappe-bench/apps/frappe/frappe/model/naming.py", line 39, in set_new_name

doc.run_method("autoname")


 "/Users/umairsayed/Work/frappe-bench/apps/frappe/frappe/model/document.py", line 765, in run_method

out = Document.hook(fn)(self, *args, **kwargs)


 "/Users/umairsayed/Work/frappe-bench/apps/frappe/frappe/model/document.py", line 1040, in composer

return composed(self, method, *args, **kwargs)


 "/Users/umairsayed/Work/frappe-bench/apps/frappe/frappe/model/document.py", line 1023, in runner

add_to_return_value(self, fn(self, *args, **kwargs))


 "/Users/umairsayed/Work/frappe-bench/apps/frappe/frappe/model/document.py", line 759, in <lambda>

fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)


 "/Users/umairsayed/Work/frappe-bench/apps/erpnext/erpnext/accounts/doctype/account/account.py", line 23, in autoname

self.name = get_account_autoname(self.account_number, self.account_name, self.company)
NameError: global name 'get_account_autoname' is not defined
Traceback (most recent call last):


 "c:\python27\lib\runpy.py", line 162, in _run_module_as_main

"__main__", fname, loader, pkg_name)


 "c:\python27\lib\runpy.py", line 72, in _run_code

exec code in run_globals


 "C:\Python27\Scripts\aws-shell.exe\__main__.py", line 9, in <module>


 "c:\python27\lib\site-packages\awsshell\__init__.py", line 47, in main

write_index(index_file)


 "c:\python27\lib\site-packages\awsshell\makeindex.py", line 67, in write_index

index_command(current, help_command)


 "c:\python27\lib\site-packages\awsshell\makeindex.py", line 59, in index_command

index_command(child, sub_help_command)


 "c:\python27\lib\site-packages\awsshell\makeindex.py", line 59, in index_command

index_command(child, sub_help_command)


 "c:\python27\lib\site-packages\awsshell\makeindex.py", line 40, in index_command

arg_obj.documentation.split('\n')[0])


 "c:\python27\lib\site-packages\awsshell\utils.py", line 22, in remove_html

s.feed(html)


 "c:\python27\lib\HTMLParser.py", line 108, in feed

self.goahead(0)


 "c:\python27\lib\HTMLParser.py", line 148, in goahead

k = self.parse_starttag(i)


 "c:\python27\lib\HTMLParser.py", line 229, in parse_starttag

endpos = self.check_for_whole_start_tag(i)


 "c:\python27\lib\HTMLParser.py", line 304, in check_for_whole_start_tag

self.error("malformed start tag")


 "c:\python27\lib\HTMLParser.py", line 115, in error

raise HTMLParseError(message, self.getpos())
HTMLParser.HTMLParseError: malformed start tag, at line 1, column 275
