Strange Issue in one view form

41 views
Skip to first unread message

Tony Anytime

unread,
Apr 11, 2024, 4:36:33 PMApr 11
to Jam.py Users Mailing List
I have one view form,  that stops being clickable after a few minutes. 
All other view forms work perfectly fine, and indeed this one works fine, until someone leaves it alone. When you leave it alone then the EDITs wont happen either by using the edit button or by double clicking the table record. If I scroll down past the page or page to the next it will work correctly. Also if I do a refresh_page in the console it works fine. Indeed everything will work in the console fine. Another weirdness is that it does this in both Chrome/Firefox and does not seem to give any error in Python nor JS.  I reviewed the code and there does not seem to be anything causing it, but obviously, something is wrong. 
I don't think it is anything on server side because this is only view form out of dozens that does this, and we have almost twin that uses same database that does not experience the same issue. Any ideas or debugging thoughts would be appreciate. 
My next option is to start stripping program down line by line, all 500 lines.
Any help or comment appreciated...

Tony Anytime

unread,
Apr 19, 2024, 11:10:23 AMApr 19
to Jam.py Users Mailing List
I got rid of all the Javascript, still it wont edit record after a few minutes.
I also  .edit_record()  from js console and it wont run it either unless I refresh it.
Also, create a clone of the view and table, and that seems to be working fine.
So it is somehow that Jam.js edit_record stops functioning after a while.
Still looking into issue.May be my view form somehow got something corrupt in it.
Any thoughts????

Danijel Kaurin

unread,
Apr 19, 2024, 1:20:25 PMApr 19
to Tony Anytime, Jam.py Users Mailing List
Hi Tony.

Which version of Jam.py do you use, V5 or V7?

Regards

Danijel Kaurin

--
You received this message because you are subscribed to the Google Groups "Jam.py Users Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jam-py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jam-py/d1e671f7-effd-46aa-8970-d3216fb26076n%40googlegroups.com.

Tony Anytime

unread,
Apr 19, 2024, 1:56:32 PMApr 19
to Jam.py Users Mailing List
V5  / 5.4.102

Dean D. Babic

unread,
Apr 22, 2024, 7:59:06 AMApr 22
to Jam.py Users Mailing List
Hi Tony,
I suspect this is a problem with the Web server. Are you using gunicorn?
Try it, it might fix the issue.
If not using gunicorn, which server is it tho?
Reply all
Reply to author
Forward
0 new messages