dmwm / CRAB2

CRAB2
2 stars 11 forks source link

when using pwd.getpwuid(os.getuid())[0] need to import pwd first #908

Closed ericvaandering closed 10 years ago

ericvaandering commented 10 years ago

Original Savannah ticket 102146 reported by belforte on Mon Jul 29 08:26:30 2013.

found this a bug in CRAB/python/Downloader.py VMCore/Services/SiteDB/SiteDB.py

Crab2 would break anyhow if $HOME is undefined, since voms-* fails, but seems no reason to have bad code in stuff that could be called elsewhere

ericvaandering commented 10 years ago

Comment by belforte on Mon Jul 29 08:32:55 2013

fix committed /local/reps/CMSSW/COMP/WMCORE/src/python/WMCore/Services/SiteDB/SiteDB.py,v <-- SiteDB.py new revision: 1.23; previous revision: 1.22

/local/reps/CMSSW/COMP/CRAB/python/Downloader.py,v <-- Downloader.py new revision: 1.9; previous revision: 1.8

ericvaandering commented 10 years ago

Closed by belforte on Tue Aug 20 09:55:15 2013

ericvaandering commented 10 years ago

Comment by belforte on Tue Aug 20 09:55:15 2013

fix released in Crab_2_9_0