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

12th
Feb 2019
Abhinav Khare
@CosmicCoder96
Feb 12 08:28
@mrsaicharan1 what was the output of running the multiple heads check script locally?
Saicharan Reddy
@mrsaicharan1
Feb 12 09:02
@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
okay, and output of python3 manage.py db heads
Saicharan Reddy
@mrsaicharan1
Feb 12 09:07
e20a821c7c7e (head)
Abhinav Khare
@CosmicCoder96
Feb 12 09:12
and then push
@mrsaicharan1
Saicharan Reddy
@mrsaicharan1
Feb 12 09:15
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
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
The build failed with the same message. I will try to debug it as well.
Uddeshya Singh
@uds5501
Feb 12 11:34
@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
Attaching a JWT to what exactly? To send data over the API?
Uddeshya Singh
@uds5501
Feb 12 11:35
yeah
Saicharan Reddy
@mrsaicharan1
Feb 12 11:36
Read the API docs for obtaining a JWT. Create a new user over API.
Uddeshya Singh
@uds5501
Feb 12 11:42
Alright
Uddeshya Singh
@uds5501
Feb 12 11:59
@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
Can you guys smoothly upgrade and downgrade the database?
Saicharan Reddy
@mrsaicharan1
Feb 12 13:26
@uds5501 Same error with me.
Uddeshya Singh
@uds5501
Feb 12 13:27
@mrsaicharan1 Try and debug from here?
Saicharan Reddy
@mrsaicharan1
Feb 12 13:32
Will try it out
Uddeshya Singh
@uds5501
Feb 12 18:01
@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
@uds5501 so can I proceed with the buyer's info and purchase timestamp issue?
Uddeshya Singh
@uds5501
Feb 12 18:08
Sure, go ahead
Shreyansh Dwivedi
@shreyanshdwivedi
Feb 12 18:08
Cool :+1: