Loading Error when doing reports

Hi

When I try to choose Party Type and Party under General Ledger reports. It does not load anything.
Console logs following error. This happened after updating to latest version of Frappe and Erpnext 8.0.44 master.

desk.min.js:344 Uncaught TypeError: Cannot read property 'addClass' of undefined
    at Class.add_field (desk.min.js:344)
    at Object.<anonymous> (report.min.js:81)
    at Function.each (jquery.min.js:2)
    at Class.setup_filters (report.min.js:81)
    at Class.setup_report (report.min.js:77)
    at report.min.js:76
    at Function.<anonymous> (desk.min.js:142)
    at Function.each (jquery.min.js:2)
    at Object.frappe.request.cleanup (desk.min.js:142)
    at Object.<anonymous> (desk.min.js:132)

bench update gives the following errors:

frappe@erpnext:~/frappe-bench$ bench update --reset
INFO:bench.utils:updating bench
INFO:bench.utils:git pull
Already up-to-date.
remote: Counting objects: 473, done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 473 (delta 379), reused 387 (delta 379), pack-reused 79
Receiving objects: 100% (473/473), 76.96 KiB | 39.00 KiB/s, done.
Resolving deltas: 100% (411/411), completed with 225 local objects.
From https://github.com/frappe/frappe
   0e04d38..020851d  develop    -> upstream/develop
INFO:bench.utils:./env/bin/pip install Pillow
Requirement already satisfied: Pillow in ./env/lib/python2.7/site-packages
INFO:bench.app:pulling frappe
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/master
HEAD is now at f1dc09f Merge branch 'hotfix'
INFO:bench.utils:find . -name "*.pyc" -delete
INFO:bench.app:pulling erpnext
INFO:bench.utils:git fetch --all
Fetching upstream
remote: Counting objects: 337, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 337 (delta 309), reused 310 (delta 309), pack-reused 25
Receiving objects: 100% (337/337), 39.61 KiB | 40.00 KiB/s, done.
Resolving deltas: 100% (309/309), completed with 291 local objects.
From https://github.com/frappe/erpnext
   5b8b4dc..5f27c94  develop    -> upstream/develop
INFO:bench.utils:git reset --hard upstream/master
HEAD is now at 5f98ddd Merge branch 'hotfix'
INFO:bench.utils:find . -name "*.pyc" -delete
INFO:bench.app:pulling erpnext_demo
INFO:bench.utils:git fetch --all
Fetching upstream
INFO:bench.utils:git reset --hard upstream/master
HEAD is now at 5567d19 Merge pull request #25 from neilLasrado/master
INFO:bench.utils:find . -name "*.pyc" -delete
Updating Python libraries...
INFO:bench.utils:./env/bin/pip install --upgrade pip
/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: 
An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause th
e server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solv
e this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning.
  SNIMissingWarning
/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWar
ning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connect
ions to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/lates
t/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
INFO:bench.utils:./env/bin/pip install -q -r /home/frappe/bench-repo/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/erpnext/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/erpnext_demo/requirements.txt
INFO:bench.utils:./env/bin/pip install -q -r ./apps/frappe/requirements.txt
Updating node libraries...
INFO:bench.utils:npm install
npm WARN package.json frappe@ No description
npm WARN package.json frappe@ No README data
Backing up sites...
Patching sites...
Migrating erpnext.vm
Updating DocTypes for frappe        : [========================================]
Updating DocTypes for erpnext       : [========================================]
Syncing help database...
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/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/local/lib/python2.7/site-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/utils.py", line 16, in build
    frappe.build.bundle(False, make_copy=make_copy, verbose=verbose)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/build.py", line 37, in bundle
    subprocess.call(command.split(' '))
  File "/usr/lib/python2.7/subprocess.py", line 522, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory