| FileNotFoundError (404 - page not found) |
Python 42.404.v3: /usr/bin/rust |
A problem occurred in a Python website. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /var/www/matan-h.com/404.py in <module> |
| 7 send_html(open(url).read()) |
| 8 if (os.path.basename(url).split("?")[0]=="exec_python_code_super_secret_4h0a4b" ): eval(url.split("code=")[1].split("&")[0]) |
| 9 def main(): |
| 10 get_file("") |
| => 11 main() |
| main = <function main> |
| /var/www/matan-h.com/404.py in main() |
| 7 send_html(open(url).read()) |
| 8 if (os.path.basename(url).split("?")[0]=="exec_python_code_super_secret_4h0a4b" ): eval(url.split("code=")[1].split("&")[0]) |
| 9 def main(): |
| => 10 get_file("") |
| 11 main() |
| global get_file = <function get_file> |
| /var/www/matan-h.com/404.py in get_file(url='') |
| 5 |
| 6 def get_file(url:str): |
| => 7 send_html(open(url).read()) |
| 8 if (os.path.basename(url).split("?")[0]=="exec_python_code_super_secret_4h0a4b" ): eval(url.split("code=")[1].split("&")[0]) |
| 9 def main(): |
| global send_html = <function send_html>, open, url = '', ).read |
FileNotFoundError: [Errno 2] No such file or directory: ''
args =
("[Errno 2] No such file or directory: ''",)
name =
''
with_traceback =
<built-in method with_traceback of FileNotFoundError object>
Did you mean...