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

Aggregate script failing when converting arguments #18

Closed
clokep opened this issue Oct 26, 2020 · 0 comments · Fixed by #19
Closed

Aggregate script failing when converting arguments #18

clokep opened this issue Oct 26, 2020 · 0 comments · Fixed by #19
Assignees
Labels

Comments

@clokep
Copy link
Member

clokep commented Oct 26, 2020

We're seeing the following error with the panopticon aggregate script:

Traceback (most recent call last):
  File "/usr/src/app/./aggregate.py", line 169, in <module>
    main()
  File "/usr/src/app/./aggregate.py", line 153, in main
    cursor.execute(insert_query, insert_data)
  File "/usr/local/lib/python3.9/site-packages/pymysql/cursors.py", line 168, in execute
    query = self.mogrify(query, args)
  File "/usr/local/lib/python3.9/site-packages/pymysql/cursors.py", line 147, in mogrify
    query = query % self._escape_args(args, conn)
TypeError: not all arguments converted during string formatting

I assume this is due to #17.

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

Successfully merging a pull request may close this issue.

1 participant