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

25th
Nov 2017
Mario Behling
@mariobehling
Nov 25 2017 01:24
Hi @/all after discussing with @niranjan94 we decided to finally rename the open event server project to "open-event-server". Have fun!
Marut Pandya
@pandyamarut
Nov 25 2017 06:34
@invinciblycool when i am trying to install requirements with pip its showing like permission denied at the end.
Anshuman Verma
@anshumanv
Nov 25 2017 06:36
did you sudo ?
Vaibhav Singh
@vaibhavsingh97
Nov 25 2017 06:39
try sudo
Rahul Tiwari
@invinciblycool
Nov 25 2017 09:50
@raju249 No the docs for the installation still needs to be updated. Check out #4544
Rajendra kadam
@raju249
Nov 25 2017 09:51
Thanks @invinciblycool
Mind if I take this issue and fix it ?
Rahul Tiwari
@invinciblycool
Nov 25 2017 09:52
Yeah sure. Go for it. :thumbsup:
Rajendra kadam
@raju249
Nov 25 2017 09:52
Thanks
Rajendra kadam
@raju249
Nov 25 2017 09:58
@invinciblycool
Just to be sure, all the docs https://github.com/fossasia/open-event-server/tree/development/docs/installation here need to be updated right ?
Rahul Tiwari
@invinciblycool
Nov 25 2017 10:00
Hi @/all after discussing with @niranjan94 we decided to finally rename the open event server project to "open-event-server". Have fun!
Great!!
@raju249 Yes, also any other docs if needed to be updated can be found in the general docs. Please refer the issue description.
Rajendra kadam
@raju249
Nov 25 2017 10:09
Sure @invinciblycool
Also the issue page says to change it open-event-api but the text here says to change it to open-event-server which one is it ?
I guess its open-event-server
Rahul Tiwari
@invinciblycool
Nov 25 2017 10:11
Yes stick with open-event-server. I will update the desc.
Rajendra kadam
@raju249
Nov 25 2017 10:13
Thanks @invinciblycool

There are some python files as well that point to orga-server

@home_routes.route('/')
def index():
    """
    Index route
    :return:
    """
    r = requests.get('https://raw.githubusercontent.com/fossasia/open-event-orga-server/gh-pages/api/v1/index.html')
    response = make_response(r.content)
    response.headers["Content-Type"] = "text/html"
    return response

Are these need to be updated since the name is changed for the whole repo ?

Rahul Tiwari
@invinciblycool
Nov 25 2017 10:18
@raju249 Although github redirects automatically in case of a changed repo name and would work even if the name is not changed in the files, but still it will be better if you rename those instances. Good find BTW.
Rajendra kadam
@raju249
Nov 25 2017 10:19
Roger that @invinciblycool
Thanks :smile:
This gitter channel is on open-event-orga-server . I guess will need to keeo those instances to open-event-orga-server
Rahul Tiwari
@invinciblycool
Nov 25 2017 10:23
Yes for now.
Rajendra kadam
@raju249
Nov 25 2017 10:23
Ok
Rajendra kadam
@raju249
Nov 25 2017 10:32
What about travis and codecov URLs ?
@invinciblycool
Rajendra kadam
@raju249
Nov 25 2017 10:50
Maintainers review needed
fossasia/open-event-server#4546
Thanks
Nikhil Seth
@nikhil-seth
Nov 25 2017 15:12
Thank you for your help @vaibhavsingh97 . Could You Also Guide me as to which issues should i work upon.
Rajendra kadam
@raju249
Nov 25 2017 15:17
I am trying to do local installation.
When I run python create_db.py
This is what I get:
Traceback (most recent call last):
  File "create_db.py", line 5, in <module>
    from app import current_app
  File "/home/rajendra/OpenSource/open-event-server/app/__init__.py", line 44, in <module>
    from app.views.elastic_cron_helpers import sync_events_elasticsearch, cron_rebuild_events_elasticsearch
  File "/home/rajendra/OpenSource/open-event-server/app/views/elastic_cron_helpers.py", line 11, in <module>
    conn = psycopg2.connect(Config.SQLALCHEMY_DATABASE_URI)
  File "/usr/local/lib/python2.7/dist-packages/psycopg2/__init__.py", line 130, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: FATAL:  password authentication failed for user "open_event_user"
FATAL:  password authentication failed for user "open_event_user"
Why does the script assumes I created a open_event_user for database access ?
Also the database name
Rajendra kadam
@raju249
Nov 25 2017 15:24
It worked after I created the user and table manually.
Mario Behling
@mariobehling
Nov 25 2017 15:34
:+1:
Rajendra kadam
@raju249
Nov 25 2017 15:43
@mariobehling Is this behaviour intended ?
Mario Behling
@mariobehling
Nov 25 2017 15:44
It is an additional step. If you think it should be added to the script, please open an issue. @Kreijstal What do you think?
Rajendra kadam
@raju249
Nov 25 2017 15:48
Sure @mariobehling
I think it should not require the developer to check the config and then create database. One other thing that we can do is add the steps in installation instructions.
What you think ?
Kreijstal
@Kreijstal
Nov 25 2017 16:02
Hmmm
@raju249 did you see the .env.example file