Ok, fixed, should work ok now. (config.py issue)aegis wrote:edit: another error
http://manageddreams.com/ailadder/viewbotrunners.py
Fixed. should work now. (another config.py issue; I will probably migrate a chunk of it into a db table at some point to avoid this in the future)aegis wrote:also reloading the staging website broke it hard, yay.
Hmmm, ok ...the first error appears to be something to do with my moderately large collection of maps, and doesn't make me happy
My original hypothesis was that you were uploading a map with a different archivechecksum to one I'd already uploaded, but since you're using the prod site, and I haven't uploaded any maps to that one, that hypothesis doesn't seem to hold.
Kind of strange that some maps upload, but not all...
Looks like there is a session.commit() after adding each map, and adding each supportedmap, so it's not like there are too many changes or something; and the sqlalchemy objects are re-requested after each commit, so there shouldn't be any expired objects hanging around?
I just checked that:
- BotRunnerSupportedMap.botrunner_id is marked as a foreignkey to botrunners.botrunner_id -> looks ok
- BotRunnerSupportedMap.map_id is marked as a foreignkey to maps.map_id and both map_id and botrunner_id are marked as 'primary_key' -> looks ok