Project

General

Profile

Bug #4291

AccessDenied

Added by Ben Hambrecht over 6 years ago.

Status:
New
Priority:
Urgent
Start date:
07/03/2013
Due date:
% Done:

0%

Estimated time:
Duration:

Description

AccessDenied even if I sudo. I can't run anything beyond.

Can either of you point out a workaround for the time being?

=============================
entered Target Selection
=============================
... performed simple cuts
... performed ELG cuts
... performed LRG cuts
... computed target selection flag
... wrote target selection flag to disk
... computed target selection flag
... selected: 64
... discarded: 28
... undefined: 0
=== total: 92

****************************
*** checksum passed ***
****************************
... wrote target selection flag to disk
---------------------------------------------------------------------------
AccessDenied                              Traceback (most recent call last)
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/utils/py3compat.pyc in execfile(fname, *where)
    176             else:
    177                 filename = fname
--> 178             __builtin__.execfile(filename, *where)

/Users/ben/Documents/DESpec/repo/despec/Wrapper/run_pipeline.py in <module>()
    605         print " " 
    606         g = glue()
--> 607         g.glue()
    608 
    609         with archive.archive('../../data/data_bank.h5','r') as ar:

/Users/ben/Documents/DESpec/repo/despec/Wrapper/run_pipeline.py in glue(self)
    597                                 runUntil = self.commandline.runUntil+1
    598 
--> 599                         self.runPipeline(runFrom, runUntil)
    600 
    601 if __name__ == '__main__':

/Users/ben/Documents/DESpec/repo/despec/Wrapper/run_pipeline.py in runPipeline(self, runFrom, runUntil)
    509 
    510         def runPipeline(self, runFrom, runUntil):
--> 511                 self.modules.run(runFrom, runUntil, self.runId)
    512 
    513         def dumpParamFile(self, file):

/Users/ben/Documents/DESpec/repo/despec/Wrapper/run_pipeline.py in run(self, runFrom, runUntil, runId)
    444                 #run pipeline
    445                 for i in range(runFrom, runUntil):
--> 446                         self.runModule(self.modules[i])
    447 
    448                 print "\n\n************************** postrun modules **************************\n" 

/Users/ben/Documents/DESpec/repo/despec/Wrapper/run_pipeline.py in runModule(self, module)
    361                         self.execProfile(module)
    362                 elif self.config.has_option("options", "memprofile") and (self.config.get("options", "memprofile") == 'True'):
--> 363                         self.execMemProfile(module)
    364                 elif module['mpi_jobs'] != None and module['mpi_jobs'] > 1:
    365                         self.execBrutusMPI(module)

/Users/ben/Documents/DESpec/repo/despec/Wrapper/run_pipeline.py in execMemProfile(self, module)
    305                 try:
    306                         ptimer.execute()
--> 307                         while ptimer.poll():
    308                                 time.sleep(.2)
    309                 finally:

/Users/ben/Documents/DESpec/repo/despec/Wrapper/run_pipeline.py in poll(self)
     65       for descendant in descendants:
     66         try:
---> 67           mem_info = descendant.get_memory_info()
     68 
     69           rss_memory += mem_info[0]

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/psutil/__init__.pyc in get_memory_info(self)
    622         of taskmgr.exe.
    623         """ 
--> 624         return self._platform_impl.get_memory_info()
    625 
    626     def get_ext_memory_info(self):

/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/psutil/_psosx.pyc in wrapper(self, *args, **kwargs)
    137                 raise NoSuchProcess(self.pid, self._process_name)
    138             if err.errno in (errno.EPERM, errno.EACCES):
--> 139                 raise AccessDenied(self.pid, self._process_name)
    140             raise
    141     return wrapper

AccessDenied: (pid=93342)


Also available in: Atom PDF