ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/LFNBaseName.py
(Generate patch)

Comparing COMP/CRAB/python/LFNBaseName.py (file contents):
Revision 1.5 by afanfani, Wed May 28 13:01:17 2008 UTC vs.
Revision 1.6 by afanfani, Wed May 28 18:18:05 2008 UTC

# Line 62 | Line 62 | def gethnUserName():
62          try:
63              userinfo= eval(udata)
64          except StandardError, ex:
65 <            msg = "Error. Problem extracting user name from %s : %s"%(sitedburl,ex)
65 >            msg = "Error. Problem extracting user name from %s : %s \n SiteDB call output: \n %s"%(sitedburl,ex,udata)
66              raise CrabException(msg)
67          hnUserName = userinfo['user']
68      except:
69 <        msg = "Error. Problem extracting user name from %s"%sitedburl
70 <        msg += "Check that you are registered in SiteDB, see https://twiki.cern.ch/twiki/bin/view/CMS/SiteDBForCRAB"
69 >        msg = "Error. Problem extracting user name from %s "%sitedburl
70 >        msg += "\n Check that you are registered in SiteDB, see https://twiki.cern.ch/twiki/bin/view/CMS/SiteDBForCRAB"
71 >        msg += "\n SiteDB call output: \n %s"%udata
72          raise CrabException(msg)
73      if not hnUserName:
74          msg = "Error. There is no user name associated to DN %s in %s. You need to register in SiteDB with the instructions at https://twiki.cern.ch/twiki/bin/view/CMS/SiteDBForCRAB"%(userdn,sitedburl)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines