Projecte

General

Perfil

Actions

Error #356

tancat

[Kalimotxo] libremap-agent crashes (missing luci.fs)

Afegit per Roger Pueyo Centelles fa aproximadament 9 anys. Actualitzat fa més de 8 anys.

Estat:
Tancat
Prioritat:
Baixa
Categoria:
LibreMap
Versió prevista:
-
Inici:
31-03-2015
Data de venciment:
% realitzat:

100%

Temps previst:
4:00 h
Temps invertit:

Descripció

See https://github.com/libremap/libremap-agent-openwrt/pull/16

On the 15th January 2015 the file luci.fs was dropped from luci-base1, causing libremap-agent to crash because of the missing required file:

root@qMp-3a56:~# /usr/sbin/libremap-agent
/usr/bin/lua: module 'luci.fs' not found:
no field package.preload['luci.fs']
no file './luci/fs.lua'
no file '/usr/share/lua/luci/fs.lua'
no file '/usr/share/lua/luci/fs/init.lua'
no file '/usr/lib/lua/luci/fs.lua'
no file '/usr/lib/lua/luci/fs/init.lua'
no file './luci/fs.so'
no file '/usr/lib/lua/luci/fs.so'
no file '/usr/lib/lua/loadall.so'
no file './luci.so'
no file '/usr/lib/lua/luci.so'
no file '/usr/lib/lua/loadall.so'
stack traceback:
[C]: in function 'require'
?: in main chunk
[C]: in function 'require'
/usr/sbin/libremap-agent:4: in main chunk
[C]: ?

This commit replaces old luci.fs required file with nixio.fs, which provides the same functions plus many more (check API references [2] and [3] respectively)

[1] openwrt/luci@e91b603
[2] http://luci.subsignal.org/api/luci/modules/luci.fs.html
[3] http://luci.subsignal.org/api/nixio/modules/nixio.fs.html

Actions #2

Actualitzat per Roger Pueyo Centelles fa més de 8 anys

  • Estat ha canviat de En progrés a Resolt
  • % realitzat ha canviat de 0 a 100
  • Temps previst s'ha establert a 4:00 h
Actions #3

Actualitzat per Roger Pueyo Centelles fa més de 8 anys

  • Estat ha canviat de Resolt a Tancat
Actions

També disponible a: Atom PDF