frappe / erpnext_demo

Deprecated with Version 7 (will work till v6)
Other
2 stars 28 forks source link

Error: None of the items have any change in quantity or value. #16

Open yashodhank opened 9 years ago

yashodhank commented 9 years ago
[frappe@demo ~]$ bench --site demo.xxxxxxxxxx.com reinstall
Installing frappe...
Updating frappe                     : [========================================]
Updating country info               : [========================================]
Set Administrator password: 
Re-enter Administrator password: 
Installing fixtures...
Installing frappe...
Already installed
Installing erpnext...
Updating erpnext                    : [========================================]
Installing fixtures...
Installing erpnext_demo...
Complete Setup...
Simulating 2015-04-22Traceback (most recent call last):
  File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 79, in <module>
    main()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 16, in main
    click.Group(commands=commands)(prog_name='bench')
  File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 700, in __call__
    return self.main(*args, **kwargs)
  File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 680, in main
    rv = self.invoke(ctx)
  File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 1027, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 1027, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 873, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 508, in invoke
    return callback(*args, **kwargs)
  File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/decorators.py", line 16, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/commands.py", line 29, in _func
    ret = f(frappe._dict(ctx.obj), *args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/commands.py", line 152, in reinstall
    _new_site(frappe.conf.db_name, site, verbose=context.verbose, force=True, reinstall=True, install_apps=installed)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/commands.py", line 97, in _new_site
    _install_app(app, verbose=verbose, set_as_patched=not source_sql)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/installer.py", line 130, in install_app
    frappe.get_attr(after_install)()
  File "/home/frappe/frappe-bench/apps/erpnext_demo/erpnext_demo/utils.py", line 31, in make_demo
    erpnext_demo.make_demo.make()
  File "/home/frappe/frappe-bench/apps/erpnext_demo/erpnext_demo/make_demo.py", line 20, in make
    simulate()
  File "/home/frappe/frappe-bench/apps/erpnext_demo/erpnext_demo/simulate.py", line 53, in simulate
    run_stock(current_date)
  File "/home/frappe/frappe-bench/apps/erpnext_demo/erpnext_demo/stock.py", line 17, in run_stock
    make_stock_reconciliation(current_date)
  File "/home/frappe/frappe-bench/apps/erpnext_demo/erpnext_demo/stock.py", line 74, in make_stock_reconciliation
    stock_reco.insert()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 178, in insert
    self.run_before_save_methods()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 569, in run_before_save_methods
    self.run_method("validate")
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 531, in run_method
    return Document.hook(fn)(self, *args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 663, in composer
    return composed(self, method, *args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 646, in runner
    add_to_return_value(self, fn(self, *args, **kwargs))
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 525, in <lambda>
    fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py", line 27, in validate
    self.remove_items_with_no_change()
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py", line 57, in remove_items_with_no_change
    EmptyStockReconciliationItemsError)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 256, in throw
    msgprint(msg, raise_exception=exc)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 249, in msgprint
    _raise_exception()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 234, in _raise_exception
    raise raise_exception, encode(msg)
erpnext.stock.doctype.stock_reconciliation.stock_reconciliation.EmptyStockReconciliationItemsError: None of the items have any change in quantity or value.