You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I upgrade my laptop to Ubuntu 24.4 . The default python version I have now is 3.12. Since the upgrade AvNav failed to start.
The root cause seemed to be in pluginhandler.py. This uses the python imp module. This module was already deprecated a few versions ago, but since 3.12 it have been removed. From the imp module it uses only load_sources().
I replaced it as decribred below (inspired from https://devcodef1.com/news/1027645/replacing-imp-load-source-in-python-3-12), which worked for me:
Recently I upgrade my laptop to Ubuntu 24.4 . The default python version I have now is 3.12. Since the upgrade AvNav failed to start.
The root cause seemed to be in pluginhandler.py. This uses the python imp module. This module was already deprecated a few versions ago, but since 3.12 it have been removed. From the imp module it uses only load_sources().
I replaced it as decribred below (inspired from https://devcodef1.com/news/1027645/replacing-imp-load-source-in-python-3-12), which worked for me:
< import imp
659c661
< return rt
The text was updated successfully, but these errors were encountered: