stephendade / Rpanion-server

Web-based configurator for companion computers of MAVLink vehicles
https://www.docs.rpanion.com/software/rpanion-server
GNU General Public License v3.0
146 stars 62 forks source link

stuck in video UI, no update, no installation, just webui operation #247

Closed lida2003 closed 2 months ago

lida2003 commented 2 months ago

I have got the app.log. But I didn't find any infor useful for me.

It doesn't work with warm boot, cold boot, can't enter video webGUI.

From ssh console:

daniel@rpanion:~/Rpanion-server $ python3 --version
Python 3.9.2
daniel@rpanion:~/Rpanion-server $ ls -l /usr/local/lib/python3.9/
total 4
drwxr-xr-x 6 root root 4096 Feb  9  2024 dist-packages
daniel@rpanion:~/Rpanion-server $ which python3
/usr/bin/python3
daniel@rpanion:~/Rpanion-server $ pip install --force-reinstall importlib-metadata
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 1189, in _install_external_importers
  File "<frozen importlib._bootstrap_external>", line 1634, in _install
  File "<frozen importlib._bootstrap_external>", line 1605, in _setup
ImportError: importlib requires posix or nt
Fatal Python error: init_importlib_external: external importer setup failed
Python runtime state: core initialized

Current thread 0x0000007fb110e040 (most recent call first):
<no Python frame>
daniel@rpanion:~/Rpanion-server $ python3 -v
import _frozen_importlib # frozen
import _imp # builtin
import '_thread' # <class '_frozen_importlib.BuiltinImporter'>
import '_warnings' # <class '_frozen_importlib.BuiltinImporter'>
import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>
import '_frozen_importlib_external' # <class '_frozen_importlib.FrozenImporter'>
Traceback (most recent call last):
  File "<frozen importlib._bootstrap>", line 1189, in _install_external_importers
  File "<frozen importlib._bootstrap_external>", line 1634, in _install
  File "<frozen importlib._bootstrap_external>", line 1605, in _setup
ImportError: importlib requires posix or nt
Fatal Python error: init_importlib_external: external importer setup failed
Python runtime state: core initialized

Current thread 0x0000007fba5ed040 (most recent call first):
<no Python frame>

图片

图片

lida2003 commented 2 months ago

I think it might be rootfs issue. Maybe some thing on the sd is lost. I'll re-flash the sd card.

lida2003 commented 2 months ago

Re-install fix the issue. Probably fs issue.