|
Post by psuteam on Jun 10, 2017 22:29:03 GMT -7
I'm following the instructions to download the new tracker software and when the instructional video reaches 11:20 a GUI pops up. Instead, I get an error here as follows:
Ground Station@DESKTOP-8M8TGSR MINGW64 ~/Desktop/Tracker/Antenna_Tracker (master)
$ python Antenna_Tracker_and_RFD_Controls_GUI.py
('COM6', 'Pololu Micro Maestro 6-Servo Controller Command Port (COM6)', 'USB VID:PID=1FFB:0089')
Traceback (most recent call last):
File "Antenna_Tracker_and_RFD_Controls_GUI.py", line 1805, in <module>
mGui = MainWindow() # Launch the main window
File "Antenna_Tracker_and_RFD_Controls_GUI.py", line 330, in __init__
self.searchComPorts()
File "Antenna_Tracker_and_RFD_Controls_GUI.py", line 1464, in searchComPorts
if (eachLst[1].find("Arduino Uno") != -1) or (each.pid == 67):
AttributeError: 'tuple' object has no attribute 'pid'
As a note, I have not been able to get the ground station tracking to work at all for quite a while, so maybe something is wrong in the original code...?
|
|
|
Post by muonide on Jun 11, 2017 7:31:51 GMT -7
We got the same error yesterday.
|
|
|
Post by Trevor MSGC on Jun 11, 2017 21:28:19 GMT -7
I believe this is an error with the serial library. Try running the command 'pip install update pyserial'. Let us know if the error persists.
|
|
|
Post by muonide on Jun 13, 2017 8:42:49 GMT -7
I've updated pyserial, ensured I cleared ROM, & have V5 sketch uploaded. Still gives the same "list index out of range" error that stops the GUI from loading. If I unplug the Arduino, the GUI will load but still gives the index error whenever I try to get things going.
|
|
|
Post by Trevor MSGC on Jun 13, 2017 8:45:39 GMT -7
Run pip freeze and let me know what the output is.
-Trevor
|
|
|
Post by staley28 on Jun 13, 2017 9:15:49 GMT -7
Hello, our team is having the same exact issues regarding the updated Antenna_Tracker code. Here is my copy of pip freeze.
alabaster==0.7.7 anaconda-client==1.4.0 anaconda-navigator==1.1.0 argcomplete==1.0.0 astropy==1.1.2 Babel==2.2.0 backports-abc==0.4 backports.ssl-match-hostname==3.4.0.2 beautifulsoup4==4.4.1 bitarray==0.8.1 blaze==0.9.1 bokeh==0.11.1 boto==2.39.0 Bottleneck==1.0.0 cdecimal==2.3 cffi==1.5.2 chest==0.2.3 cloudpickle==0.1.1 clyent==1.2.1 colorama==0.3.7 comtypes==1.1.2 conda==4.1.2 conda-build==1.20.0 conda-env==2.5.0a0 conda-manager==0.3.1 configobj==5.0.6 cryptography==1.3 cycler==0.10.0 Cython==0.23.4 cytoolz==0.7.5 dask==0.8.1 datashape==0.5.1 decorator==4.0.9 dill==0.2.4 docutils==0.12 enum34==1.1.2 et-xmlfile==1.0.1 fastcache==1.0.2 Flask==0.10.1 Flask-Cors==2.1.2 funcsigs==0.4 futures==3.0.3 geomag==0.9.2015 gevent==1.1.0 greenlet==0.4.9 grin==1.2.1 h5py==2.5.0 HeapDict==1.0.0 idna==2.0 ipaddress==1.0.14 ipykernel==4.3.1 ipython==4.1.2 ipython-genutils==0.1.0 ipywidgets==4.1.1 itsdangerous==0.24 jdcal==1.2 jedi==0.9.0 Jinja2==2.8 jsonschema==2.4.0 jupyter==1.0.0 jupyter-client==4.2.2 jupyter-console==4.1.1 jupyter-core==4.1.0 llvmlite==0.9.0 locket==0.2.0 lxml==3.6.0 MarkupSafe==0.23 matplotlib==1.5.1 menuinst==1.3.2 mistune==0.7.2 mpmath==0.19 multipledispatch==0.4.8 mysqlclient==1.3.7 nbconvert==4.1.0 nbformat==4.0.1 networkx==1.11 nltk==3.2 nose==1.3.7 notebook==4.1.0 numba==0.24.0 numexpr==2.5 numpy==1.10.4 odo==0.4.2 openpyxl==2.3.2 pandas==0.18.0 partd==0.3.2 path.py==0.0.0 patsy==0.4.0 pep8==1.7.0 pickleshare==0.5 Pillow==3.2.0 Pillow-PIL==0.1.dev0 ply==3.8 psutil==4.1.0 py==1.4.31 pyasn1==0.1.9 pycosat==0.6.1 pycparser==2.14 pycrypto==2.6.1 pyflakes==1.1.0 Pygments==2.1.1 PyMySQL==0.6.7 pyOpenSSL==0.15.1 pyparsing==2.0.3 PyQt4==4.11.4 pyqtgraph==0.9.10 pyreadline==2.1 pyserial==2.7 PySide==1.2.1 pytest==2.8.5 python-dateutil==2.5.1 pytz==2016.2 pywin32==220 PyYAML==3.11 pyzmq==15.2.0 QtAwesome==0.3.2 qtconsole==4.2.0 QtPy==1.0 requests==2.9.1 rope==0.9.4 ruamel-yaml===-VERSION scikit-image==0.12.3 scikit-learn==0.17.1 scipy==0.17.0 simplegeneric==0.8.1 singledispatch==3.4.0.3 six==1.10.0 snowballstemmer==1.2.1 sockjs-tornado==1.0.1 sphinx==1.3.5 sphinx-rtd-theme==0.1.9 spyder==2.3.8 SQLAlchemy==1.0.12 statsmodels==0.6.1 sympy==1.0 tables==3.2.2 toolz==0.7.4 tornado==4.3 traitlets==4.2.1 unicodecsv==0.14.1 update==0.4.4 Werkzeug==0.11.4 xlrd==0.9.4 XlsxWriter==0.8.4 xlwings==0.7.0 xlwt==1.0.0
|
|
|
Post by Trevor MSGC on Jun 13, 2017 9:25:39 GMT -7
Thanks,
pyserial should be on version 3.3, you'll need to run pip install update pyserial
|
|
|
Post by staley28 on Jun 13, 2017 9:44:12 GMT -7
Okay! So I got mine fixed and it was the pyserial that needed update, but there was a bit of an anomaly that occurred with mine that may be replicated.
WHEN YOU UPDATE, CHECK THE VERSION USING THE PIP FREEZE COMMAND
Although I ran "pip install update pyserial", I would get a message stating that the requirement was satisfied and updated, even though no update occurred.
Follow the following steps to be sure that you update correctly.
UNINSTALL PYSERIAL PACKAGE pip uninstall pyserial
YES OR NO? y
REINSTALL UPDATED PIP pip install update pyserial
You are now able to use pip freeze or test run the executable to check whether this update worked and whether your updated program works.
|
|
|
Post by staley28 on Jun 13, 2017 9:46:03 GMT -7
Thanks, pyserial should be on version 3.3, you'll need to run pip install update pyserial Thank you for your help! I didn't notice that none of my previous updates for pyserial actually didn't work until you mentioned it! Thank you for the catch!
|
|
|
Post by kendra on Jun 13, 2017 9:47:33 GMT -7
I downloaded the new antenna tracker with RFD and the GUI popped up when I was inside (without anything hooked up to it).
I took it outside and hooked it up to the base station and now it will not start up from the shortcut.
Kendra
|
|
|
Post by Trevor MSGC on Jun 13, 2017 10:02:00 GMT -7
kendra
Can you send me the contents of the .bat file?
-Trevor
|
|