| IndexError | Python 3.6.8: /usr/bin/python3 Tue Nov 18 17:55:22 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.
| /home/livmaths/domains/livmathssoc.org.uk/public_html/cgi-bin/linksIn.py in <module>() |
| 9 |
| 10 print_title('Links in ...') |
| => 11 p = sys.argv[1] |
| 12 write_log(dir_data,'LINK: '+p) |
| 13 print('Searching for links to '+p+':<ul>') |
| p undefined, sys = <module 'sys' (built-in)>, sys.argv = ['linksIn.py'] |
IndexError: list index out of range
args =
('list index out of range',)
with_traceback =
<built-in method with_traceback of IndexError object>