--> --> -->
 
 
<class 'ncsa_sciarch.lockapp.ApplicationLocked'>
Python 2.5.2: /lsst/DC3/stacks/32bit/19aug10/Linux/external/python/2.5.2/bin/python
Wed Sep 29 15:04:45 2010

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/DATAarch/dc3GetProduct.py in ()
  124 def verb(lev, msg, *args, **kw):
  125     logger.log(logging.INFO-lev, msg, *args, **kw)
  126 
  127 if __name__ == "__main__":
  128     main()
main = <function main at 0x9b1cfb4>
 /var/www/cgi-bin/DATAarch/dc3GetProduct.py in main()
   54     if id is None:  id = ""
   55     id = id.strip('/')
   56     deliver(id, cfg)
   57     sys.exit(0)
   58 
global deliver = <function deliver at 0x9b222cc>, id = 'obs/CFHTLS/D1/raw/v720438-fr/s00/c00-a1.fits', cfg = <ncsa_sciarch.config.ConfigProperty object at 0x9b21bac>
 /var/www/cgi-bin/DATAarch/dc3GetProduct.py in deliver(id='obs/CFHTLS/D1/raw/v720438-fr/s00/c00-a1.fits', conf=<ncsa_sciarch.config.ConfigProperty object at 0x9b21bac>)
   73     t0 = time.time()
   74     if not res.available(id):
   75         restore(res, id, int(cfg.timeout))
   76         tell(" RESTORED: %s in %d s", id, time.time()-t0)
   77 
global restore = <function restore at 0x9b22304>, res = <lsst.daf.web.dc3restore.Restorer object at 0x9b21e6c>, id = 'obs/CFHTLS/D1/raw/v720438-fr/s00/c00-a1.fits', builtin int = <type 'int'>, cfg = <ncsa_sciarch.config.ConfigProperty object at 0x9b242ac>, cfg.timeout = '1200'
 /var/www/cgi-bin/DATAarch/dc3GetProduct.py in restore(res=<lsst.daf.web.dc3restore.Restorer object at 0x9b21e6c>, id='obs/CFHTLS/D1/raw/v720438-fr/s00/c00-a1.fits', timeout=1200)
  104     lock = inprogress.lockId(id, timeout=60)
  105     if not res.available(id):
  106         res.restore(id)
  107     del lock
  108 
res = <lsst.daf.web.dc3restore.Restorer object at 0x9b21e6c>, res.restore = <bound method Restorer.restore of <lsst.daf.web.dc3restore.Restorer object at 0x9b21e6c>>, id = 'obs/CFHTLS/D1/raw/v720438-fr/s00/c00-a1.fits'
 /appl/DATAarch/python/lsst/daf/web/dc3restore.py in restore(self=<lsst.daf.web.dc3restore.Restorer object at 0x9b21e6c>, id='obs/CFHTLS/D1/raw/v720438-fr/s00/c00-a1.fits')
  467             target = self._untar(tpath, mempath, reservation.stagedir)
  468             cpath = reservation.acceptItemAs(target, re.sub('/',':', id))
  469             reservation.done()
  470 
  471         else:
reservation = <ncsa_sciarch.cachemgr.cache.gen.Reservation object at 0x9b24fec>, reservation.done = <bound method Reservation.done of <ncsa_sciarch.cachemgr.cache.gen.Reservation object at 0x9b24fec>>
 /appl/DATAarch/python/ncsa_sciarch/cachemgr/cache/gen.py in done(self=<ncsa_sciarch.cachemgr.cache.gen.Reservation object at 0x9b24fec>, name=None, fast=False)
  257         """
  258         if self.stagedir:
  259             self.cancel()
  260 
  261     def __del__(self):
self = <ncsa_sciarch.cachemgr.cache.gen.Reservation object at 0x9b24fec>, self.cancel = <bound method Reservation.cancel of <ncsa_sciarc...hemgr.cache.gen.Reservation object at 0x9b24fec>>
 /appl/DATAarch/python/ncsa_sciarch/cachemgr/cache/gen.py in cancel(self=<ncsa_sciarch.cachemgr.cache.gen.Reservation object at 0x9b24fec>)
  208         """
  209         try:
  210             self._cache._cancel(self._id)
  211         finally:
  212             self.stagedir = None
self = <ncsa_sciarch.cachemgr.cache.gen.Reservation object at 0x9b24fec>, self._cache = <ncsa_sciarch.cachemgr.cache.simple.SimpleCache object at 0x9b245cc>, self._cache._cancel = <bound method SimpleCache._cancel of <ncsa_sciar...gr.cache.simple.SimpleCache object at 0x9b245cc>>, self._id = '2010-09-29T15:03:51.94'
 /appl/DATAarch/python/ncsa_sciarch/cachemgr/cache/gen.py in _cancel(self=<ncsa_sciarch.cachemgr.cache.simple.SimpleCache object at 0x9b245cc>, id='2010-09-29T15:03:51.94')
  471             raise ValueError("Bad id: %s", id)
  472 
  473         lock = self.lock()
  474 
  475         # now remove the directory; this invalidates the reservation
lock undefined, self = <ncsa_sciarch.cachemgr.cache.simple.SimpleCache object at 0x9b245cc>, self.lock = <bound method SimpleCache.lock of <ncsa_sciarch....gr.cache.simple.SimpleCache object at 0x9b245cc>>
 /appl/DATAarch/python/ncsa_sciarch/cachemgr/cache/gen.py in lock(self=<ncsa_sciarch.cachemgr.cache.simple.SimpleCache object at 0x9b245cc>, timeout=0)
  410         if not self.available():
  411             raise lockapp.ApplicationLocked("Cache is already locked (%s)" %
  412                                             self._home)
  413         lockfile.create()
  414         return lockapp.AppLock(lockfile)
self = <ncsa_sciarch.cachemgr.cache.simple.SimpleCache object at 0x9b245cc>, self._home = '/data/cache/4/datacache'

<class 'ncsa_sciarch.lockapp.ApplicationLocked'>: Cache is already locked (/data/cache/4/datacache)
      args = ()
      getMessage = <bound method ApplicationLocked.getMessage of ApplicationLocked()>
      message = ''
      msg = 'Cache is already locked (/data/cache/4/datacache)'