PX4 / flight_review

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

when i updata the ulog "Http error 500",how can i fix it #229

Closed icydust closed 2 years ago

icydust commented 2 years ago

./serve.py --show Moving uploaded file to /home/dory/px4/px4 fligth review/flight_review/app/plot_app/../../data/log_files/aba93b7e-7c96-46a8-a399-f137ae426d34.ulg Error when handling POST data <class 'FileNotFoundError'> [Errno 2] No such file or directory: '/home/dory/px4/px4 fligth review/flight_review/app/plot_app/../../data/log_files/aba93b7e-7c96-46a8-a399-f137ae426d34.ulg' ERROR:tornado.access:500 POST /upload (127.0.0.1) 16.61ms WARNING:tornado.access:404 GET /favicon.ico (127.0.0.1) 0.36m

icydust commented 2 years ago

my system is ubuntu 20.04
python version 3.8.10 pip3 list Package Version


apturl 0.5.2
argon2-cffi 21.3.0
argon2-cffi-bindings 21.2.0
astroid 2.9.3
asttokens 2.0.5
attrs 21.4.0
backcall 0.2.0
bcrypt 3.1.7
bleach 4.1.0
blinker 1.4
bokeh 2.1.1
Brlapi 0.7.0
certifi 2019.11.28
cffi 1.15.0
chardet 3.0.4
Click 7.0
colorama 0.4.3
command-not-found 0.3
cryptography 2.8
cupshelpers 1.0
cycler 0.11.0
dbus-python 1.2.16
debugpy 1.5.1
decorator 5.1.1
defer 1.0.6
defusedxml 0.7.1
distro 1.4.0
distro-info 0.23ubuntu1
duplicity 0.8.12.0
entrypoints 0.3
executing 0.8.3
fasteners 0.14.1
fonttools 4.29.1
future 0.18.2
httplib2 0.14.0
idna 2.8
importlib-resources 5.4.0
ipykernel 6.9.1
ipython 8.1.0
ipython-genutils 0.2.0
ipywidgets 7.6.5
isort 5.10.1
jedi 0.18.1
Jinja2 3.0.3
jsonschema 4.4.0
jupyter 1.0.0
jupyter-client 7.1.2
jupyter-console 6.4.0
jupyter-core 4.9.2
jupyterlab-pygments 0.1.2
jupyterlab-widgets 1.0.2
keyring 18.0.1
kiwisolver 1.3.2
language-selector 0.1
launchpadlib 1.10.13
lazr.restfulclient 0.14.2
lazr.uri 1.0.3
lazy-object-proxy 1.7.1
lockfile 0.12.2
louis 3.12.0
macaroonbakery 1.3.1
Mako 1.1.0
MarkupSafe 2.1.0
matplotlib 3.5.1
matplotlib-inline 0.1.3
mccabe 0.6.1
mistune 0.8.4
monotonic 1.5
nbclient 0.5.11
nbconvert 6.4.2
nbformat 5.1.3
nest-asyncio 1.5.4
netifaces 0.10.4
notebook 6.4.8
numpy 1.22.2
oauthlib 3.1.0
olefile 0.46
packaging 21.3
pandocfilters 1.5.0
paramiko 2.6.0
parso 0.8.3
pexpect 4.6.0
pickleshare 0.7.5
Pillow 7.0.0
pip 20.0.2
platformdirs 2.5.1
prometheus-client 0.13.1
prompt-toolkit 3.0.28
protobuf 3.6.1
ptyprocess 0.7.0
pure-eval 0.2.2
pycairo 1.16.2
pycparser 2.21
pycups 1.9.73
pyFFTW 0.13.0
Pygments 2.11.2
PyGObject 3.36.0
PyJWT 1.7.1
pylint 2.12.2
pymacaroons 0.13.0
PyNaCl 1.3.0
pyparsing 3.0.7
pyRFC3339 1.1
pyrsistent 0.18.1
python-apt 2.0.0+ubuntu0.20.4.7 python-dateutil 2.7.3
python-debian 0.1.36ubuntu1
pytz 2019.3
pyulog 0.9.0
pyxdg 0.26
PyYAML 5.3.1
pyzmq 22.3.0
qtconsole 5.2.2
QtPy 2.0.1
reportlab 3.5.34
requests 2.22.0
requests-unixsocket 0.2.0
scipy 1.3.3
SecretStorage 2.3.1
Send2Trash 1.8.0
setuptools 45.2.0
simplejson 3.16.0
simplekml 1.3.6
six 1.14.0
smopy 0.0.7
stack-data 0.2.0
systemd-python 234
terminado 0.13.1
testpath 0.6.0
toml 0.10.2
tornado 6.1
traitlets 5.1.1
typing-extensions 4.1.1
ubuntu-advantage-tools 27.6
ubuntu-drivers-common 0.0.0
ufw 0.36
unattended-upgrades 0.1
urllib3 1.25.8
usb-creator 0.3.7
wadllib 1.3.3
wcwidth 0.2.5
webencodings 0.5.1
wheel 0.34.2
widgetsnbextension 3.5.2
wrapt 1.13.3
xkit 0.0.0
zipp 3.7.0

icydust commented 2 years ago

I had indeed missed the setup script, run: python3 setup_db.py to initialize the database.