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

14th
Jan 2017
Himanshi-Khandelwal
@Himanshi-Khandelwal
Jan 14 2017 01:41 UTC
@SaptakS virtualenv .virtual
Himanshi-Khandelwal
@Himanshi-Khandelwal
Jan 14 2017 06:54 UTC

after pip install -r reqyirements.txt File "/home/himanshi/open-event-orga-server/.virtual/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1003, in run_setup

raise DistutilsError("Setup script exited with %s" % (v.args[0],))

distutils.errors.DistutilsError: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1


Cleaning up...
Command /home/himanshi/open-event-orga-server/.virtual/bin/python -c "import setuptools, tokenize;file='/home/himanshi/open-event-orga-server/.virtual/build/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-vUXo__-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/himanshi/open-event-orga-server/.virtual/include/site/python2.7 failed with error code 1 in /home/himanshi/open-event-orga-server/.virtual/build/cryptography
Storing debug log for failure in /home/himanshi/.pip/pip.log

this use to come
Saptak Sengupta
@SaptakS
Jan 14 2017 07:02 UTC
Do sudo apt-get install libffi-dev
and then try again
Himanshi-Khandelwal
@Himanshi-Khandelwal
Jan 14 2017 07:07 UTC
(.virtual)himanshi@himanshi-HP-Notebook:~/open-event-orga-server$ sudo apt-get install libffi-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libffi-dev is already the newest version.
The following packages were automatically installed and are no longer required:
linux-headers-generic-lts-vivid linux-image-generic-lts-vivid thermald
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 402 not upgraded.
Saptak Sengupta
@SaptakS
Jan 14 2017 07:09 UTC
sudo apt-get install build-essential libssl-dev libffi-dev python-dev
try this and see...
Himanshi-Khandelwal
@Himanshi-Khandelwal
Jan 14 2017 07:10 UTC
(.virtual)himanshi@himanshi-HP-Notebook:~/open-event-orga-server$ sudo apt-get install build-essential libssl-dev libffi-dev python-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
python-dev is already the newest version.
libffi-dev is already the newest version.
libssl-dev is already the newest version.
The following packages were automatically installed and are no longer required:
linux-headers-generic-lts-vivid linux-image-generic-lts-vivid thermald
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 402 not upgraded.
Saptak Sengupta
@SaptakS
Jan 14 2017 07:11 UTC
ok...
Arush Goyal
@arush0311
Jan 14 2017 11:51 UTC
Hi all.. I am new to this community. How can I get started? :D
Avi Aryan
@aviaryan
Jan 14 2017 11:52 UTC
@arush0311 Hi Arush, first of all try to setup orga-server on your local system and get it running. Once you understand the project and feel confident, have a look at the issues and help us solve them. You can also report issues if you find any. https://github.com/fossasia/open-event-orga-server/issues
Arush Goyal
@arush0311
Jan 14 2017 11:53 UTC
great! thanks :thumbsup:
Avi Aryan
@aviaryan
Jan 14 2017 11:53 UTC
:smile:
Arush Goyal
@arush0311
Jan 14 2017 11:58 UTC
@aviaryan One quick question, is it a centralised system where anyone can host events
Or an event manager has to host the server on his machine
Avi Aryan
@aviaryan
Jan 14 2017 12:00 UTC
Both can happen. If an org likes, they can setup open event on their own server and host events. Or they can always use our server at eventyay.com
Arush Goyal
@arush0311
Jan 14 2017 12:00 UTC
thanks! :thumbsup:
Arush Goyal
@arush0311
Jan 14 2017 12:56 UTC

I am getting this

Error: You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.

while pip install -r requirements/dev.txt

Avi Aryan
@aviaryan
Jan 14 2017 13:25 UTC
install libpq-dev .. apt-get install libpq-dev .. also make sure you have postgres
Arush Goyal
@arush0311
Jan 14 2017 13:45 UTC
@aviaryan I have to run celery and redis every time right?
Avi Aryan
@aviaryan
Jan 14 2017 13:45 UTC
Yes
Arush Goyal
@arush0311
Jan 14 2017 13:45 UTC
should I put it into virtualenv hooks?
Avi Aryan
@aviaryan
Jan 14 2017 13:48 UTC
I generally use a bash script to run everything required
run celery and redis as deamon with -d
Arush Goyal
@arush0311
Jan 14 2017 13:49 UTC
how how to stop them?
Avi Aryan
@aviaryan
Jan 14 2017 13:55 UTC
ctrl-c works to exit the bash script with all processes
Arush Goyal
@arush0311
Jan 14 2017 13:56 UTC
but they are in background mode
Avi Aryan
@aviaryan
Jan 14 2017 13:57 UTC
ok sorry, run them with &
it used to work on my ubuntu
and works on my macOS
Arush Goyal
@arush0311
Jan 14 2017 13:57 UTC
ctrl-c?
Avi Aryan
@aviaryan
Jan 14 2017 13:58 UTC
yes
Arush Goyal
@arush0311
Jan 14 2017 13:59 UTC
ok...not working for me though.. :+1:
have to manually kill process
Avi Aryan
@aviaryan
Jan 14 2017 14:01 UTC
:+1:
Arush Goyal
@arush0311
Jan 14 2017 14:08 UTC
working. :clap: :clap:
btw the password created and password used donot match here
should I create an issue for this?
Arush Goyal
@arush0311
Jan 14 2017 14:19 UTC
@aviaryan Do you have a low difficulty issue in mind that I can take?
Mario Behling
@mariobehling
Jan 14 2017 17:53 UTC
@niranjan94 What is your plan with the documentation? I see there are folders like /robot in there. And there are also md files that are not generated from the /docs folder. I think it would be good to have all the info in the docs folder and generate the site from the content there, plus the start page that is generated from the Readme.md. What do you think?
Niranjan Rajendran
@niranjan94
Jan 14 2017 17:56 UTC
@mariobehling the robot folder contains the robot framework test results ... It is from our previous gh-pages structure ...
Yes. The plan is to move everything to docs folder in the main branches. But I haven't been feeling too well today ... So, didn't do any work ... WIll work on it asap ...
Mario Behling
@mariobehling
Jan 14 2017 18:00 UTC
ah ok. No problem. Just wanted to understand your idea. Get well and take care of yourself!
Niranjan Rajendran
@niranjan94
Jan 14 2017 18:02 UTC
Thanks ... ! :) .. The rough idea is to have a defined folder-file structure for the docs folder which will then be used to properly organize and update the gh-pages branch on every commit
Mario Behling
@mariobehling
Jan 14 2017 18:07 UTC
:+1: