{"action":"opened","issue":{"url":"https://api.github.com/repos/linz/QGIS-AIMS-Plugin/issues/79","repository_url":"https://api.github.com/repos/linz/QGIS-AIMS-Plugin","labels_url":"https://api.github.com/repos/linz/QGIS-AIMS-Plugin/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/linz/QGIS-AIMS-Plugin/issues/79/comments","events_url":"https://api.github.com/repos/linz/QGIS-AIMS-Plugin/issues/79/events","html_url":"https://github.com/linz/QGIS-AIMS-Plugin/issues/79","id":157414330,"number":79,"title":"Retire Address - Python Error","user":{"login":"Deb-Jones","id":15723101,"avatar_url":"https://avatars.githubusercontent.com/u/15723101?v=3","gravatar_id":"","url":"https://api.github.com/users/Deb-Jones","html_url":"https://github.com/Deb-Jones","followers_url":"https://api.github.com/users/Deb-Jones/followers","following_url":"https://api.github.com/users/Deb-Jones/following{/other_user}","gists_url":"https://api.github.com/users/Deb-Jones/gists{/gist_id}","starred_url":"https://api.github.com/users/Deb-Jones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deb-Jones/subscriptions","organizations_url":"https://api.github.com/users/Deb-Jones/orgs","repos_url":"https://api.github.com/users/Deb-Jones/repos","events_url":"https://api.github.com/users/Deb-Jones/events{/privacy}","received_events_url":"https://api.github.com/users/Deb-Jones/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/linz/QGIS-AIMS-Plugin/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"SPlanzer","id":10425696,"avatar_url":"https://avatars.githubusercontent.com/u/10425696?v=3","gravatar_id":"","url":"https://api.github.com/users/SPlanzer","html_url":"https://github.com/SPlanzer","followers_url":"https://api.github.com/users/SPlanzer/followers","following_url":"https://api.github.com/users/SPlanzer/following{/other_user}","gists_url":"https://api.github.com/users/SPlanzer/gists{/gist_id}","starred_url":"https://api.github.com/users/SPlanzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SPlanzer/subscriptions","organizations_url":"https://api.github.com/users/SPlanzer/orgs","repos_url":"https://api.github.com/users/SPlanzer/repos","events_url":"https://api.github.com/users/SPlanzer/events{/privacy}","received_events_url":"https://api.github.com/users/SPlanzer/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/linz/QGIS-AIMS-Plugin/milestones/2","html_url":"https://github.com/linz/QGIS-AIMS-Plugin/milestones/version-1.1","labels_url":"https://api.github.com/repos/linz/QGIS-AIMS-Plugin/milestones/2/labels","id":1746651,"number":2,"title":"version-1.1","description":"Issues that are part of AIMS 1 but can be implemented post-go-live.","creator":{"login":"Deb-Jones","id":15723101,"avatar_url":"https://avatars.githubusercontent.com/u/15723101?v=3","gravatar_id":"","url":"https://api.github.com/users/Deb-Jones","html_url":"https://github.com/Deb-Jones","followers_url":"https://api.github.com/users/Deb-Jones/followers","following_url":"https://api.github.com/users/Deb-Jones/following{/other_user}","gists_url":"https://api.github.com/users/Deb-Jones/gists{/gist_id}","starred_url":"https://api.github.com/users/Deb-Jones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Deb-Jones/subscriptions","organizations_url":"https://api.github.com/users/Deb-Jones/orgs","repos_url":"https://api.github.com/users/Deb-Jones/repos","events_url":"https://api.github.com/users/Deb-Jones/events{/privacy}","received_events_url":"https://api.github.com/users/Deb-Jones/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":9,"state":"open","created_at":"2016-05-04T04:26:19Z","updated_at":"2016-05-30T00:33:34Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-05-30T00:33:34Z","updated_at":"2016-05-30T00:33:34Z","closed_at":null,"body":"Testing 0.8.9\r\n\r\n1. Select the retire address tool.\r\n2. Click on an existing address.\r\n3. Pop up saying address will be retired. Click OK.\r\n\r\nThe retire appears on the change queue.\r\nThe address is shown on the map as a pending retire.\r\nA python error displays.\r\n\r\n4. Accept retire.\r\n\r\nThe point disappears from the map.\r\nThe retire disappears from the change queue.\r\nA row is added to the address_publish table for retired.\r\nThe previous row is updated in the address_publish table to latest = f.\r\n\r\nSo, functionally working correctly. Should not get the python error.\r\nAssigned version 1.1 because we could go live with it, but we want it fixed.\r\n\r\nTraceback (most recent call last):\r\n  File \"D:/Users/djjones/.qgis2/python/plugins\\aims\\AimsUI\\AimsClient\\Gui\\ReviewQueueWidget.py\", line 166, in featureSelected\r\n    self.setMarker(self.uidm.reviewItemCoords(self.currentGroup, self.currentFeatureKey))\r\n  File \"D:\\Users\\djjones\\.qgis2\\python\\plugins\\aims\\AimsUI\\AimsClient\\Gui\\UiDataManager.py\", line 409, in reviewItemCoords\r\n    pos = obj.meta.entities[0].getAddressPositions()[0]._position_coordinates\r\nIndexError: list index out of range\r\n\r\n\r\nPython version:\r\n2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]\r\n\r\n\r\nQGIS version:\r\n2.8.7-Wien Wien, 8a47921\r\n\r\nPython path: ['D:/Users/djjones/.qgis2/python/plugins\\\\processing', 'D:\\\\Users\\\\djjones\\\\.qgis2\\\\python\\\\plugins\\\\aims', 'G:/QGIS28/apps/qgis-ltr/./python', u'D:/Users/djjones/.qgis2/python', u'D:/Users/djjones/.qgis2/python/plugins', 'G:/QGIS28/apps/qgis-ltr/./python/plugins', 'C:\\\\Program Files (x86)\\\\ArcGIS\\\\bin', 'G:\\\\QGIS28\\\\bin\\\\python27.zip', 'G:\\\\QGIS28\\\\apps\\\\Python27\\\\DLLs', 'G:\\\\QGIS28\\\\apps\\\\Python27\\\\lib', 'G:\\\\QGIS28\\\\apps\\\\Python27\\\\lib\\\\plat-win', 'G:\\\\QGIS28\\\\apps\\\\Python27\\\\lib\\\\lib-tk', 'G:\\\\QGIS28\\\\bin', 'G:\\\\QGIS28\\\\apps\\\\Python27', 'G:\\\\QGIS28\\\\apps\\\\Python27\\\\lib\\\\site-packages', 'G:\\\\QGIS28\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\PIL', 'G:\\\\QGIS28\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\jinja2-2.7.2-py2.7.egg', 'G:\\\\QGIS28\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\markupsafe-0.23-py2.7-win32.egg', 'G:\\\\QGIS28\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\python_dateutil-2.2-py2.7.egg', 'G:\\\\QGIS28\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\pytz-2014.2-py2.7.egg', 'G:\\\\QGIS28\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\win32', 'G:\\\\QGIS28\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\win32\\\\lib', 'G:\\\\QGIS28\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\Pythonwin', 'G:\\\\QGIS28\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\Shapely-1.2.18-py2.7-win32.egg', 'G:\\\\QGIS28\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\six-1.10.0-py2.7.egg', 'G:\\\\QGIS28\\\\apps\\\\Python27\\\\lib\\\\site-packages\\\\wx-2.8-msw-unicode', u'D:/Users/djjones/.qgis2//python', '..', '.qgis2/python/plugins/AIMS_Plugin_threaded', '/opt/eclipse/plugins/org.python.pydev_4.4.0.201510052309/pysrc', '/opt/eclipse/plugins/org.python.pydev_4.4.0.201510052309/pysrc', '/opt/eclipse/plugins/org.python.pydev_4.4.0.201510052309/pysrc', '/opt/eclipse/plugins/org.python.pydev_4.4.0.201510052309/pysrc', 'D:\\\\Users\\\\djjones\\\\.qgis2\\\\python\\\\plugins\\\\intramaps_qgis\\\\ui', 'G:\\\\QGIS28\\\\apps\\\\qgis-ltr\\\\python\\\\plugins\\\\ElectoralAddressPlugin', 'G:\\\\QGIS28\\\\apps\\\\qgis-ltr\\\\python\\\\plugins\\\\fTools\\\\tools', '.qgis2/python/plugins/AIMS_Plugin_threaded', '/opt/eclipse/plugins/org.python.pydev_4.4.0.201510052309/pysrc']\r\n\r\n"}}
{"actor":{"display_login":"Deb-Jones"}}