| TypeError |
Python 3.13.5: /usr/bin/python3 Sun Oct 11 20:18:10 2026 |
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/korpus.juls.savba.sk/tag/revtag.cgi in <module> |
| 373 tag = None |
| 374 print(reverse_tag(tag)) |
| 375 print(footer()) |
| 376 |
| => 377 main() |
| main = <function main> |
| /var/www/korpus.juls.savba.sk/tag/revtag.cgi in main() |
| 357 def main(): |
| 358 if 'bot' in os.environ.get('HTTP_USER_AGENT', '').lower(): |
| => 359 print("Content-Type: text/html") |
| 360 print("Status: 404 not found") |
| 361 #print "Location: http://korpus.juls.savba.sk" |
| builtin print = <built-in function print> |
| /var/www/korpus.sk/tag/<frozen codecs> in write(self=<encodings.utf_8.StreamWriter object>, object='Content-Type: text/html') |
TypeError: write() argument must be str, not bytes
add_note =
<built-in method add_note of TypeError object>
args =
('write() argument must be str, not bytes',)
with_traceback =
<built-in method with_traceback of TypeError object>