tactlabs / error-archive

All issues related to tact and tact labs work
0 stars 0 forks source link

2 #255

Open rajacsp opened 4 years ago

rajacsp commented 4 years ago
2019-08-19 14:15:05 app log_exception ERROR Exception on /apply/adrules/by/category [GET] 
Traceback (most recent call last):
  File "/home/ubuntu/kwikee/projects/venv/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ubuntu/kwikee/projects/venv/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ubuntu/kwikee/projects/venv/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/home/ubuntu/kwikee/projects/venv/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
    raise value
  File "/home/ubuntu/kwikee/projects/venv/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ubuntu/kwikee/projects/venv/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/ubuntu/kwikee/projects/category_search/rest_api/category_controller.py", line 797, in applu_ads_rule_on_brands_by_category
    tr_flag = dbs.update_ad_rule_for_category_in_db(category)
  File "/home/ubuntu/kwikee/projects/category_search/services/db_service.py", line 862, in update_ad_rule_for_category_in_db
    brand_id_list.append(int(brand['rowid']))
KeyError: 'rowid'