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

6th
May 2017
Amol Mejari
@mejariamol
May 06 2017 03:26
I made this PR fossasia/open-event-orga-server#3568. But it has failed travis CI build.
Is it due to unit tests since I didn't modify any?
Balaji R
@sch00lb0y
May 06 2017 06:39
root@schoolgirl:~/projects/open-event-orga-server# python create_db.py
Traceback (most recent call last):
File "create_db.py", line 6, in <module>
from app import current_app
File "/home/schoolboy/projects/open-event-orga-server/app/init.py", line 10, in <module>
from app.helpers.scheduled_jobs import send_mail_to_expired_orders, empty_trash, send_after_event_mail, \
File "/home/schoolboy/projects/open-event-orga-server/app/helpers/scheduled_jobs.py", line 7, in <module>
from app.helpers.data import DataManager, delete_from_db, save_to_db
File "/home/schoolboy/projects/open-event-orga-server/app/helpers/data.py", line 16, in <module>
from flask.ext import login
File "/home/schoolboy/miniconda2/lib/python2.7/site-packages/flask/exthook.py", line 110, in load_module
raise ImportError('No module named %s' % fullname)
ImportError: No module named flask.ext.login
i'm getting this error while installing
can anyone help me with this?
Himanshi-Khandelwal
@Himanshi-Khandelwal
May 06 2017 07:32
@sch00lb0y do pip show flask-login
Balaji R
@sch00lb0y
May 06 2017 07:34
Yeah sure will try and let you know thanks
Himanshi-Khandelwal
@Himanshi-Khandelwal
May 06 2017 07:35
@sch00lb0y have you not performed pip install -r requirements.txt?
Balaji R
@sch00lb0y
May 06 2017 07:35
Yeah I did
Himanshi-Khandelwal
@Himanshi-Khandelwal
May 06 2017 07:35
ok
Abhinav Khare
@CosmicCoder96
May 06 2017 08:40
@mejariamol you can go through the logs of travis CI build, it will point you to what caused it.
Niranjan Rajendran
@niranjan94
May 06 2017 10:47
@LuD1161 @shubham-padia @magdalenesuo @enigmaeth @poush @enigmaeth @mejariamol please ensure your SCRUMs are in by 10 am IST. That way the mentors know what is happening at the start of each day.
Niranjan Rajendran
@niranjan94
May 06 2017 10:53
Also, check out a sample scrum here -> https://groups.google.com/forum/#!topic/open-event/1IeEtbQd2wg
Please ensure your SCRUMS follow the above format with proper links to related issues and pull requests.
Aseem Shrey
@LuD1161
May 06 2017 11:18
Is there any way to make a number of users and other test events , tickets , events all at once something like populate_db.py but also which add dummy data to the database , so as to start working on the project straightaway ?
Piyush Agrawal
@poush
May 06 2017 11:20
Yea it would be great if we add some seeding for the database.
Niranjan Rajendran
@niranjan94
May 06 2017 11:28
You can always import sessions/events from https://github.com/fossasia/open-event
I don't think it's a good idea to clutter the already cluttered repository with dummy data seeders too ...
Aseem Shrey
@LuD1161
May 06 2017 12:03

Options I would like to propose :

  1. A python script

  2. A database dump , for everyone to import

This would speed up the process of setting up the development environment .

@niranjan94
But don't we have a populate_db.py file already , what do you say if we add to it itself , no cluttering of the repo ?
Niranjan Rajendran
@niranjan94
May 06 2017 12:05
@LuD1161 you can always import events/sessions from https://github.com/fossasia/open-event easily. And i don't think it's that hard/time-consuming to create a bunch of users.
populate_db.py is NOT for seeding dummy data
It is part of the setup process to load the required permissions/services.
Aseem Shrey
@LuD1161
May 06 2017 12:05
yup I do understand that , ok
Niranjan Rajendran
@niranjan94
May 06 2017 12:06
In fact, there are already plans to remove/cleanup that too ... (Ref. fossasia/open-event-orga-server#3512)
Aseem Shrey
@LuD1161
May 06 2017 12:07
Ok
Niranjan Rajendran
@niranjan94
May 06 2017 12:08
And it's always better for new contributors to actually try out the system themselves ... add events ... add users ... tickets etc so that they get familiar with everything ...
I think an hour extra during the initial setup of a development environment is good trade off if that means them getting familiar with the system.
Aseem Shrey
@LuD1161
May 06 2017 13:23
Yes , totally agreed.
That did help me .
Mario Behling
@mariobehling
May 06 2017 13:53
:+1:
Afroz Ahamad
@enigmaeth
May 06 2017 15:07
I created an event on eventyay a week ago. Can't find it now. Any clue what has happened? Was some data purged?
Niranjan Rajendran
@niranjan94
May 06 2017 15:08
Lemme check
Mario Behling
@mariobehling
May 06 2017 15:11
@enigmaeth Your event is in "drafts". I changed it as I am an admin. Currently we set up the system to show scheduled events on the start page. So, your "test event" without any real data showed up there.
Please use the test server deployed from the development branch on http://open-event-dev.herokuapp.com
Afroz Ahamad
@enigmaeth
May 06 2017 15:12
ok :+1:
Afroz Ahamad
@enigmaeth
May 06 2017 17:20
I want to introduce myself to all my mentors and explain my plans and what I am currently doing. Apart from posting daily scrums on the mailing list, should I personal message them for introduction?