Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2014
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.79 KB | None | 0 0
  1. Created user site1.local
  2. Created database site1.local
  3. Granted privileges to user site1.local and database site1.local
  4. Starting database import...
  5. sh: mysql: command not found
  6. Imported from database /Users/admin/Code/lab/frappe-bench/apps/frappe/frappe/data/Framework.sql
  7. Traceback (most recent call last):
  8.   File "/Users/admin/Code/lab/frappe-bench/env/bin/frappe", line 9, in <module>
  9.     load_entry_point('frappe==4.4.1', 'console_scripts', 'frappe')()
  10.   File "/Users/admin/Code/lab/frappe-bench/apps/frappe/frappe/cli.py", line 53, in main
  11.     return run(fn, parsed_args)
  12.   File "/Users/admin/Code/lab/frappe-bench/apps/frappe/frappe/cli.py", line 81, in run
  13.     out = globals().get(fn)(*args.get(fn), **args)
  14.   File "/Users/admin/Code/lab/frappe-bench/apps/frappe/frappe/cli.py", line 67, in new_fn
  15.     return fn(*args, **new_kwargs)
  16.   File "/Users/admin/Code/lab/frappe-bench/apps/frappe/frappe/cli.py", line 327, in install
  17.     _install(db_name, root_login, root_password, source_sql, admin_password, force, site_config, reinstall, quiet, install_apps)
  18.   File "/Users/admin/Code/lab/frappe-bench/apps/frappe/frappe/cli.py", line 310, in _install
  19.     install_app("frappe", verbose=verbose, set_as_patched=not source_sql)
  20.   File "/Users/admin/Code/lab/frappe-bench/apps/frappe/frappe/installer.py", line 87, in install_app
  21.     frappe.clear_cache()
  22.   File "/Users/admin/Code/lab/frappe-bench/apps/frappe/frappe/__init__.py", line 287, in clear_cache
  23.     frappe.sessions.clear_cache()
  24.   File "/Users/admin/Code/lab/frappe-bench/apps/frappe/frappe/sessions.py", line 48, in clear_cache
  25.     for sess in frappe.db.sql("""select user, sid from tabSessions""", as_dict=1):
  26.   File "/Users/admin/Code/lab/frappe-bench/apps/frappe/frappe/database.py", line 121, in sql
  27.     self._cursor.execute(query)
  28.   File "/Users/admin/Code/lab/frappe-bench/env/lib/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
  29.     self.errorhandler(self, exc, value)
  30.   File "/Users/admin/Code/lab/frappe-bench/env/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
  31.     raise errorclass, errorvalue
  32. _mysql_exceptions.ProgrammingError: (1146, "Table 'site1.local.tabsessions' doesn't exist")
  33. Error: None
  34. Traceback (most recent call last):
  35.   File "/usr/local/bin/bench", line 9, in <module>
  36.     load_entry_point('bench==0.1', 'console_scripts', 'bench')()
  37.   File "/Users/admin/Code/lab/bench-repo/bench/cli.py", line 29, in cli
  38.     return bench()
  39.   File "/Library/Python/2.7/site-packages/click/core.py", line 610, in __call__
  40.     return self.main(*args, **kwargs)
  41.   File "/Library/Python/2.7/site-packages/click/core.py", line 590, in main
  42.     rv = self.invoke(ctx)
  43.   File "/Library/Python/2.7/site-packages/click/core.py", line 936, in invoke
  44.     return _process_result(sub_ctx.command.invoke(sub_ctx))
  45.   File "/Library/Python/2.7/site-packages/click/core.py", line 782, in invoke
  46.     return ctx.invoke(self.callback, **ctx.params)
  47.   File "/Library/Python/2.7/site-packages/click/core.py", line 416, in invoke
  48.     return callback(*args, **kwargs)
  49.   File "/Users/admin/Code/lab/bench-repo/bench/cli.py", line 89, in new_site
  50.     _new_site(site)
  51.   File "/Users/admin/Code/lab/bench-repo/bench/utils.py", line 76, in new_site
  52.     exec_cmd("{frappe} --install {site} {site}".format(frappe=get_frappe(bench=bench), site=site), cwd=os.path.join(bench, 'sites'))
  53.   File "/Users/admin/Code/lab/bench-repo/bench/utils.py", line 59, in exec_cmd
  54.     subprocess.check_call(cmd, cwd=cwd, shell=True)
  55.   File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 542, in check_call
  56.     raise CalledProcessError(retcode, cmd)
  57. subprocess.CalledProcessError: Command '/Users/admin/Code/lab/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