Skip to content
  1. Jan 17, 2018
  2. Jan 16, 2018
  3. Jan 14, 2018
  4. Jan 13, 2018
  5. Jan 12, 2018
  6. Jan 11, 2018
  7. Jan 10, 2018
  8. Jan 09, 2018
  9. Jan 08, 2018
  10. Jan 07, 2018
  11. Jan 06, 2018
  12. Jan 03, 2018
  13. Jan 02, 2018
  14. Jan 01, 2018
  15. Dec 28, 2017
  16. Dec 04, 2017
    • Brian J. Murrell's avatar
      Fix bad argument #1 to 'tonumber' · 2c2e7f5c
      Brian J. Murrell authored
      Fixes [FS#1118](https://bugs.lede-project.org/index.php?do=details&task_id=1118)
      
      Luci chokes on devices that do not have _iptables_ installed with:
      
      /usr/lib/lua/luci/dispatcher.lua:460: Failed to execute function dispatcher target for entry '/'.
      The called action terminated with an exception:
      /usr/lib/lua/luci/dispatcher.lua:460: Failed to execute firstchild dispatcher target for entry '/admin'.
      The called action terminated with an exception:
      /usr/lib/lua/luci/dispatcher.lua:460: Failed to execute function dispatcher target for entry '/admin/status'.
      The called action terminated with an exception:
      /usr/lib/lua/luci/dispatcher.lua:460: Failed to execute template dispatcher target for entry '/admin/status/overview'.
      The called action terminated with an exception:
      /usr/lib/lua/luci/template.lua:97: Failed to execute template 'admin_status/index'.
      A runtime error occured: [string "/usr/lib/lua/luci/view/admin_status/index.h..."]:34: bad argument #1 to 'tonumber' (string expected, got nil)
      stack traceback:
      	[C]: in function 'assert'
      	/usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
      	/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>
      
      The code should be more defensive.
      2c2e7f5c
  17. Nov 17, 2017
  18. Nov 11, 2017
  19. Nov 10, 2017
  20. Nov 06, 2017