Is there a reason why you repeat to me what I just said in my previous post?AF6VN wrote: ↑Tue Sep 08, 2020 1:14 pmThe imported modules are standard Python library routines.KE7FNS wrote: ↑Mon Sep 07, 2020 1:02 pm
I didn't devote any time digging into the actual bmapi script written by Andy at all. I just looked at the error codes and noticed that they are not a script related to Pi-star at all. They are scripts that belong to the python installation itself.
BM API keys don't use any of those characters, so the scripts shouldn't be expecting one, ESPECIALLY at the start.AF6VN wrote: ↑Tue Sep 08, 2020 1:14 pm The error states that the first character (char 0) does not match a valid JSON object (which likely means it is not something like {, [, or ( ). Unfortunately, the exception formatting does not /print/ "s" to show what it found (it is passed to the exception only for use in computing the line/column values).
If the BM API key is invalid for the user you get a totally different error. I tested it by modifying mine.
Code: Select all
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: 'NoneType' object is not subscriptable
Doubtful it is a key issue.