Search on top - errors

Hello,
In new version, every time when user search something i get in logs webapp.log Error:

webapp.log

[2021-02-15 15:23:34][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘name’ (search_routes.py)
[2021-02-16 06:24:03][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘server1’ (search_routes.py)
[2021-02-16 06:24:03][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘server1’ (search_routes.py)
[2021-02-16 06:24:30][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘server2’ (search_routes.py)
[2021-02-16 06:24:30][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘server2’ (search_routes.py)
[2021-02-16 06:24:44][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘server1’ (search_routes.py)
[2021-02-16 06:24:44][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘server1’ (search_routes.py)
[2021-02-16 07:56:18][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘server3’ (search_routes.py)
[2021-02-16 07:56:18][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘server3’ (search_routes.py)
[2021-02-16 08:37:10][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘symantec’ (search_routes.py)
[2021-02-16 08:37:10][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘symantec’ (search_routes.py)
[2021-02-16 11:41:21][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘name3’ (search_routes.py)
[2021-02-16 11:41:21][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘name3’ (search_routes.py)
[2021-02-16 12:19:34][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘IP’ (search_routes.py)
[2021-02-16 12:19:34][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘IP’ (search_routes.py)
[2021-02-16 12:45:22][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘name2’ (search_routes.py)
[2021-02-16 12:45:22][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘name2’ (search_routes.py)
[2021-02-16 13:20:23][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘server4’ (search_routes.py)
[2021-02-16 13:20:23][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘server4’ (search_routes.py)
[2021-02-16 14:02:59][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘name4’ (search_routes.py)
[2021-02-16 14:02:59][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘name4’ (search_routes.py)
[2021-02-17 08:11:36][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘server5’ (search_routes.py)
[2021-02-17 08:11:36][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘server5’ (search_routes.py)
[2021-02-17 08:15:11][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘server6’ (search_routes.py)
[2021-02-17 08:57:49][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘name5’ (search_routes.py)
[2021-02-17 08:57:49][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘name5’ (search_routes.py)
[2021-02-17 09:23:35][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘server7’ (search_routes.py)
[2021-02-17 12:35:12][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘name6’ (search_routes.py)
[2021-02-17 12:35:12][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘name6’ (search_routes.py)
[2021-02-17 12:37:16][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘name7’ (search_routes.py)
[2021-02-17 12:37:37][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘name6’ (search_routes.py)
[2021-02-17 12:38:04][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘server5’ (search_routes.py)
[2021-02-17 12:38:10][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘server8’ (search_routes.py)

Similar is when search IP like 10.1.1.1 but then i have:
[2021-02-17 12:49:55][ERROR ] — [Search Framework Rest]: invalid literal for int() with base 10: ‘10\.1\.1\.1’ (search_routes.py)

Hi @marcinw ,
we will have a look at it, more Info here:

https://becon88.atlassian.net/jira/software/c/projects/DAT/issues/DAT-463

BR Adnan

Hi @adnan.smajic
this is good information, thanks :slight_smile: