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

ToTags returns error: TypeError: 'NoneType' object is not subscriptable (from entity ) #61

Open
ahmedxuae91 opened this issue Aug 17, 2023 · 0 comments

Comments

@ahmedxuae91
Copy link

ahmedxuae91 commented Aug 17, 2023

Hi Team,
I have installed local MISP-maltego and it is working fine with some actions such as to-event, to-attrbute/object but with toTags I am getting the below error:

TypeError: 'NoneType' object is not subscriptable (from entity "165821")

Running transform To Tags on 1 entities (from entity "165821")
Traceback (most recent call last):
File "C:\Users\User\Downloads\MISP-maltego-master\MISP-maltego-master\canari3\lib\site-packages\canari\maltego\runner.py", line 127, in local_transform_runner
msg = transform.do_transform(
File "C:\Users\User\Downloads\MISP-maltego-master\MISP-maltego-master\src\MISP_maltego\transforms\eventtoattributes.py", line 124, in do_transform
self.gen_response_galaxies()
File "C:\Users\User\Downloads\MISP-maltego-master\MISP-maltego-master\src\MISP_maltego\transforms\eventtoattributes.py", line 67, in gen_response_galaxies
self.response += galaxycluster_to_entity(c)
File "C:\Users\User\Downloads\MISP-maltego-master\MISP-maltego-master\src\MISP_maltego\transforms\common\util.py", line 422, in galaxycluster_to_entity
icon_url = mapping_galaxy_icon[galaxy_cluster['icon']]
TypeError: 'NoneType' object is not subscriptable (from entity "165821")
Transform To Tags returned with an error: Traceback (most recent call last):
File "C:\Users\User\Downloads\MISP-maltego-master\MISP-maltego-master\canari3\lib\site-packages\canari\maltego\runner.py", line 127, in local_transform_runner
msg = transform.do_transform(
File "C:\Users\User\Downloads\MISP-maltego-master\MISP-maltego-master\src\MISP_maltego\transforms\eventtoattributes.py", line 124, in do_transform
self.gen_response_galaxies()
File "C:\Users\User\Downloads\MISP-maltego-master\MISP-maltego-master\src\MISP_maltego\transforms\eventtoattributes.py", line 67, in gen_response_galaxies
self.response += galaxycluster_to_entity(c)
File "C:\Users\User\Downloads\MISP-maltego-master\MISP-maltego-master\src\MISP_maltego\transforms\common\util.py", line 422, in galaxycluster_to_entity
icon_url = mapping_galaxy_icon[galaxy_cluster['icon']]
TypeError: 'NoneType' object is not subscriptable (from entity "165821")

Can you please help me to understand the reason and how to fix.

I am using version 1.4.6

This issue ONLY happens when Galaxies/clusters added to the Event

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant