--> --> -->
 
 
<type 'exceptions.TypeError'>
Python 2.5: /usr/bin/python
Thu Jan 17 21:42:45 2019

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/seriesgrid.cgi in ()
  218         grid = SeriesGrid()
  219         grid.GetParameters()
  220         grid.LoadAllSeries()
  221         grid.DetermineDefaultFormat()
  222         grid.PrintHeader()
grid = <__main__.SeriesGrid instance at 0x8265d6c>, grid.LoadAllSeries = <bound method SeriesGrid.LoadAllSeries of <__main__.SeriesGrid instance at 0x8265d6c>>
 /var/www/cgi-bin/seriesgrid.cgi in LoadAllSeries(self=<__main__.SeriesGrid instance at 0x8265d6c>)
   66                 self.LoadOneSeries()
   67                 # Retrieve all child series and add them to the array
   68                 children = SQLFindSeriesChildren(self.seriesId)
   69                 for child in children:
   70                         self.seriesName=SQLgetSeriesName(child)
children undefined, global SQLFindSeriesChildren = <function SQLFindSeriesChildren at 0x81463e4>, self = <__main__.SeriesGrid instance at 0x8265d6c>, self.seriesId = ''
 /var/www/cgi-bin/SQLparsing.py in SQLFindSeriesChildren(id='')
 1088 
 1089 def SQLFindSeriesChildren(id):
 1090         query = "select series_id,IF(series.series_parent_position IS NULL or series.series_parent_position='', 1, 0) AS isnull from series where series_parent=%d ORDER BY isnull,series_parent_position" % (id)
 1091         db.query(query)
 1092         result = db.store_result()
query undefined, id = ''

<type 'exceptions.TypeError'>: int argument required