{"action":"closed","issue":{"url":"https://api.github.com/repos/owtf/owtf/issues/404","repository_url":"https://api.github.com/repos/owtf/owtf","labels_url":"https://api.github.com/repos/owtf/owtf/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/owtf/owtf/issues/404/comments","events_url":"https://api.github.com/repos/owtf/owtf/issues/404/events","html_url":"https://github.com/owtf/owtf/issues/404","id":66386925,"number":404,"title":"OWTF-DV-004 semi passive no output","user":{"login":"marioskourtesis","id":4330999,"avatar_url":"https://avatars.githubusercontent.com/u/4330999?v=3","gravatar_id":"","url":"https://api.github.com/users/marioskourtesis","html_url":"https://github.com/marioskourtesis","followers_url":"https://api.github.com/users/marioskourtesis/followers","following_url":"https://api.github.com/users/marioskourtesis/following{/other_user}","gists_url":"https://api.github.com/users/marioskourtesis/gists{/gist_id}","starred_url":"https://api.github.com/users/marioskourtesis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marioskourtesis/subscriptions","organizations_url":"https://api.github.com/users/marioskourtesis/orgs","repos_url":"https://api.github.com/users/marioskourtesis/repos","events_url":"https://api.github.com/users/marioskourtesis/events{/privacy}","received_events_url":"https://api.github.com/users/marioskourtesis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owtf/owtf/labels/Bug","name":"Bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"delta24","id":4557897,"avatar_url":"https://avatars.githubusercontent.com/u/4557897?v=3","gravatar_id":"","url":"https://api.github.com/users/delta24","html_url":"https://github.com/delta24","followers_url":"https://api.github.com/users/delta24/followers","following_url":"https://api.github.com/users/delta24/following{/other_user}","gists_url":"https://api.github.com/users/delta24/gists{/gist_id}","starred_url":"https://api.github.com/users/delta24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delta24/subscriptions","organizations_url":"https://api.github.com/users/delta24/orgs","repos_url":"https://api.github.com/users/delta24/repos","events_url":"https://api.github.com/users/delta24/events{/privacy}","received_events_url":"https://api.github.com/users/delta24/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/owtf/owtf/milestones/5","html_url":"https://github.com/owtf/owtf/milestones/OWTF%20Quality%20Release","labels_url":"https://api.github.com/repos/owtf/owtf/milestones/5/labels","id":1510714,"number":5,"title":"OWTF Quality Release","description":"Fix outstanding bugs to make OWTF rock stable for large assessments (> 60 URLs).","creator":{"login":"delta24","id":4557897,"avatar_url":"https://avatars.githubusercontent.com/u/4557897?v=3","gravatar_id":"","url":"https://api.github.com/users/delta24","html_url":"https://github.com/delta24","followers_url":"https://api.github.com/users/delta24/followers","following_url":"https://api.github.com/users/delta24/following{/other_user}","gists_url":"https://api.github.com/users/delta24/gists{/gist_id}","starred_url":"https://api.github.com/users/delta24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delta24/subscriptions","organizations_url":"https://api.github.com/users/delta24/orgs","repos_url":"https://api.github.com/users/delta24/repos","events_url":"https://api.github.com/users/delta24/events{/privacy}","received_events_url":"https://api.github.com/users/delta24/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":21,"state":"open","created_at":"2016-01-17T04:23:00Z","updated_at":"2016-02-13T05:33:00Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-04-05T01:17:33Z","updated_at":"2016-02-13T05:33:00Z","closed_at":"2016-02-13T05:33:00Z","body":"Execurting the semi_passive/OWTF-DV-004 plug-in returns no output and logs the following error in the /tmp/owtf/ui_server.log\r\n\r\n[E 150404 21:09:47 web:1407] Uncaught exception POST /api/worklist/ (127.0.0.1)\r\n    HTTPServerRequest(protocol='http', host='127.0.0.1:8009', method='POST', uri='/api/worklist/', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Content-Length': '70', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate', 'Host': '127.0.0.1:8009', 'Accept': '*/*', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.6.0', 'Connection': 'keep-alive', 'X-Requested-With': 'XMLHttpRequest', 'Pragma': 'no-cache', 'Cache-Control': 'no-cache', 'Referer': 'http://127.0.0.1:8009/ui/targets/5', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'})\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python2.7/dist-packages/tornado/web.py\", line 1332, in _execute\r\n        result = method(*self.path_args, **self.path_kwargs)\r\n      File \"/root/owtf/framework/interface/api_handlers.py\", line 608, in post\r\n        self.get_argument(\"force_overwrite\", \"False\"))\r\n      File \"/root/owtf/framework/db/worklist_manager.py\", line 165, in add_work\r\n        \"plugin_key\": plugin[\"key\"]\r\n      File \"/root/owtf/framework/db/target_manager.py\", line 57, in wrapped_function\r\n        return func(*args, **kwargs)\r\n      File \"/root/owtf/framework/db/poutput_manager.py\", line 177, in DeleteAll\r\n        results = query.delete()\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py\", line 2670, in delete\r\n        delete_op.exec_()\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py\", line 896, in exec_\r\n        self._do_pre_synchronize()\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py\", line 958, in _do_pre_synchronize\r\n        eval_condition(obj)]\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/evaluator.py\", line 90, in evaluate\r\n        value = sub_evaluate(obj)\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/evaluator.py\", line 115, in evaluate\r\n        left_val = eval_left(obj)\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/evaluator.py\", line 72, in <lambda>\r\n        return lambda obj: get_corresponding_attr(obj)\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py\", line 239, in __get__\r\n        return self.impl.get(instance_state(instance), dict_)\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py\", line 589, in get\r\n        value = callable_(state, passive)\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/state.py\", line 424, in __call__\r\n        self.manager.deferred_scalar_loader(self, toload)\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/loading.py\", line 614, in load_scalar_attributes\r\n        raise orm_exc.ObjectDeletedError(state)\r\n    ObjectDeletedError: Instance '<PluginOutput at 0x42fe550>' has been deleted, or its row is otherwise not present.\r\n[E 150404 21:09:47 web:1811] 500 POST /api/worklist/ (127.0.0.1) 34.73ms\r\n[E 150404 21:09:49 web:1407] Uncaught exception POST /api/worklist/ (127.0.0.1)\r\n    HTTPServerRequest(protocol='http', host='127.0.0.1:8009', method='POST', uri='/api/worklist/', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Content-Length': '70', 'Accept-Language': 'en-US,en;q=0.5', 'Accept-Encoding': 'gzip, deflate', 'Host': '127.0.0.1:8009', 'Accept': '*/*', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.6.0', 'Connection': 'keep-alive', 'X-Requested-With': 'XMLHttpRequest', 'Pragma': 'no-cache', 'Cache-Control': 'no-cache', 'Referer': 'http://127.0.0.1:8009/ui/targets/5', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'})\r\n    Traceback (most recent call last):\r\n      File \"/usr/lib/python2.7/dist-packages/tornado/web.py\", line 1332, in _execute\r\n        result = method(*self.path_args, **self.path_kwargs)\r\n      File \"/root/owtf/framework/interface/api_handlers.py\", line 608, in post\r\n        self.get_argument(\"force_overwrite\", \"False\"))\r\n      File \"/root/owtf/framework/db/worklist_manager.py\", line 165, in add_work\r\n        \"plugin_key\": plugin[\"key\"]\r\n      File \"/root/owtf/framework/db/target_manager.py\", line 57, in wrapped_function\r\n        return func(*args, **kwargs)\r\n      File \"/root/owtf/framework/db/poutput_manager.py\", line 177, in DeleteAll\r\n        results = query.delete()\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py\", line 2670, in delete\r\n        delete_op.exec_()\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py\", line 896, in exec_\r\n        self._do_pre_synchronize()\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py\", line 958, in _do_pre_synchronize\r\n        eval_condition(obj)]\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/evaluator.py\", line 90, in evaluate\r\n        value = sub_evaluate(obj)\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/evaluator.py\", line 115, in evaluate\r\n        left_val = eval_left(obj)\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/evaluator.py\", line 72, in <lambda>\r\n        return lambda obj: get_corresponding_attr(obj)\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py\", line 239, in __get__\r\n        return self.impl.get(instance_state(instance), dict_)\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/attributes.py\", line 589, in get\r\n        value = callable_(state, passive)\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/state.py\", line 424, in __call__\r\n        self.manager.deferred_scalar_loader(self, toload)\r\n      File \"/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/loading.py\", line 614, in load_scalar_attributes\r\n        raise orm_exc.ObjectDeletedError(state)\r\n    ObjectDeletedError: Instance '<PluginOutput at 0x42fe550>' has been deleted, or its row is otherwise not present.\r\n[E 150404 21:09:49 web:1811] 500 POST /api/worklist/ (127.0.0.1) 26.62ms\r\n\r\n"}}