COMP1911 23T2 Internal Error Introduction to Programming
An internal error has occurred in the COMP1911 website.

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

Internal error from https://cgi.cse.unsw.edu.au/~cs1911/23T2/flask.cgi/lec/8-4_arrays/notes: 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/adams/A/cs1911/public_html/23T2/lib/python/cse/class_webpages.py", line 196, in check_send_file
    return send_file(pathname)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/flask/helpers.py", line 537, in send_file
    return werkzeug.utils.send_file(  # type: ignore[return-value]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/werkzeug/utils.py", line 440, in send_file
    stat = os.stat(path)
           ^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/import/adams/A/cs1911/public_html/23T2/lec/8-4_arrays_notes.pdf'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1820, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/flask/app.py", line 1796, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/import/adams/A/cs1911/public_html/23T2/lib/python/cse/class_webpages.py", line 136, in lecture_slides_url
    return check_send_file(course_configuration['lecture_directory'], '%s%s.pdf' % (topic, '_notes' if slides_or_notes == 'notes' else ''))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/import/adams/A/cs1911/public_html/23T2/lib/python/cse/class_webpages.py", line 198, in check_send_file
    abort(404)
  File "/usr/lib/python3/dist-packages/flask/helpers.py", line 310, in abort
    current_app.aborter(code, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/werkzeug/exceptions.py", line 864, 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.