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

4th
Jan 2017
Medo
@magdalenesuo
Jan 04 2017 05:49
@SaptakS @niranjan94 please check #2837 .. Travis check failed but I can't seem to find any problem :worried:
Saptak Sengupta
@SaptakS
Jan 04 2017 06:13
@magdalenesuo my PR also fails travis check... I think the error is due to some different reason.
@niranjan94 the error in travis build is in api/test_export_import.py
Niranjan Rajendran
@niranjan94
Jan 04 2017 06:17
I'll check now
The development branch seems to be passing travis
Saptak Sengupta
@SaptakS
Jan 04 2017 06:17
This is the traceback:
Traceback (most recent call last):
  File "/home/saptaks/FOSSASIA/open-event-orga-server/app/api/helpers/tasks.py", line 47, in export_event_task
    path = event_export_task_base(event_id, settings)
  File "/home/saptaks/FOSSASIA/open-event-orga-server/app/api/exports.py", line 67, in event_export_task_base
    path = export_event_json(event_id, settings)
  File "/home/saptaks/FOSSASIA/open-event-orga-server/app/api/helpers/export_helpers.py", line 187, in export_event_json
    _download_media(data, 'event', dir_path, settings)
  File "/home/saptaks/FOSSASIA/open-event-orga-server/app/api/helpers/export_helpers.py", line 153, in _download_media
    if not is_downloadable(url):
  File "/home/saptaks/FOSSASIA/open-event-orga-server/app/api/helpers/import_helpers.py", line 372, in is_downloadable
    h = requests.head(url, allow_redirects=True)
  File "/home/saptaks/.virtualenvs/open-event-server/lib/python2.7/site-packages/requests/api.py", line 96, in head
    return request('head', url, **kwargs)
  File "/home/saptaks/.virtualenvs/open-event-server/lib/python2.7/site-packages/requests/api.py", line 56, in request
    return session.request(method=method, url=url, **kwargs)
  File "/home/saptaks/.virtualenvs/open-event-server/lib/python2.7/site-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/home/saptaks/.virtualenvs/open-event-server/lib/python2.7/site-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/home/saptaks/.virtualenvs/open-event-server/lib/python2.7/site-packages/requests/adapters.py", line 487, in send
    raise ConnectionError(e, request=request)
ConnectionError: HTTPSConnectionPool(host='placehold.it', port=443): Max retries exceeded with url: /350x150 (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3ebdd2550>: Failed to establish a new connection: [Errno 110] Connection timed out',))
for the travis fail
Niranjan Rajendran
@niranjan94
Jan 04 2017 06:18
Looks like placehold.it is down
Yep. It's donw
*down
Saptak Sengupta
@SaptakS
Jan 04 2017 06:18
LOL...
Niranjan Rajendran
@niranjan94
Jan 04 2017 06:18
Seems to be back up again ...
I'll restart the tests
Saptak Sengupta
@SaptakS
Jan 04 2017 06:18
(Y)
:+1:
Niranjan Rajendran
@niranjan94
Jan 04 2017 06:18
and will remove the placehold.it deps -_-
Saptak Sengupta
@SaptakS
Jan 04 2017 06:19
okay... and also the check maybe... Because after all that test is independent of checks we make...
changes e make *
Soumya Vadlamannati
@Marauderer97
Jan 04 2017 06:52
@shubham-padia Pulling from the development branch and migrating the database hasn't worked either, I still face an internal server error..Any more suggestions? NOTE: This happens only when I try to register or login, the initial home page is still displayed
Saptak Sengupta
@SaptakS
Jan 04 2017 06:52
@Marauderer97 what error do you get in the terminal?
Soumya Vadlamannati
@Marauderer97
Jan 04 2017 07:36
blob
There is also a huge Traceback generated.
Shubham Padia
@shubham-padia
Jan 04 2017 08:07
@Marauderer97 can you send a link to the log when you run the migrate command ? Still thinking this is a migration issue
Saptak Sengupta
@SaptakS
Jan 04 2017 08:20
@Marauderer97 did you do python manage.py db upgrade?
Soumya Vadlamannati
@Marauderer97
Jan 04 2017 11:25
@shubham-padia @SaptakS yes, upgrade did the trick! Thanks a lot! :smile:
Saptak Sengupta
@SaptakS
Jan 04 2017 13:03
@Marauderer97 you shud always do a upgrade after changes in model has been pushed...