Closed ghost closed 6 years ago
Hmm yea, it's probably cause there is no attribute progresses_in_minutes
in the model and the pickling that happens for the appscheduler doesn't pick that up.
@dellitsni okay i've refactored the code some, can you give it another try?
That looks really clean, much better. Everything works now too. Good work!
By the way, Konsent is online at http://konsent.xyz now! I'm working on getting SSL with Let's Encrypt, will make a post on Raddle when it's ready. I've made a Konsent Developers union just for fun to test things out, the password is "correcthorsebatterystaple" if you wanna join.
e: I think i made a typo in the password when i created the union. Way to go. e2: Fixed it.
@surrealbytes Hey, you found a bug already. Your post completely skipped phase 2. :thinking:
I think threading is disabled on PythonAnywhere, which makes apscheduler go crazy, I'll see what i can do about it.
yeah just noticed that, no idea why that happends. disabled threading? :(
i feel like i've introduced a bug
it seems that locally it works thought :man_shrugging:
now it works on pythonanywhere too? wtf :laughing:
i got some 'Internal Errors' from pythoneverywhere but can't reproduce reliably.
maybe make update happen every 60seconds so we don't put too much load on the server?
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
got it just now again
Yeah it's weird, I'm getting it too. The error log says "The MySQL server has gone away". Not very helpful.
I don't think the phases are going to update either, there's some work to do still.
Got it fixed! Now we just need SSL and a way to update the phases.
The "progresses in x" value isn't printed properly in phase 2.