[luci] [LuCI] #76: LuCI is broken on OpenWrt trunk

LuciTrac trac at luci.subsignal.org
Wed Jul 29 04:32:59 CEST 2009


#76: LuCI is broken on OpenWrt trunk
-----------------------+----------------------------------------------------
 Reporter:  reporter   |        Owner:  jow     
     Type:  defect     |       Status:  assigned
 Priority:  blocker    |    Milestone:          
Component:  LuCI Base  |   Resolution:          
 Keywords:             |  
-----------------------+----------------------------------------------------

Comment(by reporter):

 Here ya go:


 {{{
 root at OpenWrt:/# lua -llmo -e
 'ar=lmo.open("/usr/lib/lua/luci/i18n/default.en.lmo
 "); print(ar:lookup("navigation"))'
 nil
 root at OpenWrt:/#
 }}}

 {{{
 root at OpenWrt:/# lua -llmo -e
 'ar=lmo.open("/usr/lib/lua/luci/i18n/default.en.lmo
 "); print(ar:get(-532398800))'
 nil
 root at OpenWrt:/#
 }}}


 {{{
 root at OpenWrt:/usr/lib/lua/luci/i18n# lua -llmo -e 'print(lmo.hash("test")
 == 605
 072156)'
 true
 root at OpenWrt:/usr/lib/lua/luci/i18n#
 }}}

 {{{
 root at OpenWrt:/usr/lib/lua/luci/i18n# lua -llmo -e
 'ar=lmo.open("/usr/lib/lua/luc
 i/i18n/default.en.lmo"); ar:foreach(function(...) print(...) end)'
 root at OpenWrt:/usr/lib/lua/luci/i18n#
 }}}

-- 
Ticket URL: <http://luci.subsignal.org/trac/ticket/76#comment:15>
LuCI <http://luci.subsignal.org/trac>
LuCI - Lua Configuration Interface


More information about the luci mailing list