Skip to content

Instantly share code, notes, and snippets.

Created January 28, 2015 16:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/c526160fb09482ed80fd to your computer and use it in GitHub Desktop.
Save anonymous/c526160fb09482ed80fd to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/home/nicefiddler/frappe-bench/env/bin/frappe", line 9, in <module>
load_entry_point('frappe==4.10.2', 'console_scripts', 'frappe')()
File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/cli.py", line 54, in main
return run(fn, parsed_args)
File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/cli.py", line 82, in run
out = globals().get(fn)(*args.get(fn), **args)
File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/cli.py", line 68, in new_fn
return fn(*args, **new_kwargs)
File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/cli.py", line 337, in install
_install(db_name, root_login, root_password, source_sql, admin_password, force, site_config, reinstall, quiet, install_apps)
File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/cli.py", line 318, in _install
admin_password = admin_password, verbose=verbose, force=force, site_config=site_config, reinstall=reinstall)
File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/installer.py", line 31, in install_db
create_database_and_user(force, verbose)
File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/installer.py", line 48, in create_database_and_user
if force or (db_name not in dbman.get_database_list()):
File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/model/db_schema.py", line 359, in get_database_list
return [d[0] for d in self.db.sql("SHOW DATABASES")]
File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/database.py", line 79, in sql
self.connect()
File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/database.py", line 49, in connect
use_unicode=True, charset='utf8')
File "/home/nicefiddler/frappe-bench/env/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/home/nicefiddler/frappe-bench/env/lib/python2.7/site-packages/MySQLdb/connections.py", line 193, in __init__
super(Connection, self).__init__(*args, **kwargs2)
_mysql_exceptions.OperationalError: (1045, "Access denied for user 'root'@'localhost' (using password: YES)")
Error: None
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
warning: Failed to read auxiliary vector, /proc not mounted?
Traceback (most recent call last):
File "/bin/bench", line 9, in <module>
load_entry_point('bench==0.1', 'console_scripts', 'bench')()
File "/home/nicefiddler/bench-repo/bench/cli.py", line 38, in cli
return bench()
File "/usr/lib/python2.7/site-packages/click/core.py", line 610, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/click/core.py", line 590, in main
rv = self.invoke(ctx)
File "/usr/lib/python2.7/site-packages/click/core.py", line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python2.7/site-packages/click/core.py", line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python2.7/site-packages/click/core.py", line 416, in invoke
return callback(*args, **kwargs)
File "/home/nicefiddler/bench-repo/bench/cli.py", line 129, in new_site
_new_site(site, mariadb_root_password=mariadb_root_password, admin_password=admin_password)
File "/home/nicefiddler/bench-repo/bench/utils.py", line 86, in new_site
), cwd=os.path.join(bench, 'sites'))
File "/home/nicefiddler/bench-repo/bench/utils.py", line 61, in exec_cmd
subprocess.check_call(cmd, cwd=cwd, shell=True)
File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/home/nicefiddler/frappe-bench/env/bin/frappe --install site2.local site2.local ' returned non-zero exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment