{"action":"created","issue":{"url":"https://api.github.com/repos/openwrt/packages/issues/2961","repository_url":"https://api.github.com/repos/openwrt/packages","labels_url":"https://api.github.com/repos/openwrt/packages/issues/2961/labels{/name}","comments_url":"https://api.github.com/repos/openwrt/packages/issues/2961/comments","events_url":"https://api.github.com/repos/openwrt/packages/issues/2961/events","html_url":"https://github.com/openwrt/packages/issues/2961","id":165304263,"number":2961,"title":"luci-app-aria2 error ","user":{"login":"hostkit","id":3790389,"avatar_url":"https://avatars.githubusercontent.com/u/3790389?v=3","gravatar_id":"","url":"https://api.github.com/users/hostkit","html_url":"https://github.com/hostkit","followers_url":"https://api.github.com/users/hostkit/followers","following_url":"https://api.github.com/users/hostkit/following{/other_user}","gists_url":"https://api.github.com/users/hostkit/gists{/gist_id}","starred_url":"https://api.github.com/users/hostkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hostkit/subscriptions","organizations_url":"https://api.github.com/users/hostkit/orgs","repos_url":"https://api.github.com/users/hostkit/repos","events_url":"https://api.github.com/users/hostkit/events{/privacy}","received_events_url":"https://api.github.com/users/hostkit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-07-13T12:03:59Z","updated_at":"2016-07-14T12:51:01Z","closed_at":null,"body":"hallow @kuoruan can you fix this :D thanks before\r\n if /etc/config/aria2 not empty \r\n```\r\ndaemon=true\r\nenable-rpc=true\r\nrpc-allow-origin-all=true\r\nrpc-listen-port=6800\r\nrpc-listen-all=true\r\nrpc-secret=rootopenwrt\r\ndir=/mnt/sda5/downloads\r\nlog=/var/log/aria2.log\r\nlog-level=warn\r\nauto-save-interval=30\r\nevent-poll=select\r\ncontinue=true\r\ninput-file=/mnt/sda5/aria2.session\r\nsave-session=/mnt/sda5/aria2.session\r\nmax-concurrent-downloads=1\r\n```\r\n\r\nshow error when open service > aria2 setting:\r\n```\r\n/usr/lib/lua/luci/dispatcher.lua:433: Failed to execute cbi dispatcher target for entry '/admin/services/aria2'.\r\nThe called action terminated with an exception:\r\n/usr/lib/lua/luci/cbi.lua:311: Unable to read UCI data: aria2\r\nstack traceback:\r\n\t[C]: in function 'assert'\r\n\t/usr/lib/lua/luci/dispatcher.lua:433: in function 'dispatch'\r\n\t/usr/lib/lua/luci/dispatcher.lua:168: in function </usr/lib/lua/luci/dispatcher.lua:167>\r\n\r\n```\r\nsystem log:\r\n```\r\nWed Jul 13 11:56:45 2016 daemon.err uhttpd[1184]: /usr/lib/lua/luci/dispatcher.lua:433: Failed to execute cbi dispatcher target for entry '/admin/services/aria2'.\r\nWed Jul 13 11:56:45 2016 daemon.err uhttpd[1184]: The called action terminated with an exception:\r\nWed Jul 13 11:56:45 2016 daemon.err uhttpd[1184]: /usr/lib/lua/luci/cbi.lua:311: Unable to read UCI data: aria2\r\nWed Jul 13 11:56:45 2016 daemon.err uhttpd[1184]: stack traceback:\r\nWed Jul 13 11:56:45 2016 daemon.err uhttpd[1184]: \t[C]: in function 'assert'\r\nWed Jul 13 11:56:45 2016 daemon.err uhttpd[1184]: \t/usr/lib/lua/luci/dispatcher.lua:433: in function 'dispatch'\r\nWed Jul 13 11:56:45 2016 daemon.err uhttpd[1184]: \t/usr/lib/lua/luci/dispatcher.lua:168: in function </usr/lib/lua/luci/dispatcher.lua:167>\r\n```\r\n\r\nif config empty system log\r\n```\r\nWed Jul 13 12:01:44 2016 daemon.err uhttpd[1184]: /usr/lib/lua/luci/dispatcher.lua:433: Failed to execute cbi dispatcher target for entry '/admin/services/aria2'.\r\nWed Jul 13 12:01:44 2016 daemon.err uhttpd[1184]: The called action terminated with an exception:\r\nWed Jul 13 12:01:44 2016 daemon.err uhttpd[1184]: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'cbi/map'.\r\nWed Jul 13 12:01:44 2016 daemon.err uhttpd[1184]: A runtime error occured: /usr/lib/lua/luci/template.lua:97: Failed to execute template 'aria2/web_script'.\r\nWed Jul 13 12:01:44 2016 daemon.err uhttpd[1184]: A runtime error occured: [string \"/usr/lib/lua/luci/view/aria2/web_script.htm\"]:1: attempt to call global 'url' (a nil value)\r\nWed Jul 13 12:01:44 2016 daemon.err uhttpd[1184]: stack traceback:\r\nWed Jul 13 12:01:44 2016 daemon.err uhttpd[1184]: \t[C]: in function 'assert'\r\nWed Jul 13 12:01:44 2016 daemon.err uhttpd[1184]: \t/usr/lib/lua/luci/dispatcher.lua:433: in function 'dispatch'\r\nWed Jul 13 12:01:44 2016 daemon.err uhttpd[1184]: \t/usr/lib/lua/luci/dispatcher.lua:168: in function </usr/lib/lua/luci/dispatcher.lua:167>\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/openwrt/packages/issues/comments/232656314","html_url":"https://github.com/openwrt/packages/issues/2961#issuecomment-232656314","issue_url":"https://api.github.com/repos/openwrt/packages/issues/2961","id":232656314,"user":{"login":"hostkit","id":3790389,"avatar_url":"https://avatars.githubusercontent.com/u/3790389?v=3","gravatar_id":"","url":"https://api.github.com/users/hostkit","html_url":"https://github.com/hostkit","followers_url":"https://api.github.com/users/hostkit/followers","following_url":"https://api.github.com/users/hostkit/following{/other_user}","gists_url":"https://api.github.com/users/hostkit/gists{/gist_id}","starred_url":"https://api.github.com/users/hostkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hostkit/subscriptions","organizations_url":"https://api.github.com/users/hostkit/orgs","repos_url":"https://api.github.com/users/hostkit/repos","events_url":"https://api.github.com/users/hostkit/events{/privacy}","received_events_url":"https://api.github.com/users/hostkit/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T12:51:01Z","updated_at":"2016-07-14T12:51:01Z","body":"show same error, i think error because XHR.poll(5, '<%=url(...)%>', null \r\nsystem cant find url define"}}
{"actor":{"display_login":"hostkit"}}