App Sessions with zero events?

Why is the python code not firing when an app session is launched?

What I’m trying to do:
Understand App Sessions that have no events.

What I’ve tried and what’s not working:
Looking at logs as in the pictures below, while reviewing the code that runs immediately after the app is loaded.


image
image

So what is the user doing that there are no events firing when the user launches the app?
Python code should fire because that is the first code in the app.
My site is https://robointern.com

Just wanted to add that the app logs are still broken in other ways as well. Search fails often and doesn’t find entries that are there if you skip through them manually.

It just says no log output, so I am not sure if this session is a true visit or a bug of some sort. Possibly the bug is in the logging as you mentioned, but I would love some clarification.

Sometimes prints go to an older session.

If you scroll back to older sessions, you may find one with all the prints.

I gave up on the app logger. I have a Log table that I share with most apps, and I have created my own logger app to browse all the logs from one place. The app has also some http endpoints that allow to log from other tools like Excel, CAD, etc.

2 Likes

I am not sure but maybe it’s a session that never started (User closed the website before it loaded). Or maybe they had javascript disabled.

I get tons of logs like that and have learned to not bother them.

I think JavaScript disabled makes the most sense. It’s probably web scrapers rather than real users.
Great idea to make your own logger. I probably will too, just concerned with gdpr and such compliance to do it right.

1 Like