-
Notifications
You must be signed in to change notification settings - Fork 56
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
Empty parameter value incorrectly interpreted as empty string, leading to bot failures #294
Comments
Is that event probably empty? |
It happens with any event. when you configured the output to postgres. for which when inserting into the Query there is a blank column. I have configured postgres following the guide and it has not been able to work due to this error, even when it is connected and the girl database is created |
Can you please show the configuration parameters of the SQL-Output bot and show the output of |
SQL-Output: Bot has found a problem. |
This is the configuration for Bot SQL-Output: |
Why is |
thank you. I am going to try. the configuration was done from the web interface. |
Hello!!! It has worked. The error is when you make a change from intelmq-manager (web) and save it. Add the field value "", totally remove "field" from cli and it works. But if you modify it again from web it writes it again. |
The problem maybe are in intelmq-manager... |
Yeah, the manager is not good at getting the types correctly |
Hello,
I have problems with the postgres SQL BOT:
2023-03-22 05:27:37,073 - SQL-Output - INFO - Bot will continue in 15 seconds.
2023-03-22 05:27:52,125 - SQL-Output - ERROR - Bot has found a problem.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/intelmq/lib/bot.py", line 319, in start
self.process()
File "/usr/lib/python3/dist-packages/intelmq/bots/outputs/sql/output.py", line 56, in process
if self.execute(query, values, rollback=True):
File "/usr/lib/python3/dist-packages/intelmq/lib/mixins/sql.py", line 115, in execute
self.cur.execute(query, values)
psycopg2.errors.SyntaxError: zero-length delimited identifier at or near """"
LINE 1: INSERT INTO events ("") VALUES ()
^
Do you know what can be?
Thanks!!!
The text was updated successfully, but these errors were encountered: