GeoscienceAustralia / eqrm

Automatically exported from code.google.com/p/eqrm
Other
5 stars 4 forks source link

Unable to delete temporary numpy files when run on Windows #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Windows PC with python2.5.4 eqrm svn revision 1120
2.run check_scenarios.py

Output:
Exception exceptions.WindowsError: (32, 'The process cannot access the file 
because it is being used by another process', 
'O:\\earthquake\\sandpits\\vanessa\\eqrm\\implementation_tests\\current\\TS_risk
21\\event_set.Mw.r3akro.npy') in  ignored
Exception exceptions.WindowsError: (32, 'The process cannot access the file 
because it is being used by another process', 
'O:\\earthquake\\sandpits\\vanessa\\eqrm\\implementation_tests\\current\\TS_risk
20\\event_set.Mw.mvdb4e.npy') in  ignored
Exception exceptions.WindowsError: (32, 'The process cannot access the file 
because it is being used by another process', 
'O:\\earthquake\\sandpits\\vanessa\\eqrm\\sites.latitude.fsxjo9.npy') in <bound 
method Sites.__del__ of Sites:
number of sites:1
            lat:memmap([-33.11042])
           long:memmap([ 151.62035])
     attributes:{'Vs30': array([ 560.]), 'VS30': array([ 560.]), 'SITE_CLASS': array(['C'], 
      dtype='|S1')}
> ignored
Exception exceptions.WindowsError: (32, 'The process cannot access the file 
because it is being used by another process', 
'O:\\earthquake\\sandpits\\vanessa\\eqrm\\sites.latitude.4viy5-.npy') in <bound 
method Sites.__del__ of Sites:
number of sites:1
            lat:memmap([-32.88603])
           long:memmap([ 151.72272])
     attributes:{'Vs30': array([ 560.]), 'VS30': array([ 560.]), 'SITE_CLASS': array(['C'], 
      dtype='|S1')}
> ignored
Exception exceptions.WindowsError: (32, 'The process cannot access the file 
because it is being used by another process', 
'O:\\earthquake\\sandpits\\vanessa\\eqrm\\sites.latitude.t88qbi.npy') in <bound 
method Sites.__del__ of Sites:
number of sites:1
            lat:memmap([-32.89942])
           long:memmap([ 151.70917])
     attributes:{'Vs30': array([ 560.]), 'VS30': array([ 560.]), 'SITE_CLASS': array(['C'], 
      dtype='|S1')}
> ignored
Exception exceptions.WindowsError: (32, 'The process cannot access the file 
because it is being used by another process', 
'O:\\earthquake\\sandpits\\vanessa\\eqrm\\sites.latitude.tboipj.npy') in <bound 
method Sites.__del__ of Sites:
number of sites:1
            lat:memmap([-33.16068])
           long:memmap([ 151.48285])
     attributes:{'Vs30': array([ 560.]), 'VS30': array([ 560.]), 'SITE_CLASS': array(['C'], 
      dtype='|S1')}
> ignored

Original issue reported on code.google.com by Vanessa....@gmail.com on 29 May 2012 at 6:10

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by b...@girorosso.com on 29 May 2012 at 11:50

GoogleCodeExporter commented 9 years ago
This should be fixed in revision 1130.

Original comment by b...@girorosso.com on 30 May 2012 at 12:10