TypeError | Python 3.9.2: /usr/bin/python3 Thu Jul 3 14:53:09 2025 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/var/www/blijfinuwkot/hopen.py in <module> |
97 if (aantalparameters == 1): |
98 l_CatId = form["CatId"].value |
=> 99 show_articles(l_CatId) |
100 show_articles(1) |
101 |
show_articles = <function show_articles>, l_CatId = '2' |
/var/www/blijfinuwkot/hopen.py in show_articles(p_CatId='2') |
54 for sl in row1: |
55 print('<ul class="list-group">') |
=> 56 print('<li class="list-group-item"><b>' + sl[1].encode('utf-8') + '</b><br/><br/>') |
57 print(sl[2].encode('utf-8')) |
58 l_date = sl[3] |
builtin print = <built-in function print>, sl = (24, 'Elke week 4.000.000 mondmaskers', 'De bedrijven Van Heurck uit Deurne en ECA in Ass...oopt zoals gepland, is dit uiteraard goed nieuws.', 1586815200, 'AppsICT', '../img/not.jpg'), ].encode undefined |
TypeError: can only concatenate str (not "bytes") to str
args =
('can only concatenate str (not "bytes") to str',)
with_traceback =
<built-in method with_traceback of TypeError object>