Installing library_management…
Traceback (most recent call last):
File “/usr/lib/python3.5/runpy.py”, line 184, in _run_module_as_main
“main”, mod_spec)
File “/usr/lib/python3.5/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/home/ashin/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 97, in
main()
File “/home/ashin/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 18, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/home/ashin/frappe-bench/env/lib/python3.5/site-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/home/ashin/frappe-bench/env/lib/python3.5/site-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/home/ashin/frappe-bench/env/lib/python3.5/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/ashin/frappe-bench/env/lib/python3.5/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/ashin/frappe-bench/env/lib/python3.5/site-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/ashin/frappe-bench/env/lib/python3.5/site-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/home/ashin/frappe-bench/env/lib/python3.5/site-packages/click/decorators.py”, line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File “/home/ashin/frappe-bench/apps/frappe/frappe/commands/init.py”, line 25, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/home/ashin/frappe-bench/apps/frappe/frappe/commands/site.py”, line 166, in install_app
_install_app(app, verbose=context.verbose)
File “/home/ashin/frappe-bench/apps/frappe/frappe/installer.py”, line 75, in install_app
frappe.only_for(“System Manager”)
File “/home/ashin/frappe-bench/apps/frappe/frappe/init.py”, line 508, in only_for
myroles = set(get_roles())
File “/home/ashin/frappe-bench/apps/frappe/frappe/init.py”, line 388, in get_roles
return get_user().get_roles()
File “/home/ashin/frappe-bench/apps/frappe/frappe/utils/user.py”, line 61, in get_roles
self.roles = get_roles(self.name)
File “/home/ashin/frappe-bench/apps/frappe/frappe/permissions.py”, line 310, in get_roles
roles = frappe.cache().hget(“roles”, user, get)
File “/home/ashin/frappe-bench/apps/frappe/frappe/utils/redis_wrapper.py”, line 173, in hget
value = generator()
File “/home/ashin/frappe-bench/apps/frappe/frappe/permissions.py”, line 305, in get
return [r[0] for r in frappe.db.sql(“select name from tabRole
”)] # return all available roles
File “/home/ashin/frappe-bench/apps/frappe/frappe/database/database.py”, line 165, in sql
self._cursor.execute(query)
File “/home/ashin/frappe-bench/env/lib/python3.5/site-packages/pymysql/cursors.py”, line 170, in execute
result = self._query(query)
File “/home/ashin/frappe-bench/env/lib/python3.5/site-packages/pymysql/cursors.py”, line 328, in _query
conn.query(q)
File “/home/ashin/frappe-bench/env/lib/python3.5/site-packages/pymysql/connections.py”, line 516, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File “/home/ashin/frappe-bench/env/lib/python3.5/site-packages/pymysql/connections.py”, line 727, in _read_query_result
result.read()
File “/home/ashin/frappe-bench/env/lib/python3.5/site-packages/pymysql/connections.py”, line 1066, in read
first_packet = self.connection._read_packet()
File “/home/ashin/frappe-bench/env/lib/python3.5/site-packages/pymysql/connections.py”, line 683, in _read_packet
packet.check_error()
File “/home/ashin/frappe-bench/env/lib/python3.5/site-packages/pymysql/protocol.py”, line 220, in check_error
err.raise_mysql_exception(self._data)
File “/home/ashin/frappe-bench/env/lib/python3.5/site-packages/pymysql/err.py”, line 109, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.ProgrammingError: (1146, “Table ‘_00299a408dc3498a.tabRole’ doesn’t exist”)
guyzzz help me with the issue.
thanks in advance