These are chat archives for fossasia/open-event-server

12th
Feb 2019
Abhinav Khare
@CosmicCoder96
Feb 12 08:28 UTC
@mrsaicharan1 what was the output of running the multiple heads check script locally?
Saicharan Reddy
@mrsaicharan1
Feb 12 09:02 UTC
@CosmicCoder96 Didn't get any output. Guess it ran successfully.
It doesn't say that I have multiple migration heads.
Abhinav Khare
@CosmicCoder96
Feb 12 09:06 UTC
okay, and output of python3 manage.py db heads
Saicharan Reddy
@mrsaicharan1
Feb 12 09:07 UTC
e20a821c7c7e (head)
Abhinav Khare
@CosmicCoder96
Feb 12 09:12 UTC
and then push
@mrsaicharan1
Saicharan Reddy
@mrsaicharan1
Feb 12 09:15 UTC
Uh-oh. I think I see where I went wrong. I've added Flask_Dance in the the mentioned file. @CosmicCoder96 Will update it !
It should be Flask-Dance
Abhinav Khare
@CosmicCoder96
Feb 12 09:24 UTC
Yeah but still if it doesn’t work I’ll pull changes in your branch locally and debug it tonight.
Saicharan Reddy
@mrsaicharan1
Feb 12 09:44 UTC
The build failed with the same message. I will try to debug it as well.
Uddeshya Singh
@uds5501
Feb 12 11:34 UTC
@CosmicCoder96 @mrsaicharan1 How do I attach a JWT ?
I was trying to make a new user via API but it's asking me send an authorisation JWT along with it. How do i do that?
Saicharan Reddy
@mrsaicharan1
Feb 12 11:35 UTC
Attaching a JWT to what exactly? To send data over the API?
Uddeshya Singh
@uds5501
Feb 12 11:35 UTC
yeah
Saicharan Reddy
@mrsaicharan1
Feb 12 11:36 UTC
Read the API docs for obtaining a JWT. Create a new user over API.
Uddeshya Singh
@uds5501
Feb 12 11:42 UTC
Alright
Uddeshya Singh
@uds5501
Feb 12 11:59 UTC
@mrsaicharan1 @CosmicCoder96 I can recreate the error now
I just downgraded my database and then tried python3 manage.py db heads
My stack trace is now
psycopg2.ProgrammingError: relation "settings" does not exist
LINE 2: FROM settings ORDER BY settings.id DESC
Uddeshya Singh
@uds5501
Feb 12 12:34 UTC
Can you guys smoothly upgrade and downgrade the database?
Saicharan Reddy
@mrsaicharan1
Feb 12 13:26 UTC
@uds5501 Same error with me.
Uddeshya Singh
@uds5501
Feb 12 13:27 UTC
@mrsaicharan1 Try and debug from here?
Saicharan Reddy
@mrsaicharan1
Feb 12 13:32 UTC
Will try it out
Uddeshya Singh
@uds5501
Feb 12 18:01 UTC
@shreyanshdwivedi I will try working on it
the payment part
tbh, still trying to clamp down where does the completion-time comes into the picture
Shreyansh Dwivedi
@shreyanshdwivedi
Feb 12 18:08 UTC
@uds5501 so can I proceed with the buyer's info and purchase timestamp issue?
Uddeshya Singh
@uds5501
Feb 12 18:08 UTC
Sure, go ahead
Shreyansh Dwivedi
@shreyanshdwivedi
Feb 12 18:08 UTC
Cool :+1: