PX4 / flight_review

web application for flight log analysis & review
https://logs.px4.io/
BSD 3-Clause "New" or "Revised" License
193 stars 190 forks source link

serve.py --show giving parser error #243

Closed UASOP closed 2 years ago

UASOP commented 2 years ago

Hey there,

Just cloned the latest main/master and when running the ./serve.py --show command I am getting this error. All requirement modules were installed per the install instructions.

Traceback (most recent call last): File "./serve.py", line 22, in from tornado_handlers.download import DownloadHandler File "/home/user/flight_review/app/tornado_handlers/download.py", line 18, in from helper import get_log_filename, validate_log_id, \ File "/home/user/flight_review/app/plot_app/helper.py", line 28, in from libevents_parse.parser import Parser ModuleNotFoundError: No module named 'libevents_parse'

Did not see this issue with previous versions of the flight review. Tried finding this libevents_parse it is talking about and unsure if I am looking in the right places.

bkueng commented 2 years ago

Hi

You need to initialize the submodule with

git submodule init
git submodule update
UASOP commented 2 years ago

That did the trick! Thank you good sir.