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

LuciTrac trac at luci.subsignal.org
Tue Jul 28 15:27:56 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 jow):

 I'm not able to reproduce this problem on x86 and atheros targets, so it's
 propably some ARM related issue. The default.en.lmo provided earlier is
 100% identical to my local working version so it's most likely a target-
 and not some buildroot issue.

 I need the outputs of the following commands to track down the problem:

 {{{
 lua -llmo -e 'ar=lmo.open("/usr/lib/lua/luci/i18n/default.en.lmo");
 print(ar:lookup("navigation"))'
 }}}
 Expected output: "Navigation"

 {{{
 lua -llmo -e 'ar=lmo.open("/usr/lib/lua/luci/i18n/default.en.lmo");
 print(ar:get(-532398800))'
 }}}
 Expected output: "Navigation"

 {{{
 lua -llmo -e 'print(lmo.hash("test") == 605072156)'
 }}}
 Expected output: "true"


 Finally dump the lang file with:
 {{{
 lua -llmo -e 'ar=lmo.open("/usr/lib/lua/luci/i18n/default.en.lmo");
 ar:foreach(function(...) print(...) end)'
 }}}

 Please post the results here.

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


More information about the luci mailing list