Advertisement
Guest User

Untitled

a guest
Nov 3rd, 2015
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.41 KB | None | 0 0
  1. ...
  2.  
  3. Switched to develop
  4. Please run `bench update --patch` to be safe from any differences in database schema
  5. nuco@ubu:~/frappe-bench$ bench update --patch
  6. Migrating erpnext
  7. Executing frappe.patches.v6_1.rename_file_data in erpnext (76cf18db07)
  8. Success
  9.  
  10. ...
  11.  
  12. And it went fine until...
  13.  
  14. Success
  15. Executing erpnext.patches.v6_4.fix_expense_included_in_valuation in erpnext (76cf18db07)
  16. BILL00018
  17. BILL00021
  18. BILL00022
  19. BILL00004-1
  20. Traceback (most recent call last):
  21.   File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
  22.     "__main__", fname, loader, pkg_name)
  23.   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
  24.     exec code in run_globals
  25.   File "/home/nuco/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 79, in <module>
  26.     main()
  27.   File "/home/nuco/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 16, in main
  28.     click.Group(commands=commands)(prog_name='bench')
  29.   File "/home/nuco/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 664, in __call__
  30.     return self.main(*args, **kwargs)
  31.   File "/home/nuco/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 644, in main
  32.     rv = self.invoke(ctx)
  33.   File "/home/nuco/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 991, in invoke
  34.     return _process_result(sub_ctx.command.invoke(sub_ctx))
  35.   File "/home/nuco/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 991, in invoke
  36.     return _process_result(sub_ctx.command.invoke(sub_ctx))
  37.   File "/home/nuco/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 837, in invoke
  38.     return ctx.invoke(self.callback, **ctx.params)
  39.   File "/home/nuco/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 464, in invoke
  40.     return callback(*args, **kwargs)
  41.   File "/home/nuco/frappe-bench/apps/frappe/frappe/commands.py", line 29, in _func
  42.     ret = f(frappe._dict(ctx.obj), *args, **kwargs)
  43.   File "/home/nuco/frappe-bench/apps/frappe/frappe/commands.py", line 213, in migrate
  44.     frappe.modules.patch_handler.run_all()
  45.   File "/home/nuco/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 25, in run_all
  46.     if not run_single(patchmodule = patch):
  47.   File "/home/nuco/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 52, in run_single
  48.     return execute_patch(patchmodule, method, methodargs)
  49.   File "/home/nuco/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 68, in execute_patch
  50.     frappe.get_attr(patchmodule.split()[0] + ".execute")()
  51.   File "/home/nuco/frappe-bench/apps/erpnext/erpnext/patches/v6_4/fix_expense_included_in_valuation.py", line 52, in execute
  52.     purchase_invoice.make_gl_entries()
  53.   File "/home/nuco/frappe-bench/apps/erpnext/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py", line 394, in make_gl_entries
  54.     make_gl_entries(gl_entries, cancel=(self.docstatus == 2))
  55.   File "/home/nuco/frappe-bench/apps/erpnext/erpnext/accounts/general_ledger.py", line 19, in make_gl_entries
  56.     save_entries(gl_map, adv_adj, update_outstanding)
  57.   File "/home/nuco/frappe-bench/apps/erpnext/erpnext/accounts/general_ledger.py", line 83, in save_entries
  58.     round_off_debit_credit(gl_map)
  59.   File "/home/nuco/frappe-bench/apps/erpnext/erpnext/accounts/general_ledger.py", line 125, in round_off_debit_credit
  60.     make_round_off_gle(gl_map, debit_credit_diff)
  61.   File "/home/nuco/frappe-bench/apps/erpnext/erpnext/accounts/general_ledger.py", line 131, in make_round_off_gle
  62.     frappe.throw(_("Please mention Round Off Account in Company"))
  63.   File "/home/nuco/frappe-bench/apps/frappe/frappe/__init__.py", line 257, in throw
  64.     msgprint(msg, raise_exception=exc)
  65.   File "/home/nuco/frappe-bench/apps/frappe/frappe/__init__.py", line 250, in msgprint
  66.     _raise_exception()
  67.   File "/home/nuco/frappe-bench/apps/frappe/frappe/__init__.py", line 235, in _raise_exception
  68.     raise raise_exception, encode(msg)
  69. frappe.exceptions.ValidationError: Please mention Round Off Account in Company
  70. Traceback (most recent call last):
  71.   File "/usr/local/bin/bench", line 9, in <module>
  72.     load_entry_point('bench==0.1', 'console_scripts', 'bench')()
  73.   File "/home/nuco/bench-repo/bench/cli.py", line 60, in cli
  74.     bench()
  75.   File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in __call__
  76.     return self.main(*args, **kwargs)
  77.   File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 590, in main
  78.     rv = self.invoke(ctx)
  79.   File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 936, in invoke
  80.     return _process_result(sub_ctx.command.invoke(sub_ctx))
  81.   File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in invoke
  82.     return ctx.invoke(self.callback, **ctx.params)
  83.   File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 416, in invoke
  84.     return callback(*args, **kwargs)
  85.   File "/home/nuco/bench-repo/bench/cli.py", line 240, in _update
  86.     update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, upgrade, force=force)
  87.   File "/home/nuco/bench-repo/bench/cli.py", line 273, in update
  88.     patch_sites(bench=bench_path)
  89.   File "/home/nuco/bench-repo/bench/utils.py", line 157, in patch_sites
  90.     run_frappe_cmd('--site', 'all', 'migrate', bench=bench)
  91.   File "/home/nuco/bench-repo/bench/utils.py", line 488, in run_frappe_cmd
  92.     raise CommandFailedError(args)
  93. bench.utils.CommandFailedError: ('--site', 'all', 'migrate')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement