bhark / Konsent

A platform designed to help groups make decisions without hierarchy and representatives, built on anarchist values.
GNU General Public License v3.0
24 stars 4 forks source link

Testfix #62

Closed ghost closed 6 years ago

bhark commented 6 years ago

The "progresses in x" value isn't printed properly in phase 2.

ghost commented 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.

ghost commented 6 years ago

@dellitsni okay i've refactored the code some, can you give it another try?

bhark commented 6 years ago

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.

bhark commented 6 years ago

@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.

ghost commented 6 years ago

yeah just noticed that, no idea why that happends. disabled threading? :(

ghost commented 6 years ago

i feel like i've introduced a bug

ghost commented 6 years ago

it seems that locally it works thought :man_shrugging:

ghost commented 6 years ago

now it works on pythonanywhere too? wtf :laughing:

i got some 'Internal Errors' from pythoneverywhere but can't reproduce reliably.

ghost commented 6 years ago

maybe make update happen every 60seconds so we don't put too much load on the server?

ghost commented 6 years ago

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

bhark commented 6 years ago

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.

bhark commented 6 years ago

Got it fixed! Now we just need SSL and a way to update the phases.