lua-wow-tools / wowcig

WoW client interface getter
MIT License
2 stars 1 forks source link

Runtime error attempt to index local 'dbd' (a nil value) #13

Open Vladinator opened 1 month ago

Vladinator commented 1 month ago

Using the latest luarocks install wowcig and performing wowcig --db2 all --skip-framexml --product wow (and other flavors) results in this runtime error:

/home/runner/work/wow-dbc-archive/wow-dbc-archive/.lua/bin/lua: ...ks/lib/luarocks/rocks-5.1/wowcig/0.16.4-0/bin/wowcig:121: attempt to index local 'dbd' (a nil value)
2024-08-02T09:13:49.8118016Z stack traceback:
2024-08-02T09:13:49.8119729Z    ...ks/lib/luarocks/rocks-5.1/wowcig/0.16.4-0/bin/wowcig:121: in function <...ks/lib/luarocks/rocks-5.1/wowcig/0.16.4-0/bin/wowcig:64>
2024-08-02T09:13:49.8121453Z    ...ks/lib/luarocks/rocks-5.1/wowcig/0.16.4-0/bin/wowcig:176: in main chunk
2024-08-02T09:13:49.8122323Z    [C]: ?

link to a sample full log with this error

It might be related to the database definitions repo itself if the real issue is it failing to generate the lua code imported by wowcig, but I figured I should post about it here first.

ferronn-dev commented 1 month ago

This is caused by https://github.com/lua-wow-tools/luadbd/issues/5. That needs to be fixed, and then bump a version here as necessary.