Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

"attempt to index global 'base' (a nil value)" - Wireshark 3.6.2-2

Hi!

I am using a custom dissector in conjunction with Nordic's nRF BLE Sniffer tooling. In my installation scripts, I have pinned the Wireshark version to 3.6.2-2 because of some of the differences between how Nordic's tooling operates and some differences between Lua 5.2 and 5.4. On Ubuntu 22.04 I keep getting the error "attempt to index global 'base' (a nil value)" when using base.DEC, base.HEX in my dissector code.

To successfully install this version, I install the following packages from apt: wireshark=3.6.2-2 wireshark-qt=3.6.2-2 wireshark-dev=3.6.2-2 wireshark-common=3.6.2-2

Any ideas why the definition for "base" is missing from my installation?

Thanks!

"attempt to index global 'base' (a nil value)" - Wireshark 3.6.2-2

Hi!

I am using a custom dissector in conjunction with Nordic's nRF BLE Sniffer tooling. In my installation scripts, I have pinned the Wireshark version to 3.6.2-2 because of some of the differences between how Nordic's tooling operates and some differences between Lua 5.2 and 5.4. On Ubuntu 22.04 I keep getting the error "attempt to index global 'base' (a nil value)" when using base.DEC, base.HEX in my dissector code.

To successfully install this version, I install the following packages from apt: apt:

  • wireshark=3.6.2-2
  • wireshark-qt=3.6.2-2
  • wireshark-dev=3.6.2-2
  • wireshark-common=3.6.2-2

Any ideas why the definition for "base" is missing from my installation?

Thanks!