{"action":"created","issue":{"url":"https://api.github.com/repos/AIFDR/inasafe/issues/2111","labels_url":"https://api.github.com/repos/AIFDR/inasafe/issues/2111/labels{/name}","comments_url":"https://api.github.com/repos/AIFDR/inasafe/issues/2111/comments","events_url":"https://api.github.com/repos/AIFDR/inasafe/issues/2111/events","html_url":"https://github.com/AIFDR/inasafe/issues/2111","id":94289701,"number":2111,"title":"Error in Keywords creation wizard for flood raster layer (using meters as unit)","user":{"login":"machakux","id":1162444,"avatar_url":"https://avatars.githubusercontent.com/u/1162444?v=3","gravatar_id":"","url":"https://api.github.com/users/machakux","html_url":"https://github.com/machakux","followers_url":"https://api.github.com/users/machakux/followers","following_url":"https://api.github.com/users/machakux/following{/other_user}","gists_url":"https://api.github.com/users/machakux/gists{/gist_id}","starred_url":"https://api.github.com/users/machakux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machakux/subscriptions","organizations_url":"https://api.github.com/users/machakux/orgs","repos_url":"https://api.github.com/users/machakux/repos","events_url":"https://api.github.com/users/machakux/events{/privacy}","received_events_url":"https://api.github.com/users/machakux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AIFDR/inasafe/labels/User%20Interface","name":"User Interface","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"ismailsunni","id":1421861,"avatar_url":"https://avatars.githubusercontent.com/u/1421861?v=3","gravatar_id":"","url":"https://api.github.com/users/ismailsunni","html_url":"https://github.com/ismailsunni","followers_url":"https://api.github.com/users/ismailsunni/followers","following_url":"https://api.github.com/users/ismailsunni/following{/other_user}","gists_url":"https://api.github.com/users/ismailsunni/gists{/gist_id}","starred_url":"https://api.github.com/users/ismailsunni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismailsunni/subscriptions","organizations_url":"https://api.github.com/users/ismailsunni/orgs","repos_url":"https://api.github.com/users/ismailsunni/repos","events_url":"https://api.github.com/users/ismailsunni/events{/privacy}","received_events_url":"https://api.github.com/users/ismailsunni/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/AIFDR/inasafe/milestones/27","html_url":"https://github.com/AIFDR/inasafe/milestones/Version%203.2","labels_url":"https://api.github.com/repos/AIFDR/inasafe/milestones/27/labels","id":741634,"number":27,"title":"Version 3.2","description":"Freeze 15 May\r\nActual release day 1 June\r\n\r\n# Implementation\r\n\r\n- [ ] **high priority** - OOP  Impact Functions - second level inheritance - Rizky\r\n- [ ]   **High Priority** metadata as ISO 19115 XML - Marco\r\n- [ ] **Low priority** - Land cover impact function implementation (implemented as a generic IF) - Ismail\r\n- [ ] **High priority** - Soft coding attribute selection for exposure and hazard data (move to layer keywords) - @akbar / @ismailsunni\r\n  * by keywords e.g. user defines a keyword which indicates which column contains type - @ismailsunni\r\n- [ ] Prompt user to update keywords if no version: tag exists - @cchristelis\r\n- [ ] Improve analysis area selection - @ timlinux (#1811)\r\n- [ ] implement IF progress callbacks - @timlinux\r\n- [ ] **High Priority** - Initial InaWARE / PDC integration requirements specification - deferred from 3.1\r\n- [ ] Identify generic GIS functionality and port to QGIS - Martin\r\n- [ ] Improved raster resampling implementation  / tool - Martin\r\n- [X] Generic impact functions - Ismail\r\n- [ ] Network analysis on OSM roads - Etienne\r\n- [ ]  Support downloading political boundaries with OSM downloader - Etienne\r\n- [ ] Support downloading potential IDP camps with OSM downloader - Etienne\r\n- [ ] Support for user input to minimum needs (done), post processors & aggregation to use new style parameters - Jannes\r\n- [ ] Generic impact functions implemented as ContinuousRHContinuosRE IF, ContinuousRHClassifiedVE etc - finalise - Rizky\r\n- [ ] **Low priority** - People in buildings impact function based on PIB assignment tool from 3.1\r\n- [ ] **high priority** - Add population and roads reporting mixins to new IF's - Christian\r\n- [ ] Implementation of new A3 template (e.g. https://cloud.githubusercontent.com/assets/8871958/7410837/beea7806-ef5c-11e4-87cd-fd6014c16778.jpg)  -Borys\r\n\r\n\r\n\r\n# Web\r\n\r\n- [ ] Initial implementation of realtime Django APP (with pager style reporting) - Akbar / Rizky carried over from 3.1\r\n- [ ] Deployment of GeoNode instance for InaSAFE - Gavin\r\n- [ ] Theming of all InaSAFE web properties according to styles guidelines - Maria\r\n- [ ] InaSAFE Realtime (Rizky and Christian):\r\n    * docker container inasafe\r\n    * internal api for docker\r\n    * external api for docker\r\n        * cli\r\n        * python api\r\n    * django project\r\n    * adapter for django app to call and run InaSAFE jobs in docker using python api\r\n    * app for django app to display events in tabular and map form\r\n    * rest api for django app to fetch events programmatically\r\n    * adapter for django to go off and poll for updates from feeds\r\n    * rest API for feeds that push rather than need to be pulled\r\n    * wrapper for different supported feeds (we will need to implement on a case by case basis)\r\n\r\n![Realtime architecture](https://s3-eu-west-1.amazonaws.com/uploads-eu.hipchat.com/35909/249331/oTjZfsa9raWc4hY/RealtimeDjango%20-%20Data%20Model%20%281%29.png)\r\n\r\n- [ ] Extension to PDC / InAWARE support publishing reports to InAWARE (need to clarify if this is push from desktop or push from realtime) - Rizky\r\n","creator":{"login":"Charlotte-Morgan","id":5743135,"avatar_url":"https://avatars.githubusercontent.com/u/5743135?v=3","gravatar_id":"","url":"https://api.github.com/users/Charlotte-Morgan","html_url":"https://github.com/Charlotte-Morgan","followers_url":"https://api.github.com/users/Charlotte-Morgan/followers","following_url":"https://api.github.com/users/Charlotte-Morgan/following{/other_user}","gists_url":"https://api.github.com/users/Charlotte-Morgan/gists{/gist_id}","starred_url":"https://api.github.com/users/Charlotte-Morgan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Charlotte-Morgan/subscriptions","organizations_url":"https://api.github.com/users/Charlotte-Morgan/orgs","repos_url":"https://api.github.com/users/Charlotte-Morgan/repos","events_url":"https://api.github.com/users/Charlotte-Morgan/events{/privacy}","received_events_url":"https://api.github.com/users/Charlotte-Morgan/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":15,"state":"open","created_at":"2014-08-04T05:56:54Z","updated_at":"2015-07-10T11:34:54Z","due_on":"2015-06-29T17:00:00Z","closed_at":null},"comments":3,"created_at":"2015-07-10T11:33:13Z","updated_at":"2015-07-10T12:18:05Z","closed_at":null,"body":"Error in creating a keywords for a raster layer using keywords creation wizard. \r\n\r\nWhen creating keyword using the wizard everything goes well except in the last stage which gives the `TypeError` \r\n\r\n    An error has occured while executing Python code:\r\n\r\n\r\n    Traceback (most recent call last):\r\n      File \"/home/user/.qgis2/python/plugins/inasafe/safe/gui/tools/wizard_dialog.py\", line 3014, in on_pbnNext_released\r\n        self.set_widgets_step_kw_source()\r\n      File \"/home/user/.qgis2/python/plugins/inasafe/safe/gui/tools/wizard_dialog.py\", line 1404, in set_widgets_step_kw_source\r\n        self.leSource_date.setText(source_date)\r\n    TypeError: QLineEdit.setText(QString): argument 1 has unexpected type 'int'\r\n\r\n\r\n    Python version:\r\n    2.7.6 (default, Mar 22 2014, 23:03:41) \r\n    [GCC 4.8.2]\r\n\r\n\r\n    QGIS version:\r\n    2.8.2-Wien Wien, exported\r\n\r\n    Python path: ['/usr/share/qgis/python/plugins/processing', '/home/user/.qgis2/python/plugins/GeoCoding/libs', '/usr/share/qgis/python', u'/home/user/.qgis2/python', u'/home/user/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', u'/home/user/.qgis2//python', '/home/user/.qgis2/python/plugins/mmqgis/forms', '/home/user/.qgis2/python/plugins/inasafe', '/home/user/.qgis2/python/plugins/inasafe/safe_extras/parameters', '/home/user/.qgis2/python/plugins', '/home/user/.qgis2/python/plugins/inasafe/safe_extras', '/usr/share/qgis/python/plugins/fTools/tools']\r\n\r\nThings seems to work fine if I create the keyword file manually using a text editor\r\n\r\ncategory: hazard\r\nsubcategory: flood\r\nunit: meters \r\n...\r\n\r\nQGIS version: 2.8.2\r\nInasafe version: 3.1.0 (Installed from default QGIS plugin repository)\r\nOS: Ubuntu 14.04 64bit\r\n\r\ncc: @vdeparday "},"comment":{"url":"https://api.github.com/repos/AIFDR/inasafe/issues/comments/120397733","html_url":"https://github.com/AIFDR/inasafe/issues/2111#issuecomment-120397733","issue_url":"https://api.github.com/repos/AIFDR/inasafe/issues/2111","id":120397733,"user":{"login":"machakux","id":1162444,"avatar_url":"https://avatars.githubusercontent.com/u/1162444?v=3","gravatar_id":"","url":"https://api.github.com/users/machakux","html_url":"https://github.com/machakux","followers_url":"https://api.github.com/users/machakux/followers","following_url":"https://api.github.com/users/machakux/following{/other_user}","gists_url":"https://api.github.com/users/machakux/gists{/gist_id}","starred_url":"https://api.github.com/users/machakux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machakux/subscriptions","organizations_url":"https://api.github.com/users/machakux/orgs","repos_url":"https://api.github.com/users/machakux/repos","events_url":"https://api.github.com/users/machakux/events{/privacy}","received_events_url":"https://api.github.com/users/machakux/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T12:18:05Z","updated_at":"2015-07-10T12:18:05Z","body":"It was a raster layer @timlinux"}}