{"action":"opened","issue":{"url":"https://api.github.com/repos/frappe/erpnext/issues/5962","repository_url":"https://api.github.com/repos/frappe/erpnext","labels_url":"https://api.github.com/repos/frappe/erpnext/issues/5962/labels{/name}","comments_url":"https://api.github.com/repos/frappe/erpnext/issues/5962/comments","events_url":"https://api.github.com/repos/frappe/erpnext/issues/5962/events","html_url":"https://github.com/frappe/erpnext/issues/5962","id":168707809,"number":5962,"title":"Error when opening general ledger","user":{"login":"cgpurbaugh","id":13136405,"avatar_url":"https://avatars.githubusercontent.com/u/13136405?v=3","gravatar_id":"","url":"https://api.github.com/users/cgpurbaugh","html_url":"https://github.com/cgpurbaugh","followers_url":"https://api.github.com/users/cgpurbaugh/followers","following_url":"https://api.github.com/users/cgpurbaugh/following{/other_user}","gists_url":"https://api.github.com/users/cgpurbaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/cgpurbaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgpurbaugh/subscriptions","organizations_url":"https://api.github.com/users/cgpurbaugh/orgs","repos_url":"https://api.github.com/users/cgpurbaugh/repos","events_url":"https://api.github.com/users/cgpurbaugh/events{/privacy}","received_events_url":"https://api.github.com/users/cgpurbaugh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-01T18:17:41Z","updated_at":"2016-08-01T18:17:41Z","closed_at":null,"body":"Traceback (most recent call last):\r\n  File \"/home/erpuser/frappe-bench/apps/frappe/frappe/app.py\", line 55, in application\r\n    response = frappe.handler.handle()\r\n  File \"/home/erpuser/frappe-bench/apps/frappe/frappe/handler.py\", line 19, in handle\r\n    execute_cmd(cmd)\r\n  File \"/home/erpuser/frappe-bench/apps/frappe/frappe/handler.py\", line 36, in execute_cmd\r\n    ret = frappe.call(method, **frappe.form_dict)\r\n  File \"/home/erpuser/frappe-bench/apps/frappe/frappe/__init__.py\", line 876, in call\r\n    return fn(*args, **newargs)\r\n  File \"/home/erpuser/frappe-bench/apps/frappe/frappe/desk/query_report.py\", line 88, in run\r\n    res = frappe.get_attr(method_name)(frappe._dict(filters))\r\n  File \"/home/erpuser/frappe-bench/apps/erpnext/erpnext/stock/report/stock_ledger/stock_ledger.py\", line 10, in execute\r\n    sl_entries = get_stock_ledger_entries(filters)\r\n  File \"/home/erpuser/frappe-bench/apps/erpnext/erpnext/stock/report/stock_ledger/stock_ledger.py\", line 49, in get_stock_ledger_entries\r\n    .format(sle_conditions=get_sle_conditions(filters)), filters, as_dict=1)\r\n  File \"/home/erpuser/frappe-bench/apps/frappe/frappe/database.py\", line 137, in sql\r\n    self._cursor.execute(query, values)\r\n  File \"/home/erpuser/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py\", line 185, in execute\r\n    for key, item in args.iteritems())\r\nKeyError: 'company'"}}
{"actor":{"display_login":"cgpurbaugh"}}