Closed kb1lqc closed 7 years ago
When aprslib is not configured I throw this error:
ERROR:aprslib.inet.IS:Failed to login
Traceback (most recent call last):
File "aprs2influxdb/main.py", line 247, in <module>
main()
File "aprs2influxdb/main.py", line 233, in main
AIS.connect()
File "C:\Python27\lib\site-packages\aprslib\inet.py", line 115, in connect
self._send_login()
File "C:\Python27\lib\site-packages\aprslib\inet.py", line 310, in _send_login
raise LoginError("Failed to login")
aprslib.exceptions.LoginError: Failed to login
Just fixed this exception (loginerror) with a try/except statement
Updates implemented in latest commits to issue6 branch
Largely fixed by #11 though I'm not sure it's even useful to have a configuration file. Might be best to just do all by command line!
Summary
Provide a generic configuration file setup for a base install of influxdb settings. Allow user to edit this as needed with command line options.
Problem Explanation
Installation should be easy and configuration also easy.
Supporting Information