nimdok
Novice Ballooner
Posts: 8
|
Post by nimdok on Jun 12, 2017 12:13:50 GMT -7
I'm getting this error after running the updated code in Spyder
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Users\Ground Station\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 699, in runfile
execfile(filename, namespace)
File "C:\Users\Ground Station\Anaconda2\lib\site-packages\spyderlib\widgets\externalshell\sitecustomize.py", line 74, in execfile
exec(compile(scripttext, filename, 'exec'), glob, loc)
File "C:/Users/Ground Station/Desktop/Tracker/AntennaTracker_withRFD/Antenna_Tracker_and_RFD_Controls_GUI.py", line 1805, in <module>
mGui = MainWindow() # Launch the main window
File "C:/Users/Ground Station/Desktop/Tracker/AntennaTracker_withRFD/Antenna_Tracker_and_RFD_Controls_GUI.py", line 317, in __init__
layout.addWidget(self.canvas)
TypeError: QBoxLayout.addWidget(QWidget, int stretch=0, Qt.Alignment alignment=0): argument 1 has unexpected type 'FigureCanvasQTAgg'
>>>
Am I missing something?
|
|
|
Post by Trevor MSGC on Jun 12, 2017 14:03:47 GMT -7
Hey nimdok,
The new code doesn't use pyside, so the best way to launch it now is through the command line outlined in the tutorial video.
-Trevor
|
|
nimdok
Novice Ballooner
Posts: 8
|
Post by nimdok on Jun 12, 2017 14:14:43 GMT -7
This one?
|
|
|
Post by Trevor MSGC on Jun 12, 2017 14:25:48 GMT -7
Correct, it's covered around the 11 minute mark.
-Trevor
|
|