tactlabs / error-archive

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

Object has no attribute #303

Open Ananthu2oo3 opened 2 years ago

Ananthu2oo3 commented 2 years ago

Traceback (most recent call last): File "/home/sivaraam/.local/lib/python3.8/site-packages/flask/app.py", line 2548, in call return self.wsgi_app(environ, start_response) File "/home/sivaraam/.local/lib/python3.8/site-packages/flask/app.py", line 2528, in wsgi_app response = self.handle_exception(e) File "/home/sivaraam/.local/lib/python3.8/site-packages/flask/app.py", line 2525, in wsgi_app response = self.full_dispatch_request() File "/home/sivaraam/.local/lib/python3.8/site-packages/flask/app.py", line 1822, in full_dispatch_request rv = self.handle_user_exception(e) File "/home/sivaraam/.local/lib/python3.8/site-packages/flask/app.py", line 1820, in full_dispatch_request rv = self.dispatch_request() File "/home/sivaraam/.local/lib/python3.8/site-packages/flask/app.py", line 1796, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "/home/sivaraam/tactii/t-scraper/app.py", line 193, in test_scanner raise e File "/home/sivaraam/tactii/t-scraper/app.py", line 176, in test_scanner scanner_template = read_scanner_template(scanner_template_name) File "/home/sivaraam/tactii/t-scraper/db_handler.py", line 259, in read_scanner_template scanner_template = scanner_template.as_dict() AttributeError: 'NoneType' object has no attribute 'as_dict'

Ananthu2oo3 commented 2 years ago

Syntactical error for session.query.filter() function