{"action":"created","issue":{"url":"https://api.github.com/repos/gem/oq-engine/issues/1921","labels_url":"https://api.github.com/repos/gem/oq-engine/issues/1921/labels{/name}","comments_url":"https://api.github.com/repos/gem/oq-engine/issues/1921/comments","events_url":"https://api.github.com/repos/gem/oq-engine/issues/1921/events","html_url":"https://github.com/gem/oq-engine/pull/1921","id":123813964,"number":1921,"title":"Killed the engine","user":{"login":"micheles","id":2463856,"avatar_url":"https://avatars.githubusercontent.com/u/2463856?v=3","gravatar_id":"","url":"https://api.github.com/users/micheles","html_url":"https://github.com/micheles","followers_url":"https://api.github.com/users/micheles/followers","following_url":"https://api.github.com/users/micheles/following{/other_user}","gists_url":"https://api.github.com/users/micheles/gists{/gist_id}","starred_url":"https://api.github.com/users/micheles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micheles/subscriptions","organizations_url":"https://api.github.com/users/micheles/orgs","repos_url":"https://api.github.com/users/micheles/repos","events_url":"https://api.github.com/users/micheles/events{/privacy}","received_events_url":"https://api.github.com/users/micheles/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gem/oq-engine/labels/enhancement","name":"enhancement","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"daniviga","id":1818657,"avatar_url":"https://avatars.githubusercontent.com/u/1818657?v=3","gravatar_id":"","url":"https://api.github.com/users/daniviga","html_url":"https://github.com/daniviga","followers_url":"https://api.github.com/users/daniviga/followers","following_url":"https://api.github.com/users/daniviga/following{/other_user}","gists_url":"https://api.github.com/users/daniviga/gists{/gist_id}","starred_url":"https://api.github.com/users/daniviga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniviga/subscriptions","organizations_url":"https://api.github.com/users/daniviga/orgs","repos_url":"https://api.github.com/users/daniviga/repos","events_url":"https://api.github.com/users/daniviga/events{/privacy}","received_events_url":"https://api.github.com/users/daniviga/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/gem/oq-engine/milestones/4","html_url":"https://github.com/gem/oq-engine/milestones/Engine%201.8.0","labels_url":"https://api.github.com/repos/gem/oq-engine/milestones/4/labels","id":1459849,"number":4,"title":"Engine 1.8.0","description":null,"creator":{"login":"micheles","id":2463856,"avatar_url":"https://avatars.githubusercontent.com/u/2463856?v=3","gravatar_id":"","url":"https://api.github.com/users/micheles","html_url":"https://github.com/micheles","followers_url":"https://api.github.com/users/micheles/followers","following_url":"https://api.github.com/users/micheles/following{/other_user}","gists_url":"https://api.github.com/users/micheles/gists{/gist_id}","starred_url":"https://api.github.com/users/micheles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micheles/subscriptions","organizations_url":"https://api.github.com/users/micheles/orgs","repos_url":"https://api.github.com/users/micheles/repos","events_url":"https://api.github.com/users/micheles/events{/privacy}","received_events_url":"https://api.github.com/users/micheles/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":8,"state":"open","created_at":"2015-12-14T18:33:56Z","updated_at":"2016-01-08T06:01:41Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-12-24T15:32:40Z","updated_at":"2016-01-11T12:34:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gem/oq-engine/pulls/1921","html_url":"https://github.com/gem/oq-engine/pull/1921","diff_url":"https://github.com/gem/oq-engine/pull/1921.diff","patch_url":"https://github.com/gem/oq-engine/pull/1921.patch"},"body":"This is the *coup de grace* for the old engine. Over 11,000 lines of code have been removed. All calculators have been replaced with the oq-lite calculators and Django has been removed from all the database tables except OqJob, JobStats, Performance and Log. Celery is now optional and not needed in a single machine configuration. \r\nThe next steps are to remove Django completely from the engine (but not from the engine server) and to replace PostgreSQL with SQLite.\r\n\r\nThis branch will require a lot of manual testing which is left for next year.\r\n\r\nTests and demos are green: https://ci.openquake.org/job/zdevel_oq-engine/1574"},"comment":{"url":"https://api.github.com/repos/gem/oq-engine/issues/comments/170530303","html_url":"https://github.com/gem/oq-engine/pull/1921#issuecomment-170530303","issue_url":"https://api.github.com/repos/gem/oq-engine/issues/1921","id":170530303,"user":{"login":"daniviga","id":1818657,"avatar_url":"https://avatars.githubusercontent.com/u/1818657?v=3","gravatar_id":"","url":"https://api.github.com/users/daniviga","html_url":"https://github.com/daniviga","followers_url":"https://api.github.com/users/daniviga/followers","following_url":"https://api.github.com/users/daniviga/following{/other_user}","gists_url":"https://api.github.com/users/daniviga/gists{/gist_id}","starred_url":"https://api.github.com/users/daniviga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniviga/subscriptions","organizations_url":"https://api.github.com/users/daniviga/orgs","repos_url":"https://api.github.com/users/daniviga/repos","events_url":"https://api.github.com/users/daniviga/events{/privacy}","received_events_url":"https://api.github.com/users/daniviga/received_events","type":"User","site_admin":false},"created_at":"2016-01-11T12:34:51Z","updated_at":"2016-01-11T12:34:51Z","body":"An `OATS` user reported that if the export is run on the same command as the calculation, like \r\n```bash\r\n$ oq-engine --rh job.ini --exports xml\r\n```\r\nthe export is not performed. Export works if it's done afterwards:\r\n```\r\n$oq-engine --export-outputs -1 /tmp\r\n```\r\nbut the message printed is a bit misleading because it says:\r\n```\r\nExporting 108||datastore||uhs...\r\nFile Exported:\r\n/tmp/.uhs-xml.zip\r\nExporting 109||datastore||hcurves...\r\nFile Exported:\r\n/tmp/.hcurves-xml.zip\r\n```\r\ninstead not only the (hidden) zips are exported but also the xml and csv files, so probably it would be better to just say `files exported  to /tmp`."}}