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

6th
Dec 2015
Mohit Kanwal
@creativepsyco
Dec 06 2015 08:31 UTC
@PiotrKowalski after this you can cd into the working directory of the server side components
and run the app
Aditya Vyas
@aditya1702
Dec 06 2015 08:58 UTC
When i run the 'run.py' and go to the address http://0.0.0.0:5000/ I get the following error:

TypeError

TypeError: 'bool' object is not callable
Traceback (most recent call last)

File "/home/adi/open-event-orga-server/fossasia/lib/python2.7/site-packages/flask/app.py", line 1836, in __call__

return self.wsgi_app(environ, start_response)

File "/home/adi/open-event-orga-server/fossasia/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app

response = self.make_response(self.handle_exception(e))

File "/home/adi/open-event-orga-server/fossasia/lib/python2.7/site-packages/flask_cors/extension.py", line 110, in wrapped_function
if not login.current_user.is_authenticated():

TypeError: 'bool' object is not callable
Mohit Kanwal
@creativepsyco
Dec 06 2015 08:59 UTC
when did you clone the repo?
Aditya Vyas
@aditya1702
Dec 06 2015 08:59 UTC
Can anyone please tell how to resolve this?
Mohit Kanwal
@creativepsyco
Dec 06 2015 09:00 UTC
this was fixed in the latest version
Abhishek Batra
@batraabhishek
Dec 06 2015 09:00 UTC
I guess this error was fixed. Are u up to date with master ?
Aditya Vyas
@aditya1702
Dec 06 2015 09:00 UTC
ohhh...I think I had cloned it 2 months ago
Abhishek Batra
@batraabhishek
Dec 06 2015 09:00 UTC
:P
Aditya Vyas
@aditya1702
Dec 06 2015 09:00 UTC
So I clone it again right?
Mohit Kanwal
@creativepsyco
Dec 06 2015 09:00 UTC
commit 371e2550cbf34cf6d9ddc3ef6277b5532e893064 fixed this, it was a flask-login bug
yep
Aditya Vyas
@aditya1702
Dec 06 2015 09:00 UTC
Ok thank you
Mohit Kanwal
@creativepsyco
Dec 06 2015 09:00 UTC
just start fresh
you can follow the instructions in the readme
and see if you struggle with it
you can improve it :)
Aditya Vyas
@aditya1702
Dec 06 2015 09:02 UTC
Yaa I want to contribute...I will try:)
Mohit Kanwal
@creativepsyco
Dec 06 2015 09:02 UTC
cool
take a look here
there are some configuration related issues like setting up API Docs etc.
which are independent
and can be carried out :D
Aditya Vyas
@aditya1702
Dec 06 2015 12:23 UTC
Ok :)
Piotr Kowalski
@PiotrKowalski
Dec 06 2015 14:15 UTC
I'd like to change position between "Login" and "Password". Should I do it? I think that it is better http://scr.hu/3e1h/oqopz
than this http://scr.hu/3e1h/sqhwe
Mohit Kanwal
@creativepsyco
Dec 06 2015 14:16 UTC
you can do it the second
way it is fine
but its more of a cosmetic change
Piotr Kowalski
@PiotrKowalski
Dec 06 2015 14:16 UTC
I know but I can't look on this :P
Mohit Kanwal
@creativepsyco
Dec 06 2015 14:17 UTC
okay
do it
then
Piotr Kowalski
@PiotrKowalski
Dec 06 2015 15:01 UTC
How can I get access to html ? I searched all files. And I couldn't find html with login form
Mohit Kanwal
@creativepsyco
Dec 06 2015 15:03 UTC
should be one of the files under template folder
Piotr Kowalski
@PiotrKowalski
Dec 06 2015 15:03 UTC
O, thanks
Rafał Kowalski
@rafalkowalski
Dec 06 2015 15:20 UTC
@PiotrKowalski templates/admin/auth
Piotr Kowalski
@PiotrKowalski
Dec 06 2015 15:22 UTC
Thanks