{"action":"created","issue":{"url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2462","labels_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2462/labels{/name}","comments_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2462/comments","events_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2462/events","html_url":"https://github.com/DIRACGrid/DIRAC/issues/2462","id":92076938,"number":2462,"title":"[v6r12] pilotCommands __doOSG does not work: AttributeError: 'PilotParams' object has no attribute 'installScript'","user":{"login":"andresailer","id":2115797,"avatar_url":"https://avatars.githubusercontent.com/u/2115797?v=3","gravatar_id":"","url":"https://api.github.com/users/andresailer","html_url":"https://github.com/andresailer","followers_url":"https://api.github.com/users/andresailer/followers","following_url":"https://api.github.com/users/andresailer/following{/other_user}","gists_url":"https://api.github.com/users/andresailer/gists{/gist_id}","starred_url":"https://api.github.com/users/andresailer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresailer/subscriptions","organizations_url":"https://api.github.com/users/andresailer/orgs","repos_url":"https://api.github.com/users/andresailer/repos","events_url":"https://api.github.com/users/andresailer/events{/privacy}","received_events_url":"https://api.github.com/users/andresailer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DIRACGrid/DIRAC/labels/WMS","name":"WMS","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-30T12:12:56Z","updated_at":"2015-07-22T14:24:33Z","closed_at":"2015-07-22T14:24:32Z","body":"I have pilots running at IFCA-LCG2 now, which don't do anything, but end with this message:\r\n\r\n```\r\n2015-06-30 11:21:05 UTC INFO [Pilot] Command ConfigureSite instantiated from pilotCommands\r\n/usr/bin/python\r\n2.6.6 (r266:84292, Jan 22 2014, 05:06:49) \r\n[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]\r\n('Linux', 'cloudprv-05-0.ifca.es', '2.6.32-504.3.3.el6.x86_64', '#1 SMP Wed Dec 17 18:21:33 CET 2014', 'x86_64')\r\n'PilotParams' object has no attribute 'installScript'\r\n```\r\n\r\nThe pilots run the __doOSG function, because have the environment variable\r\n```\r\nOSG_WN_TMP=/tmp/6225259.1.cloud.q\r\n```\r\ndefined.\r\nThis line is then causing the error\r\nhttps://github.com/DIRACGrid/DIRAC/blob/rel-v6r13/WorkloadManagementSystem/PilotAgent/pilotCommands.py#L579\r\n```python\r\nshutil.copy( self.pp.installScript, os.path.join( osgDir, self.pp.installScriptName ) )\r\n```\r\nself.pp.installScriptName also does not exist either by the way.\r\n\r\nThe pilots I have running on an actual OSG site (PNNL) don't have this problem, their environment in different.\r\nIs this part of the code still necessary? It looks like it is a re-factoring remainder from the installation part of days gone by."},"comment":{"url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/comments/123739741","html_url":"https://github.com/DIRACGrid/DIRAC/issues/2462#issuecomment-123739741","issue_url":"https://api.github.com/repos/DIRACGrid/DIRAC/issues/2462","id":123739741,"user":{"login":"andresailer","id":2115797,"avatar_url":"https://avatars.githubusercontent.com/u/2115797?v=3","gravatar_id":"","url":"https://api.github.com/users/andresailer","html_url":"https://github.com/andresailer","followers_url":"https://api.github.com/users/andresailer/followers","following_url":"https://api.github.com/users/andresailer/following{/other_user}","gists_url":"https://api.github.com/users/andresailer/gists{/gist_id}","starred_url":"https://api.github.com/users/andresailer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andresailer/subscriptions","organizations_url":"https://api.github.com/users/andresailer/orgs","repos_url":"https://api.github.com/users/andresailer/repos","events_url":"https://api.github.com/users/andresailer/events{/privacy}","received_events_url":"https://api.github.com/users/andresailer/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T14:24:32Z","updated_at":"2015-07-22T14:24:32Z","body":"Solved by #2503"}}