Forums

web2py Pack error

When I try to pack a web2py app I get the error Error code: 502-backend. This is not the case for all apps. What can be the cause of this?

Richard

My guess is that packing takes a long time and so the request times out. You could try doing the packing from the command line. I couldn't find much in the way of docs for that, just this

All the functionality available from the web2py admin site page is also accessible programmatically via the API defined in the module gluon/admin.py. Simply open a python shell and import this module.

on this page

Glenn,

All of a sudden the pack works again. Some bottle neck is bothering me :( I refer to the mail I did sent to support@pythonanywhere.com.

Everything ok again :) Thank you for the workaround via gluon/admin.py in case of serious issues.

regards, Richard