Alert "The program version has changed" without any changes in Builder

40 views
Skip to first unread message

Zoi Moravec

unread,
Nov 14, 2025, 4:35:05 AMNov 14
to Jam.py Users Mailing List
HI all!
On my portal, based on version 7 jam.py when working 1-3 users at the same time, sometimes the message "The program version has changed. Refresh the page so that the changes take effect." At the same time, I'm definitely not doing anything in Builder. Only I have access to it. What could it be?

Dean D. Babic

unread,
Nov 14, 2025, 8:36:42 PMNov 14
to Jam.py Users Mailing List
Hi
it is not a builder related, but a cache probably. Try clearing it.

Zoi Moravec

unread,
Dec 3, 2025, 7:20:45 AMDec 3
to Jam.py Users Mailing List
no, clearing the cache does not help. only restarting the service (gunicorn) helps.
This error occurs at this moment on the server.
But I don't understand what specific resource we are talking about. I can't figure out the nature of such error.

ERROR - 403 Forbidden: You don't have the permission to access the requested resource. It is either read-protected or not readable by the server.
Traceback (most recent call last):
  File "/opt/webapps/jam.py/lib/python3.11/site-packages/jam/wsgi.py", line 248, in __call__
    return self.on_project_file(request, environ, suffix)(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/webapps/jam.py/lib/python3.11/site-packages/jam/wsgi.py", line 387, in on_project_file
    raise Forbidden()
werkzeug.exceptions.Forbidden: 403 Forbidden: You don't have the permission to access the requested resource. It is either read-protected or not readable by the server.


суббота, 15 ноября 2025 г. в 04:36:42 UTC+3, Dean D. Babic:

Drazen Babic

unread,
Dec 3, 2025, 8:09:01 AMDec 3
to Zoi Moravec, Jam.py Users Mailing List
I would try PythonAnywhere.

Also, Kevins site was working well for me:
https://fineupp.com/ - Cloud Development Environment 

Plenty of other choices. If the app works well with server.py, then the problem is somewhere else.

D.


On Wed, 3 Dec 2025 at 8:20 pm, Zoi Moravec <zoi.m...@gmail.com> wrote:
no, clearing the cache does not help. only restarting the service (gunicorn) helps.
This error occurs at this moment on the server.
But I don't understand what specific resource we are talking about. I can't figure out the nature of such error.

ERROR - 403 Forbidden: You don't have the permission to access the requested resources. It is either read-protected or not readable by the server.

Traceback (most recent call last):
  File "/opt/webapps/jam.py/lib/python3.11/site-packages/jam/wsgi.py", line 248, in __call__
    return self.on_project_file(request, environ, suffix)(environ, start_response)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/webapps/jam.py/lib/python3.11/site-packages/jam/wsgi.py", line 387, in on_project_file
    raise Forbidden()
werkzeug.exceptions.Forbidden: 403 Forbidden: You don't have the permission to access the requested resource. It is either read-protected or not readable by the server.


суббота, 15 ноября 2025 г. в 04:36:42 UTC+3, Dean D. Babic:
Hi
it is not a builder related, but a cache probably. Try clearing it.

On Friday, November 14, 2025 at 5:35:05 PM UTC+8 zoi.m...@gmail.com wrote:
HI all!
On my portal, based on version 7 jam.py when working 1-3 users at the same time, sometimes the message "The program version has changed. Refresh the page so that the changes take effect." At the same time, I'm definitely not doing anything in Builder. Only I have access to it. What could it be?

--
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 visit https://groups.google.com/d/msgid/jam-py/8ea48876-4552-44e2-b538-5d8f97071822n%40googlegroups.com.

Dean D. Babic

unread,
Dec 3, 2025, 10:06:31 PMDec 3
to Jam.py Users Mailing List
This line in wsgi.py:
                elif prefix in ['js', 'css']:
                    return self.on_project_file(request, environ, suffix)(environ, start_response)

is telling that the js or css is the problem for the Project. 
The other line (387):
    def on_project_file(self, request, environ, file_name):
        if self.check_session(request, self.task):
            return self.serve_prog_file(request, environ, file_name)
        else:
            raise Forbidden()
is also confirming this.

When Jam has issues with this files, it is possible to get the "The program version has changed...." imo.

BTW, I posted a wrong link, it is not fineupp but https://websson.cloud/
This is where we have a few Jam v7 apps with no issues at all.

Hope this helps.
Reply all
Reply to author
Forward
0 new messages