{"action":"created","issue":{"url":"https://api.github.com/repos/ganga-devs/ganga/issues/173","repository_url":"https://api.github.com/repos/ganga-devs/ganga","labels_url":"https://api.github.com/repos/ganga-devs/ganga/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/ganga-devs/ganga/issues/173/comments","events_url":"https://api.github.com/repos/ganga-devs/ganga/issues/173/events","html_url":"https://github.com/ganga-devs/ganga/issues/173","id":131083847,"number":173,"title":"LHCbTasks bug in 6.1.X with delete_chain_input = True","user":{"login":"olupton","id":6459623,"avatar_url":"https://avatars.githubusercontent.com/u/6459623?v=3","gravatar_id":"","url":"https://api.github.com/users/olupton","html_url":"https://github.com/olupton","followers_url":"https://api.github.com/users/olupton/followers","following_url":"https://api.github.com/users/olupton/following{/other_user}","gists_url":"https://api.github.com/users/olupton/gists{/gist_id}","starred_url":"https://api.github.com/users/olupton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olupton/subscriptions","organizations_url":"https://api.github.com/users/olupton/orgs","repos_url":"https://api.github.com/users/olupton/repos","events_url":"https://api.github.com/users/olupton/events{/privacy}","received_events_url":"https://api.github.com/users/olupton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ganga-devs/ganga/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ganga-devs/ganga/labels/LHCb","name":"LHCb","color":"d4c5f9"}],"state":"open","locked":false,"assignee":{"login":"rob-c","id":1102021,"avatar_url":"https://avatars.githubusercontent.com/u/1102021?v=3","gravatar_id":"","url":"https://api.github.com/users/rob-c","html_url":"https://github.com/rob-c","followers_url":"https://api.github.com/users/rob-c/followers","following_url":"https://api.github.com/users/rob-c/following{/other_user}","gists_url":"https://api.github.com/users/rob-c/gists{/gist_id}","starred_url":"https://api.github.com/users/rob-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rob-c/subscriptions","organizations_url":"https://api.github.com/users/rob-c/orgs","repos_url":"https://api.github.com/users/rob-c/repos","events_url":"https://api.github.com/users/rob-c/events{/privacy}","received_events_url":"https://api.github.com/users/rob-c/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ganga-devs/ganga/milestones/4","html_url":"https://github.com/ganga-devs/ganga/milestones/6.1.16","labels_url":"https://api.github.com/repos/ganga-devs/ganga/milestones/4/labels","id":1489242,"number":4,"title":"6.1.16","description":"","creator":{"login":"egede","id":4319174,"avatar_url":"https://avatars.githubusercontent.com/u/4319174?v=3","gravatar_id":"","url":"https://api.github.com/users/egede","html_url":"https://github.com/egede","followers_url":"https://api.github.com/users/egede/followers","following_url":"https://api.github.com/users/egede/following{/other_user}","gists_url":"https://api.github.com/users/egede/gists{/gist_id}","starred_url":"https://api.github.com/users/egede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egede/subscriptions","organizations_url":"https://api.github.com/users/egede/orgs","repos_url":"https://api.github.com/users/egede/repos","events_url":"https://api.github.com/users/egede/events{/privacy}","received_events_url":"https://api.github.com/users/egede/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":1,"state":"open","created_at":"2016-01-07T10:47:56Z","updated_at":"2016-02-04T12:38:48Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2016-02-03T16:48:42Z","updated_at":"2016-02-04T12:40:01Z","closed_at":null,"body":"Hi,\r\n\r\nThere is a minor bug with LHCbTasks in 6.1.13 when using transforms that delete their input data:\r\n\r\n```\r\nGanga.GPIDev.Lib.Tasks             : ERROR    Full traceback:\r\n Traceback (most recent call last):\r\n   File \"/cvmfs/lhcb.cern.ch/lib/lhcb/GANGA/GANGA_v601r13/install/ganga/python/Ganga/GPIDev/Lib/Tasks/TaskRegistry.py\", line 149, in _thread_main\r\n    p.update()\r\n   File \"/cvmfs/lhcb.cern.ch/lib/lhcb/GANGA/GANGA_v601r13/install/ganga/python/Ganga/GPIDev/Lib/Tasks/ITask.py\", line 101, in update\r\n    if trf.update() and not self.check_all_trfs:\r\n   File \"/cvmfs/lhcb.cern.ch/lib/lhcb/GANGA/GANGA_v601r13/install/ganga/python/Ganga/GPIDev/Lib/Tasks/ITransform.py\", line 248, in update\r\n    if unit.update() and self.abort_loop_on_submit:\r\n   File \"/cvmfs/lhcb.cern.ch/lib/lhcb/GANGA/GANGA_v601r13/install/ganga/python/Ganga/GPIDev/Lib/Tasks/IUnit.py\", line 241, in update\r\n    self.updateStatus(\"completed\")\r\n   File \"/cvmfs/lhcb.cern.ch/lib/lhcb/GANGA/GANGA_v601r13/install/ganga/python/GangaLHCb/Lib/Tasks/LHCbUnit.py\", line 106, in updateStatus\r\n    \"Removing chain inputdata file '%s'...\" % f.name)\r\n   File \"/cvmfs/lhcb.cern.ch/lib/lhcb/GANGA/GANGA_v601r13/install/ganga/python/Ganga/GPIDev/Base/Proxy.py\", line 567, in _getattribute\r\n    return object.__getattribute__(self, name)\r\n AttributeError: 'DiracFile' object has no attribute 'name'\r\n```\r\n\r\nThe offending line is still present in git:\r\nhttps://github.com/ganga-devs/ganga/blob/develop/python/GangaLHCb/Lib/Tasks/LHCbUnit.py#L105\r\n\r\nThis seems to be a hangover from the change to DiracFile from LogicalFile in 6.1.X?\r\nI'm not sure what it should be changed to; for DiracFile then f.lfn would be appropriate, but this wouldn't make sense for other types of file."},"comment":{"url":"https://api.github.com/repos/ganga-devs/ganga/issues/comments/179810657","html_url":"https://github.com/ganga-devs/ganga/issues/173#issuecomment-179810657","issue_url":"https://api.github.com/repos/ganga-devs/ganga/issues/173","id":179810657,"user":{"login":"rob-c","id":1102021,"avatar_url":"https://avatars.githubusercontent.com/u/1102021?v=3","gravatar_id":"","url":"https://api.github.com/users/rob-c","html_url":"https://github.com/rob-c","followers_url":"https://api.github.com/users/rob-c/followers","following_url":"https://api.github.com/users/rob-c/following{/other_user}","gists_url":"https://api.github.com/users/rob-c/gists{/gist_id}","starred_url":"https://api.github.com/users/rob-c/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rob-c/subscriptions","organizations_url":"https://api.github.com/users/rob-c/orgs","repos_url":"https://api.github.com/users/rob-c/repos","events_url":"https://api.github.com/users/rob-c/events{/privacy}","received_events_url":"https://api.github.com/users/rob-c/received_events","type":"User","site_admin":false},"created_at":"2016-02-04T12:40:01Z","updated_at":"2016-02-04T12:40:01Z","body":"@olupton I've updated the branch again with fixes for most of the problems reported here"}}