COMP1511 17s1 Internal Error Introduction to Programming
An internal error has occurred in the COMP1511 website.

If you think the URL you've used should work, please e-mail the text below to cs1511 and we'll fix it as soon as we can.

Internal error from https://cgi.cse.unsw.edu.au/~cs1511/17s1/flask.cgi/lec/arrays/code/reverse5_n.c: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

Traceback (most recent call last):
  File "/import/chopin/1/cs1511/public_html/17s1/lib/python/cse/class_webpages.py", line 189, in check_send_file
    return send_file(pathname, mimetype='text/plain')
  File "/web/cs2041/Python-3.8.2-pc.amd64.linux/lib/python3.9/site-packages/flask/helpers.py", line 629, in send_file
    file = open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: '/import/chopin/1/cs1511/public_html/17s1/lec/arrays/code/reverse5_n.c'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/web/cs2041/Python-3.8.2-pc.amd64.linux/lib/python3.9/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/web/cs2041/Python-3.8.2-pc.amd64.linux/lib/python3.9/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/import/chopin/1/cs1511/public_html/17s1/lib/python/cse/class_webpages.py", line 55, in view_func
    return f(*args, **kwargs)
  File "/import/chopin/1/cs1511/public_html/17s1/lib/python/cse/class_webpages.py", line 138, in tlb_code_example_url
    return check_send_file(course_configuration['lecture_directory'], topic, 'code', filename)
  File "/import/chopin/1/cs1511/public_html/17s1/lib/python/cse/class_webpages.py", line 193, in check_send_file
    abort(404)
  File "/web/cs2041/Python-3.8.2-pc.amd64.linux/lib/python3.9/site-packages/werkzeug/exceptions.py", line 822, in abort
    return _aborter(status, *args, **kwargs)
  File "/web/cs2041/Python-3.8.2-pc.amd64.linux/lib/python3.9/site-packages/werkzeug/exceptions.py", line 807, in __call__
    raise self.mapping[code](*args, **kwargs)
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.