-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OWM-script broken on Luci-master based builds #507
Comments
What is the output when you run "owm.lua" from the command-line? |
On Sun, 31 Dec 2017 04:47:03 -0800 Sven Roederer ***@***.***> wrote:
What is the output when you run "owm.lua" from the command-line?
(run on a gl-ar150 - if that matters)
/usr/bin/lua: ?:0: attempt to call field 'arptable' (a nil value)
stack traceback:
?: in function 'get'
/usr/sbin/owm.lua:74: in main chunk
[C]: ?
|
seems like the LUCI-Api has changed again (see freifunk-berlin/firmware-packages#109 for something similar). error comes from https://github.com/freifunk-berlin/firmware-packages/blob/master/utils/luci-app-owm/files/owm.lua#L74, which is very likely causes by |
sys.net.arptable() call in https://github.com/freifunk-berlin/firmware-packages/blob/master/utils/luci-app-owm/luasrc/owm.lua#L447 has changed.
makes the code run, but without the values. |
Hello @SvenRoederer , I have the same problem. Where do I exactly find this file at my router, please? Will this be fixed in a newer version soon? |
@ikreb7 the file is located in /usr/lib/lua/luci as per https://github.com/freifunk-berlin/firmware-packages/blob/master/utils/luci-app-owm/Makefile#L98 |
Btw. do we really need the anonymized MAC-adresses in the public OWM-data? |
Some functions where dropped in the luci code base with this commit this openwrt/luci@366707a.
Maybe it's enough to replace the function call? |
With a commit in the luci code base the function luci.sys.net.arptable was replaced by luci.ip.neighbors: openwrt/luci@366707a The missing function definition caused the owm.lua program to fail. Fixes freifunk-berlin/firmware#507
I merged a commit that should fix the problem. We still have to update the feed for the berlin packages in the firmware. |
With a commit in the luci code base the function luci.sys.net.arptable was replaced by luci.ip.neighbors: openwrt/luci@366707a The missing function definition caused the owm.lua program to fail. Fixes freifunk-berlin/firmware#507
still fails for me with
|
is fixed by freifunk-berlin/firmware-packages@c883485. the code now fails with
|
Sorry for the inconvenience. Seems like my testing procedure was flawed. I will prepare a patch for the outstanding problems. We have to change the field names and convert them from userdata to string. |
As far as I can see we fixed this. |
76a5139 bmx7: update to 7.1.1 ff5100e Merge pull request #507 from aparcar/bmx7-7.1.1
https://buildbot.berlin.freifunk.net/buildbot/unstable/ar71xx-generic/578/VERSION.txt
Firmware: git branch "SAm0815_experimental", revision f6104a8
Even though location settings are correctly entered in the wizard page (and made sure, the lat/lon values are not mixed up to meet some berlin friends in the arabian sea), the device doesn't get listed on https://openwifimap.net/
The device is running for over a day, so I think that should be enough time for an update?
The text was updated successfully, but these errors were encountered: