-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error GT06ScannerClient.py #6
Comments
Hi @mavmala . Does it work if you use the demo.traccar.org address that comes default in the config.xml file? |
Hi, thanks for answering! No it gives errors as well.although different ones: Hello from the pygame community. https://www.pygame.org/contribute.html |
Hi @mavmala . This is telling me that the XML in the last message has an error in it. Can you verify that the XML validates properly? You can use the following online validator: |
This is the message I get: XML Parsing Error: mismatched tag. Expected: . |
Yeah. If the XML is the same, that's the Hostname line. You can try copy and pasting the demo tag to make sure that it's correct:
You'll need to make sure the case on the tags are the same. |
copy & pasted it, still the same error: pygame 1.9.6 |
downloaded the config.xml again, and now it gives another error pygame 1.9.6 |
In the XML file, check this line: <ScannerIDNumber>0123456789012345</ScannerIDNumber> There should only be numerical digits (0-9) or hex digits (a-f). Other characters would make it fail. |
Got it fixed, it works now with a remote traccar server have not tested it yet but will it run on a headless device? |
It will run on headless, but you have to have a way to start up the script on boot. I haven't put together instructions for that. |
Hello,
I am trying to make this work, I can start the python venv but if i run the runClient.py i get the following error:
File "runClient.py", line 3, in
import GT06ScannerClient
File "/home/ubilinux/GT06ScannerClient/GT06ScannerClient.py", line 9, in
import gt06Client
File "/home/ubilinux/GT06ScannerClient/gt06Client.py", line 47
logging.exception(f"Cannot connect to {self.serverAddress}:{self.serverPort}")
I edited the confix.xml to use my server and portnr, but I have no idea how to continue
any help?
TIA
The text was updated successfully, but these errors were encountered: