Hide Forgot
When Apache is first started, each worker does not have a static filter configured for /tg_widgets/tgmochikit until it handles a request which renders widgets. As a result when the server is first started it will appear to randomly return 404 errors for MochiKit js files, depending on whether you hit a worker that has been initialised yet. Upstream bug filed here: https://sourceforge.net/p/turbogears1/tickets/34/
As a workaround we can explicitly initialise TGMochiKit when our application is started in /usr/share/bkr/beaker-server.wsgi.
Could this be causing the spinner on "Show all results" to spin forever? I'm guessing we might have the required javascript loaded to actually do the call correctly?
Also, we kill and respawn apache workers every 200 requests so we will be experiencing this over and over.
Dan, Can you paste the workaround here? Thanks
The workaround is to put this near the bottom of beaker-server.wsgi: import tgmochikit from turbogears.widgets.base import register_static_directory tgmochikit.init(register_static_directory, config) I've pushed a patch to Gerrit.
Beaker 0.8 has been released.