Notifications
Clear all

-->September 6th, 2025<--

Thank you to GolfCharlie and Claude Code for fixing the code to work with the newly changed FAA API! They have saved a lot of time. A new image has been created and will be uploaded today and available later tonight. If you don't want or need the image, you can visit https://github.com/markyharris/livesectional and incorporate the changes into your board now.

--->September 5th, 2025<--
There has been another change to the FAA API which has again broke the map. We are currently working on this. Check back for fix. If you have the fix please post it. - Mark

Glitch, bug or me? Probably me.

4 Posts
2 Users
2 Reactions
1,396 Views
(@stevepeck1)
Trusted Member
Joined: 6 years ago
Posts: 40
Topic starter  

This appeared when I rebooted... The LEDs appear to have quit during the screen wipe.

 

builtins.AttributeError

AttributeError: 'NoneType' object has no attribute 'split'

Traceback (most recent call last)

  • File "/usr/lib/python3/dist-packages/flask/app.py", line 2309, in __call__

    return self.wsgi_app(environ, start_response)
  • File "/usr/lib/python3/dist-packages/flask/app.py", line 2295, in wsgi_app

    response = self.handle_exception(e)
  • File "/usr/lib/python3/dist-packages/flask/app.py", line 1741, in handle_exception

    reraise(exc_type, exc_value, tb)
  • File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in reraise

    raise value
  • File "/usr/lib/python3/dist-packages/flask/app.py", line 2292, in wsgi_app

    response = self.full_dispatch_request()
  • File "/usr/lib/python3/dist-packages/flask/app.py", line 1815, in full_dispatch_request

    rv = self.handle_user_exception(e)
  • File "/usr/lib/python3/dist-packages/flask/app.py", line 1718, in handle_user_exception

    reraise(exc_type, exc_value, tb)
  • File "/usr/lib/python3/dist-packages/flask/_compat.py", line 35, in reraise

    raise value
  • File "/usr/lib/python3/dist-packages/flask/app.py", line 1813, in full_dispatch_request

    rv = self.dispatch_request()
  • File "/usr/lib/python3/dist-packages/flask/app.py", line 1799, in dispatch_request

    return self.view_functions[rule.endpoint](**req.view_args)
  • File "/NeoSectional/webapp.py", line 892, in startup1

    temp = url.split('/')

AttributeError: 'NoneType' object has no attribute 'split'

The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.

To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.

You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:

  • dump() shows all variables in the frame
  • dump(obj) dumps all that's known about the object


   
Quote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 6 years ago
Posts: 575
 

Hi Steve, this will happen if you try to re-run the web interface using the last URL in the address bar after reboot. When you reboot the connection is lost but the URL in the browser will still show something like; http://192.189.2.3:5000/reboot.

If you remove the 'reboot' part of the URL before refreshing the browser, all will be well.

I went back in to see if there was another way to keep this from happening and I believe I found an answer. I'll have to test this a bit and it will be part of the next update. - Mark



   
ReplyQuote
(@stevepeck1)
Trusted Member
Joined: 6 years ago
Posts: 40
Topic starter  

I'm leaving a note here (and other help threads where I've been frustrated) in case it helps someone. I re-did all of the electronics and now appear to have solid reliability and consistent operation. I strongly believe that the basic jumper set had very poor crimped connections and this made for some intermittent and weak connections. I shortened all wire runs and used solid core wire for many components. For those situations where using the jumpers remained beneficial, I took off the black shielding with a needle and touched a tiny bit of solder to each wire connection and replaced the shielding. Any connection that didn't FEEL solid, got a light squeeze with a crimper before pressing onto the terminal. I also had an unnecessarily-long run for the LED data line, and this seemed to create a host of issues. Shortened and tightened and all appears well! Bottom line, TIGHT and short connections are very necessary for a bulletproof project.



   
ReplyQuote
Mark Harris
(@markyharris)
Member Admin Registered
Joined: 6 years ago
Posts: 575
 

Thanks Steve, that's great advice. - Mark



   
ReplyQuote
Share: