Open R136a1- opened 10 years ago
as an interim fix try the following in ds9 next time you have a problem (like right now).
Frame -> Delete All Frames
JJ
On Feb 14, 2014, at 1:36 PM, Stephanie Monty notifications@github.com wrote:
The program has been extremely sluggish the past two days and has been occasionally displaying the following error:
ERROR: OSError: [Errno 12] Cannot allocate memory [pyraf.subproc] Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/ossos-0.2-py2.7.egg/ossos/gui/vie ws/validation.py", line 46, in onclick_accept self.controller.on_accept() File "/usr/local/lib/python2.7/site-packages/ossos-0.2-py2.7.egg/ossos/gui/con trollers.py", line 207, in on_accept cen_x, cen_y, obs_mag, obs_mag_err = self.model.get_current_sourceobserved magnitude() File "/usr/local/lib/python2.7/site-packages/ossos-0.2-py2.7.egg/ossos/gui/mod els/validation.py", line 210, in get_current_source_observed_magnitude return self.get_current_cutout().get_observed_magnitude() File "/usr/local/lib/python2.7/site-packages/ossos-0.2-py2.7.egg/ossos/downloa ds/cutouts/source.py", line 138, in get_observed_magnitude maxcount=maxcount) File "/usr/local/lib/python2.7/site-packages/ossos-0.2-py2.7.egg/ossos/daophot .py", line 163, in phot_mag hdu = phot(args, _kwargs) File "/usr/local/lib/python2.7/site-packages/ossos-0.2-py2.7.egg/ossos/daophot .py", line 113, in phot iraf.phot(fits_filename, coofile.name, magfile.name) File "/usr/local/lib/python2.7/site-packages/pyraf/iraftask.py", line 767, in call return self.run(args, kw) File "/usr/local/lib/python2.7/site-packages/pyraf/iraftask.py", line 359, in run self.run(redirKW, specialKW) File "/usr/local/lib/python2.7/site-packages/pyraf/iraftask.py", line 808, in _run irafexecute.IrafExecute(self, pyraf.iraf.getVarDict(), _redirKW) File "/usr/local/lib/python2.7/site-packages/pyraf/irafexecute.py", line 320, in IrafExecute irafprocess = processCache.get(task, envdict) File "/usr/local/lib/python2.7/site-packages/pyraf/irafexecute.py", line 146, in get process = IrafProcess(executable) File "/usr/local/lib/python2.7/site-packages/pyraf/irafexecute.py", line 403, in _init self.process = subproc.Subprocess(executable+' -c') File "/usr/local/lib/python2.7/site-packages/pyraf/subproc.py", line 90, in init__ self.fork() File "/usr/local/lib/python2.7/site-packages/pyraf/subproc.py", line 116, in f ork self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory
The ossos validation log doesn't show anything strange. The problem doesn't occur upon restarting the program put does occur after a period of data analysis.
— Reply to this email directly or view it on GitHub.
The program has been extremely sluggish the past two days and has been occasionally displaying the following error:
ERROR: OSError: [Errno 12] Cannot allocate memory [pyraf.subproc] Traceback (most recent call last): File "/usr/local/lib/python2.7/site-packages/ossos-0.2-py2.7.egg/ossos/gui/vie ws/validation.py", line 46, in _on_click_accept self.controller.on_accept() File "/usr/local/lib/python2.7/site-packages/ossos-0.2-py2.7.egg/ossos/gui/con trollers.py", line 207, in on_accept cen_x, cen_y, obs_mag, obs_mag_err = self.model.get_current_sourceobserved magnitude() File "/usr/local/lib/python2.7/site-packages/ossos-0.2-py2.7.egg/ossos/gui/mod els/validation.py", line 210, in get_current_source_observed_magnitude return self.get_current_cutout().get_observed_magnitude() File "/usr/local/lib/python2.7/site-packages/ossos-0.2-py2.7.egg/ossos/downloa ds/cutouts/source.py", line 138, in get_observed_magnitude maxcount=maxcount) File "/usr/local/lib/python2.7/site-packages/ossos-0.2-py2.7.egg/ossos/daophot .py", line 163, in phot_mag hdu = phot(_args, _kwargs) File "/usr/local/lib/python2.7/site-packages/ossos-0.2-py2.7.egg/ossos/daophot .py", line 113, in phot iraf.phot(fits_filename, coofile.name, magfile.name) File "/usr/local/lib/python2.7/site-packages/pyraf/iraftask.py", line 767, in call return self.run(_args, _kw) File "/usr/local/lib/python2.7/site-packages/pyraf/iraftask.py", line 359, in run self._run(redirKW, specialKW) File "/usr/local/lib/python2.7/site-packages/pyraf/iraftask.py", line 808, in _run irafexecute.IrafExecute(self, pyraf.iraf.getVarDict(), **redirKW) File "/usr/local/lib/python2.7/site-packages/pyraf/irafexecute.py", line 320, in IrafExecute irafprocess = processCache.get(task, envdict) File "/usr/local/lib/python2.7/site-packages/pyraf/irafexecute.py", line 146, in get process = IrafProcess(executable) File "/usr/local/lib/python2.7/site-packages/pyraf/irafexecute.py", line 403, in init self.process = subproc.Subprocess(executable+' -c') File "/usr/local/lib/python2.7/site-packages/pyraf/subproc.py", line 90, in init self.fork() File "/usr/local/lib/python2.7/site-packages/pyraf/subproc.py", line 116, in f ork self.pid = os.fork() OSError: [Errno 12] Cannot allocate memory
The ossos validation log doesn't show anything strange. The problem doesn't occur upon restarting the program put does occur after a period of data analysis.