TypeError: not all arguments converted during string formatting #43

Closed
opened 2026-04-12 14:43:26 +00:00 by tpeetz · 6 comments
tpeetz commented 2026-04-12 14:43:26 +00:00 (Migrated from gitlab.com)

Log:

TypeError: not all arguments converted during string formatting
c142618a322f Call stack:
c142618a322f File "/usr/local/lib/python3.13/threading.py", line 1015, in _bootstrap
c142618a322f self._bootstrap_inner()
c142618a322f File "/usr/local/lib/python3.13/threading.py", line 1044, in _bootstrap_inner
c142618a322f self.run()
c142618a322f File "/app/.venv/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 1002, in run
c142618a322f result = context.run(func, *args)
c142618a322f File "/app/src/webapps/media/route_media.py", line 40, in get_mediafiles
c142618a322f current_user: Profile = get_current_user_from_token(token=param)
c142618a322f File "/app/src/core/security.py", line 153, in get_current_user_from_token
c142618a322f logger.info("username/email extracted is ", username)
c142618a322f Message: 'username/email extracted is '
c142618a322f Arguments: ('thomas.peetz@thpeetz.de',)

## Log: TypeError: not all arguments converted during string formatting c142618a322f Call stack: c142618a322f File "/usr/local/lib/python3.13/threading.py", line 1015, in _bootstrap c142618a322f self._bootstrap_inner() c142618a322f File "/usr/local/lib/python3.13/threading.py", line 1044, in _bootstrap_inner c142618a322f self.run() c142618a322f File "/app/.venv/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 1002, in run c142618a322f result = context.run(func, *args) c142618a322f File "/app/src/webapps/media/route_media.py", line 40, in get_mediafiles c142618a322f current_user: Profile = get_current_user_from_token(token=param) c142618a322f File "/app/src/core/security.py", line 153, in get_current_user_from_token c142618a322f logger.info("username/email extracted is ", username) c142618a322f Message: 'username/email extracted is ' c142618a322f Arguments: ('thomas.peetz@thpeetz.de',)
tpeetz commented 2026-04-12 14:43:27 +00:00 (Migrated from gitlab.com)

assigned to @tpeetz

assigned to @tpeetz
tpeetz commented 2026-04-12 15:01:41 +00:00 (Migrated from gitlab.com)

changed the severity to Low - S4

changed the severity to **Low - S4**
tpeetz commented 2026-04-12 15:02:07 +00:00 (Migrated from gitlab.com)
created branch [`feature/43-typeerror-not-all-arguments-converted-during-string-formatting`](/tpeetz/kontor/-/compare/develop%2F0.3.0...feature%2F43-typeerror-not-all-arguments-converted-during-string-formatting) to address this issue
tpeetz commented 2026-04-12 15:02:24 +00:00 (Migrated from gitlab.com)

mentioned in merge request !41

mentioned in merge request !41
tpeetz commented 2026-04-12 15:14:48 +00:00 (Migrated from gitlab.com)

changed the incident status to Resolved by closing the incident

changed the incident status to **Resolved** by closing the incident
tpeetz (Migrated from gitlab.com) closed this issue 2026-04-12 15:14:48 +00:00
tpeetz commented 2026-04-12 15:14:50 +00:00 (Migrated from gitlab.com)

mentioned in commit 74d29ae8ef

mentioned in commit 74d29ae8efdf318928c39263bcb090d5b8920255
Sign in to join this conversation.