-
Type:
Bug
-
Status: Done (View Workflow)
-
Priority:
Major
-
Resolution: Done
-
Component/s: ics_archiver
-
Labels:None
pfs@ics-arch:/simdata/ics-arch-201701/products/Linux64/ics_archiver/master-ga619cf6fd9$ ./bin/archiveServer.py
Running ./bin/archiveServer.py as PID 22621
Starting archive server with output to /simdata/ics-arch-201701//logs/actors/archiver/archiver-22621
importing postgres dbapi module psycopg2
reply_raw
Traceback (most recent call last):
File "./bin/archiveServer.py", line 196, in <module>
main()
File "./bin/archiveServer.py", line 193, in main
startServer(options)
File "./bin/archiveServer.py", line 69, in startServer
archiver.database.init(options)
File "/simdata/ics-arch-201701/products/Linux64/ics_archiver/master-ga619cf6fd9/python/archiver/database.py", line 105, in init
print "database: table %s contains %d rows" % (tableName,tableRows)
TypeError: %d format: a number is required, not NoneType
max() will return null value but not 0 for no row inserted. need to add handler when no row exists.