Bench Update Error - 12 May 2016

I get the following error when I run bench update:

epoch@epoch-staging:~$ bench update
INFO:bench.utils:updating bench
Already up-to-date.
Requirement already satisfied (use --upgrade to upgrade): Pillow in ./env/lib/python2.7/site-packages frappe
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript

  • branch develop → FETCH_HEAD
    Already up-to-date. erpnext
    From GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP)
  • branch develop → FETCH_HEAD
    Already up-to-date. schools
    From GitHub - frappe/schools: Merged with frappe/erpnext - this repo is deprecated
  • branch master → FETCH_HEAD
    Already up-to-date. jasper_erpnext_report
    From GitHub - saguas/jasper_erpnext_report: Jasper for frappe
  • branch master → FETCH_HEAD
    Already up-to-date.
    Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
    Traceback (most recent call last):
    File “/usr/lib/python2.7/”, line 162, in _run_module_as_main
    main”, fname, loader, pkg_name)
    File “/usr/lib/python2.7/”, line 72, in _run_code
    exec code in run_globals
    File “/home/epoch/frappe-bench/apps/frappe/frappe/utils/”, line 79, in
    File “/home/epoch/frappe-bench/apps/frappe/frappe/utils/”, line 12, in main
    commands = get_app_groups()
    File “/home/epoch/frappe-bench/apps/frappe/frappe/utils/”, line 21, in get_app_groups
    app_group = get_app_group(app)
    File “/home/epoch/frappe-bench/apps/frappe/frappe/utils/”, line 27, in get_app_group
    app_commands = get_app_commands(app)
    File “/home/epoch/frappe-bench/apps/frappe/frappe/utils/”, line 58, in get_app_commands
    app_command_module = importlib.import_module(app + ‘.commands’)
    File “/usr/lib/python2.7/importlib/”, line 37, in import_module
    File “/home/epoch/frappe-bench/apps/jasper_erpnext_report/jasper_erpnext_report/”, line 11, in
    AttributeError: ‘module’ object has no attribute ‘get_logger’
    Traceback (most recent call last):
    File “/usr/local/bin/bench”, line 9, in
    load_entry_point(‘bench==0.1’, ‘console_scripts’, ‘bench’)()
    File “/home/epoch/bench-repo/bench/”, line 40, in cli
    File “/usr/local/lib/python2.7/dist-packages/click/”, line 664, in call
    return self.main(*args, **kwargs)
    File “/usr/local/lib/python2.7/dist-packages/click/”, line 644, in main
    rv = self.invoke(ctx)
    File “/usr/local/lib/python2.7/dist-packages/click/”, line 991, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File “/usr/local/lib/python2.7/dist-packages/click/”, line 837, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File “/usr/local/lib/python2.7/dist-packages/click/”, line 464, in invoke
    return callback(*args, **kwargs)
    File “/home/epoch/bench-repo/bench/commands/”, line 61, in update
    _update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, upgrade, force=force)
    File “/home/epoch/bench-repo/bench/commands/”, line 90, in _update
    File “/home/epoch/bench-repo/bench/”, line 359, in backup_all_sites
    backup_site(site, bench=bench)
    File “/home/epoch/bench-repo/bench/”, line 355, in backup_site
    run_frappe_cmd(‘–site’, site, ‘backup’, bench=bench)
    File “/home/epoch/bench-repo/bench/”, line 468, in run_frappe_cmd
    raise CommandFailedError(args)
    bench.utils.CommandFailedError: (‘–site’, ‘chamundi.local’, ‘backup’)

Hi, it seems your custom app uses the old logger that was replaced quite recently

You’ll have to modify your code accordingly.

For production, it’s not recommended to use develop branches for erpnext and frappe.