Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: TypeError in Lite module #228

Open
troyraen opened this issue Jun 1, 2024 · 1 comment · Fixed by #229 · May be fixed by #234
Open

Bug: TypeError in Lite module #228

troyraen opened this issue Jun 1, 2024 · 1 comment · Fixed by #229 · May be fixed by #234
Assignees

Comments

@troyraen
Copy link
Collaborator

troyraen commented Jun 1, 2024

 Traceback (most recent call last):
  File "/layers/google.python.pip/pip/lib/python3.7/site-packages/flask/app.py", line 2073, in wsgi_app
    response = self.full_dispatch_request()
  File "/layers/google.python.pip/pip/lib/python3.7/site-packages/flask/app.py", line 1518, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/layers/google.python.pip/pip/lib/python3.7/site-packages/flask/app.py", line 1516, in full_dispatch_request
    rv = self.dispatch_request()
  File "/layers/google.python.pip/pip/lib/python3.7/site-packages/flask/app.py", line 1502, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/layers/google.python.pip/pip/lib/python3.7/site-packages/functions_framework/__init__.py", line 171, in view_func
    function(data, context)
  File "/workspace/main.py", line 128, in run
    alert_lite = semantic_compression(alert_dict, schema_map)
  File "/workspace/main.py", line 57, in semantic_compression
    for prv_s in access_prev:
TypeError: 'NoneType' object is not iterable 

Error Reporting

@troyraen
Copy link
Collaborator Author

Re-opening since #229 did not actually fix this.

@troyraen troyraen reopened this Jun 20, 2024
@troyraen troyraen self-assigned this Jun 20, 2024
troyraen added a commit that referenced this issue Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant