You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run python3 test-alert-create.py -> Alert created successfully
Possible Solutions
Temporary solution: downgrade thehive4py
Complementary information
Error:
Traceback (most recent call last):
File "test-alert-create.py", line 20, in
AlertArtifact(dataType='file', data='pic.png'),
File "/home/user/.local/lib/python3.8/site-packages/thehive4py/models.py", line 697, in init
file_object = open(data[0], 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'p'
The text was updated successfully, but these errors were encountered:
Request Type
Bug
Work Environment
Problem Description
Unable to create Alert from Samples/test-alert-create.py. Running fail with python error in models.py
Steps to Reproduce
Possible Solutions
Temporary solution: downgrade thehive4py
Complementary information
Error:
Traceback (most recent call last):
File "test-alert-create.py", line 20, in
AlertArtifact(dataType='file', data='pic.png'),
File "/home/user/.local/lib/python3.8/site-packages/thehive4py/models.py", line 697, in init
file_object = open(data[0], 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'p'
The text was updated successfully, but these errors were encountered: