-
Notifications
You must be signed in to change notification settings - Fork 10
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
TypeError: can only concatenate str (not "NoneType") to str #5
Comments
Any more details? it seems your network have some devices without Serial Number, which is strange. |
Hey, We are seeing this as well. It looks like in our case cellular gateways return no serial.
output from dashboard.organizations.getOrganizationDevicesUplinksLossAndLatency
You can add the below to skip the the loss and latency for the one with no serial
|
Could you please submit pull request with the patch? |
Fix issue #5 to handle hosts without serial number.
Thank you. Merged. Issue closed. |
Traceback (most recent call last): File "/usr/local/lib/python3.12/socketserver.py", line 692, in process_request_thread self.finish_request(request, client_address) File "/usr/local/lib/python3.12/socketserver.py", line 362, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/local/lib/python3.12/socketserver.py", line 761, in __init__ self.handle() File "/usr/local/lib/python3.12/http/server.py", line 436, in handle self.handle_one_request() File "/usr/local/lib/python3.12/http/server.py", line 424, in handle_one_request � method() File "/app/meraki-api-exporter.py", line 245, in do_GET target = '{serial="' + host + \ ~~~~~~~~~~~~^~~~~~ TypeError: can only concatenate str (not "NoneType") to str
The text was updated successfully, but these errors were encountered: