The 'Reference-Library_-_19-02-06' instance failed to start.

Check the log file at '/usr/local/flamenco/instances/Reference-Library_-_19-02-06/log.txt' for more details. Here are the last few lines:

  File "/usr/local/flamenco/python/InterfaceBase.py", line 493, in page
    return div(self.endgame(), c='endgame')
  File "/usr/local/flamenco/python/FrankenMatrix.py", line 391, in endgame
    queryinfo = [self.queryinfo(userfacets, userattrs)]
  File "/usr/local/flamenco/python/Wedge.py", line 205, in queryinfo
    facetvalue=facetvals or {}))
  File "/usr/local/flamenco/python/Wedge.py", line 63, in facettree
    term(db, facet, step), '</nobr>', tinysp,
  File "/usr/local/flamenco/python/Wedge.py", line 181, in relatedlink
    query = Query(db) + (facet, value, 0)
  File "/usr/local/flamenco/python/query.py", line 68, in __add__
    path = self.db.path(f, value)
  File "/usr/local/flamenco/python/metadb.py", line 274, in path
    ids = self.db.select(fields + ['level'], facet, 'id = %d' % id)[0]
IndexError: tuple index out of range
    2  0.03 secs            /Reference-Library_-_19-02-06/Wedge?q=facet_02_NAL_Biology:3958&group=facet_13_NAL_NatResEnvSci

    1  0.50 secs            /Reference-Library_-_19-02-06/Wedge?index=221&q=facet_02_NAL_Biology%3A7327%2Ffacet_13_NAL_NatResEnvSci%3A82

ThreadedAppServer: Shutting Down
Stopping AutoReload Monitor
Shutting down the AppServer
Application is Shutting Down
Application has been succesfully shutdown.
AppServer has been shutdown