ArduPilot / ArduPilot/pymavlink

Lua/Wireshark: No module named 'pymavlink.tools'

Open
#262 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
728
Forks
739
Avg merge
4d 10h
Merged PRs (30d)
7

Description

I'm trying to generate a Lua dissector for Wireshark.

Following the instructions on https://github.com/ArduPilot/pymavlink/blob/c18db673f0214b683bc330587bc11ce2818a8e8d/generator/mavgen_wlua.py#L9

I get this error
`ModuleNotFoundError: No module named 'pymavlink.tools'`

I know that a partial solution could be the one proposed at https://github.com/ArduPilot/pymavlink/issues/133 but how can I solve this issue?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with generator/mavgen_wlua.py and reproduce the documented Lua dissector generation command. Compare the import path with the package layout and the partial solution discussed in issue 133. Done means the documented command runs without ModuleNotFoundError and produces the expected Wireshark Lua dissector.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, python
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.