ID P7V28F TS 2025-12-28 00:27:32 EST-0500 LN Traceback (most recent call last): LN File "/app/glygen/protein.py", line 190, in post LN res_obj = log_request(req_obj, "/protein/detail/", request) LN File "/app/glygen/db.py", line 60, in log_request LN ug = parse(request.headers.get('User-Agent')) LN File "/usr/local/lib/python3.6/site-packages/user_agents/parsers.py", line 268, in parse LN return UserAgent(user_agent_string) LN File "/usr/local/lib/python3.6/site-packages/user_agents/parsers.py", line 136, in __init__ LN ua_dict = user_agent_parser.Parse(user_agent_string) LN File "/usr/local/lib/python3.6/site-packages/ua_parser/user_agent_parser.py", line 258, in Parse LN entry = _lookup(user_agent_string, jsParseBits) LN File "/usr/local/lib/python3.6/site-packages/ua_parser/user_agent_parser.py", line 229, in _lookup LN raise TypeError("Expected user agent to be a string, got %r" % ua) LN TypeError: Expected user agent to be a string, got None //