PS1 Color All Sky Camera running on ps1puka — Version 1.21 --> -->
 
 
<type 'exceptions.RuntimeError'>
Python 2.7.17: /usr/bin/python
Wed Nov 25 01:00:28 2020

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/cgi-bin/colorAllSkyCam in <module>()
    591 </tr>
    592 </table>
=>  593 """ % (getDailyImageTitle(),
=>  594        getDailyImageLinks(),
=>  595        getFreshDarkLink(),
 /var/www/cgi-bin/colorAllSkyCam in getDailyImageTitle()
    248             FROM    %s
    249             WHERE   time = %d
=>  250             """ % (table, int(fs['time'].value)))
=>  251     else:
=>  252         targetDate = ps1util.selectOneValue(connection, """
 /otis/ops/src/python/ps1util.py in selectOneValue(connection=<_mysql.connection open to 'ps1puka.ps1.ifa.hawaii.edu' at 5645c8d71aa0>, query='\n SELECT SUBSTR(name, 1, 10)\n ... WHERE time = 1594283280\n ')
   1956 # query via the given MySQL DB connection.
   1957 def selectOneValue(connection, query):
=> 1958     return selectOneRow(connection, query)[0]
   1959 
   1960 
global selectOneRow = <function selectOneRow>, connection = <_mysql.connection open to 'ps1puka.ps1.ifa.hawaii.edu' at 5645c8d71aa0>, query = '\n SELECT SUBSTR(name, 1, 10)\n ... WHERE time = 1594283280\n '
 /otis/ops/src/python/ps1util.py in selectOneRow(connection=<_mysql.connection open to 'ps1puka.ps1.ifa.hawaii.edu' at 5645c8d71aa0>, query='\n SELECT SUBSTR(name, 1, 10)\n ... WHERE time = 1594283280\n ')
   1949     if selectCursor.rowcount != 1:
   1950         raise RuntimeError("selectOneRow(%s) resulted in %d rows!" %
=> 1951                            (query, selectCursor.rowcount))
   1952     return selectCursor.fetchone()
   1953 
query = '\n SELECT SUBSTR(name, 1, 10)\n ... WHERE time = 1594283280\n ', selectCursor = <MySQLdb.cursors.Cursor object>, selectCursor.rowcount = 0L

<type 'exceptions.RuntimeError'>: selectOneRow( SELECT SUBSTR(name, 1, 10) FROM colorAllSkyCameraImages WHERE time = 1594283280 ) resulted in 0 rows!
      args = ('selectOneRow(\n SELECT SUBSTR(name, 1...me = 1594283280\n ) resulted in 0 rows!',)
      message = 'selectOneRow(\n SELECT SUBSTR(name, 1...me = 1594283280\n ) resulted in 0 rows!'