<type 'exceptions.Exception'>
Python 2.7.15+: /usr/bin/python2
Tue Apr 30 14:14:20 2024

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/artrz.ru/htdocs/src/index.py in <module>()
    299                         elif params[0]=="download":
    300                                 if len(params)<4 or not(re.match('\A\d+\Z', params[1]) and re.match('\A\d+\Z', params[2]) and re.match('\A\d+\Z', params[3])):
=>  301                                         raise Exception("Invalid arguments.")
    302                                 header = { "Cache-Control": "max-age=%s, public" % str(24*60*60),
    303                                                         "Expires": expires(24*60) }
builtin Exception = <type 'exceptions.Exception'>

<type 'exceptions.Exception'>: Invalid arguments.
      args = ('Invalid arguments.',)
      message = 'Invalid arguments.'