Package tweaks and exception handling added
This commit is contained in:
@ -125,6 +125,7 @@ class QtGPSWindow(MainWindow):
|
|||||||
global gpsd_report
|
global gpsd_report
|
||||||
report = gpsd_report
|
report = gpsd_report
|
||||||
|
|
||||||
|
try:
|
||||||
if report['class'] == 'TPV':
|
if report['class'] == 'TPV':
|
||||||
status = getattr(report, 'status', 0)
|
status = getattr(report, 'status', 0)
|
||||||
mode = getattr(report, 'mode', 0)
|
mode = getattr(report, 'mode', 0)
|
||||||
@ -240,6 +241,8 @@ class QtGPSWindow(MainWindow):
|
|||||||
self.viewSatellites.show()
|
self.viewSatellites.show()
|
||||||
|
|
||||||
self.show()
|
self.show()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
def toggle_logging(self):
|
def toggle_logging(self):
|
||||||
if self.log_enabled:
|
if self.log_enabled:
|
||||||
|
|||||||
@ -13,8 +13,10 @@ sudo apt-get -y --ignore-missing install python3-pyside2.* python3-tk python3-pi
|
|||||||
sudo apt-get -y --ignore-missing install python3-tqdm python3-nmea2 python3-yaml
|
sudo apt-get -y --ignore-missing install python3-tqdm python3-nmea2 python3-yaml
|
||||||
sudo apt-get -y --ignore-missing install python3-can python3-protobuf python3-scapy python3-serial
|
sudo apt-get -y --ignore-missing install python3-can python3-protobuf python3-scapy python3-serial
|
||||||
sudo apt-get -y --ignore-missing install python3-numpy python3-pandas python3-plotly python3-scipy
|
sudo apt-get -y --ignore-missing install python3-numpy python3-pandas python3-plotly python3-scipy
|
||||||
sudo apt-get -y --ignore-missing install python3-matplotlib rtklib rtklib-qt libasound2-dev
|
sudo apt-get -y --ignore-missing install rtklib rtklib-qt libasound2-dev
|
||||||
sudo apt-get -y --ignore-missing install gpsd libgps-dev python3-gps python3-gpxpy gpsbabel
|
sudo apt-get -y --ignore-missing install gpsd libgps-dev python3-gps python3-gpxpy gpsbabel
|
||||||
|
sudo apt-get -y --ignore-missing install python3-cycler python3-kiwisolver
|
||||||
|
sudo apt-get -y remove python3-matplotlib
|
||||||
echo
|
echo
|
||||||
|
|
||||||
# Python addons
|
# Python addons
|
||||||
@ -22,7 +24,7 @@ echo "Python 3 modules:"
|
|||||||
#python3 -m pip install --upgrade pip
|
#python3 -m pip install --upgrade pip
|
||||||
|
|
||||||
p1="pyinstaller devscripts"
|
p1="pyinstaller devscripts"
|
||||||
p2="simpleaudio"
|
p2="simpleaudio matplotlib"
|
||||||
p3="pykml maidenhead"
|
p3="pykml maidenhead"
|
||||||
p4="pyside6"
|
p4="pyside6"
|
||||||
p5="pycrate"
|
p5="pycrate"
|
||||||
|
|||||||
Reference in New Issue
Block a user