Issue when running mobilehead.py
I assume you just run the mobilehead.py command from command prompt? I am running Windows 10. As the missing dependencies came up I did pip installs for each of them and re-ran the mobilehead.py command.
I am now getting an error that states:
import serial.tools.list_ports ModuleNotFoundError: No module named 'serial.tools'
I did a pip install for serial. A pip install for serial.tools throws an error. Any thoughts?
EDIT ok I did some googling against that string and came across pyserial, and pip installed that. I re-ran the mobilehead.py and made it past that error, but now have an error from line 2016:
line 2016, in
I commented out 2016 and 2017 and re-ran the module. Got another error on line 2400 for a .tsv file that doesn't exist in the download. I copied the default.tsv out of the scan folder and dropped into the main folder, edited line 2400 to just be 'default.tsv' and bam it's now running.
Hi I had the same problem but figured out to install serial.tools via pip is 'serial-tool' for pyserial as for line 2016 'gpssystemOptions' is needing four arguments an is only getting three, the third option is missing the initial state of whether the gps is enabled or disabled at runtime needs 'value' "True" or "False" before '*systems'
as for line 2400 "locations.tsv" just needs to be an empty tsv file or your talkgroup file used with the OP25 program and the path needs to be edited as you figured out
This is a bug due to development occurring primarily within windows for testing purposes. A kivy port is in the works to resolve these issues as TKInter isn't going to work long-term for mobile application.
sudo python3 mobilehead.py
playsound is relying on another python subprocess. Please use pip install pygobject if you want playsound to run more efficiently.
Client is not authorized to connect to ServerClient is not authorized to connect to ServerTraceback (most recent call last):
File "/home/pi/op25mobileControlHead/mobilehead.py", line 330, in
can someone please help me with this problem
UPDATE:
sudo python3 mobilehead.py
Client is not authorized to connect to ServerClient is not authorized to connect to ServerTraceback (most recent call last):
File "/home/pi/op25mobileControlHead/mobilehead.py", line 330, in