Advertisement
Guest User

nicefiddler

a guest
Jan 28th, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.18 KB | None | 0 0
  1. [nicefiddler@localhost frappe-bench]$ sudo bench new-site site2.local
  2. MySQL root password:
  3. Traceback (most recent call last):
  4. File "/home/nicefiddler/frappe-bench/env/bin/frappe", line 9, in <module>
  5. load_entry_point('frappe==4.10.2', 'console_scripts', 'frappe')()
  6. File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/cli.py", line 54, in main
  7. return run(fn, parsed_args)
  8. File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/cli.py", line 82, in run
  9. out = globals().get(fn)(*args.get(fn), **args)
  10. File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/cli.py", line 68, in new_fn
  11. return fn(*args, **new_kwargs)
  12. File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/cli.py", line 337, in install
  13. _install(db_name, root_login, root_password, source_sql, admin_password, force, site_config, reinstall, quiet, install_apps)
  14. File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/cli.py", line 318, in _install
  15. admin_password = admin_password, verbose=verbose, force=force, site_config=site_config, reinstall=reinstall)
  16. File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/installer.py", line 31, in install_db
  17. create_database_and_user(force, verbose)
  18. File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/installer.py", line 48, in create_database_and_user
  19. if force or (db_name not in dbman.get_database_list()):
  20. File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/model/db_schema.py", line 359, in get_database_list
  21. return [d[0] for d in self.db.sql("SHOW DATABASES")]
  22. File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/database.py", line 79, in sql
  23. self.connect()
  24. File "/home/nicefiddler/frappe-bench/apps/frappe/frappe/database.py", line 49, in connect
  25. use_unicode=True, charset='utf8')
  26. File "/home/nicefiddler/frappe-bench/env/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect
  27. return Connection(*args, **kwargs)
  28. File "/home/nicefiddler/frappe-bench/env/lib/python2.7/site-packages/MySQLdb/connections.py", line 193, in __init__
  29. super(Connection, self).__init__(*args, **kwargs2)
  30. _mysql_exceptions.OperationalError: (1045, "Access denied for user 'root'@'localhost' (using password: YES)")
  31. Error: None
  32. warning: Failed to read auxiliary vector, /proc not mounted?
  33. warning: Failed to read auxiliary vector, /proc not mounted?
  34. warning: Failed to read auxiliary vector, /proc not mounted?
  35. warning: Failed to read auxiliary vector, /proc not mounted?
  36. warning: Failed to read auxiliary vector, /proc not mounted?
  37. warning: Failed to read auxiliary vector, /proc not mounted?
  38. warning: Failed to read auxiliary vector, /proc not mounted?
  39. warning: Failed to read auxiliary vector, /proc not mounted?
  40. Traceback (most recent call last):
  41. File "/bin/bench", line 9, in <module>
  42. load_entry_point('bench==0.1', 'console_scripts', 'bench')()
  43. File "/home/nicefiddler/bench-repo/bench/cli.py", line 38, in cli
  44. return bench()
  45. File "/usr/lib/python2.7/site-packages/click/core.py", line 610, in __call__
  46. return self.main(*args, **kwargs)
  47. File "/usr/lib/python2.7/site-packages/click/core.py", line 590, in main
  48. rv = self.invoke(ctx)
  49. File "/usr/lib/python2.7/site-packages/click/core.py", line 936, in invoke
  50. return _process_result(sub_ctx.command.invoke(sub_ctx))
  51. File "/usr/lib/python2.7/site-packages/click/core.py", line 782, in invoke
  52. return ctx.invoke(self.callback, **ctx.params)
  53. File "/usr/lib/python2.7/site-packages/click/core.py", line 416, in invoke
  54. return callback(*args, **kwargs)
  55. File "/home/nicefiddler/bench-repo/bench/cli.py", line 129, in new_site
  56. _new_site(site, mariadb_root_password=mariadb_root_password, admin_password=admin_password)
  57. File "/home/nicefiddler/bench-repo/bench/utils.py", line 86, in new_site
  58. ), cwd=os.path.join(bench, 'sites'))
  59. File "/home/nicefiddler/bench-repo/bench/utils.py", line 61, in exec_cmd
  60. subprocess.check_call(cmd, cwd=cwd, shell=True)
  61. File "/usr/lib64/python2.7/subprocess.py", line 542, in check_call
  62. raise CalledProcessError(retcode, cmd)
  63. subprocess.CalledProcessError: Command '/home/nicefiddler/frappe-bench/env/bin/frappe --install site2.local site2.local ' returned non-zero exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement