Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2014
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.63 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "/Users/admin/frappe-bench/env/bin/frappe", line 9, in <module>
  3.     load_entry_point('frappe==4.4.1', 'console_scripts', 'frappe')()
  4.   File "/Users/admin/frappe-bench/apps/frappe/frappe/cli.py", line 53, in main
  5.     return run(fn, parsed_args)
  6.   File "/Users/admin/frappe-bench/apps/frappe/frappe/cli.py", line 81, in run
  7.     out = globals().get(fn)(*args.get(fn), **args)
  8.   File "/Users/admin/frappe-bench/apps/frappe/frappe/cli.py", line 67, in new_fn
  9.     return fn(*args, **new_kwargs)
  10.   File "/Users/admin/frappe-bench/apps/frappe/frappe/cli.py", line 327, in install
  11.     _install(db_name, root_login, root_password, source_sql, admin_password, force, site_config, reinstall, quiet, install_apps)
  12.   File "/Users/admin/frappe-bench/apps/frappe/frappe/cli.py", line 308, in _install
  13.     admin_password = admin_password, verbose=verbose, force=force, site_config=site_config, reinstall=reinstall)
  14.   File "/Users/admin/frappe-bench/apps/frappe/frappe/installer.py", line 30, in install_db
  15.     create_database_and_user(force, verbose)
  16.   File "/Users/admin/frappe-bench/apps/frappe/frappe/installer.py", line 43, in create_database_and_user
  17.     if force or (db_name not in dbman.get_database_list()):
  18.   File "/Users/admin/frappe-bench/apps/frappe/frappe/model/db_schema.py", line 353, in get_database_list
  19.     return [d[0] for d in self.db.sql("SHOW DATABASES")]
  20.   File "/Users/admin/frappe-bench/apps/frappe/frappe/database.py", line 79, in sql
  21.     self.connect()
  22.   File "/Users/admin/frappe-bench/apps/frappe/frappe/database.py", line 49, in connect
  23.     use_unicode=True, charset='utf8')
  24.   File "/Users/admin/frappe-bench/env/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect
  25.     return Connection(*args, **kwargs)
  26.   File "/Users/admin/frappe-bench/env/lib/python2.7/site-packages/MySQLdb/connections.py", line 193, in __init__
  27.     super(Connection, self).__init__(*args, **kwargs2)
  28. _mysql_exceptions.OperationalError: (1045, "Access denied for user 'root'@'localhost' (using password: YES)")
  29. Error: None
  30. Traceback (most recent call last):
  31.   File "/usr/local/bin/bench", line 9, in <module>
  32.     load_entry_point('bench==0.1', 'console_scripts', 'bench')()
  33.   File "/Users/admin/Code/lab/bench-repo/bench/cli.py", line 29, in cli
  34.     return bench()
  35.   File "/Library/Python/2.7/site-packages/click/core.py", line 610, in __call__
  36.     return self.main(*args, **kwargs)
  37.   File "/Library/Python/2.7/site-packages/click/core.py", line 590, in main
  38.     rv = self.invoke(ctx)
  39.   File "/Library/Python/2.7/site-packages/click/core.py", line 936, in invoke
  40.     return _process_result(sub_ctx.command.invoke(sub_ctx))
  41.   File "/Library/Python/2.7/site-packages/click/core.py", line 782, in invoke
  42.     return ctx.invoke(self.callback, **ctx.params)
  43.   File "/Library/Python/2.7/site-packages/click/core.py", line 416, in invoke
  44.     return callback(*args, **kwargs)
  45.   File "/Users/admin/Code/lab/bench-repo/bench/cli.py", line 89, in new_site
  46.     _new_site(site)
  47.   File "/Users/admin/Code/lab/bench-repo/bench/utils.py", line 76, in new_site
  48.     exec_cmd("{frappe} --install {site} {site}".format(frappe=get_frappe(bench=bench), site=site), cwd=os.path.join(bench, 'sites'))
  49.   File "/Users/admin/Code/lab/bench-repo/bench/utils.py", line 59, in exec_cmd
  50.     subprocess.check_call(cmd, cwd=cwd, shell=True)
  51.   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 542, in check_call
  52.     raise CalledProcessError(retcode, cmd)
  53. subprocess.CalledProcessError: Command '/Users/admin/frappe-bench/env/bin/frappe --install site1.local site1.local' returned non-zero exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement