BackEnd issueshttps://gricad-gitlab.univ-grenoble-alpes.fr/Projets-INFO4/18-19/21/backend/-/issues2019-04-09T10:55:26+02:00https://gricad-gitlab.univ-grenoble-alpes.fr/Projets-INFO4/18-19/21/backend/-/issues/16Unit test to cover database2019-04-09T10:55:26+02:00Romain GuillotUnit test to cover databaseThibaut ArnouxThibaut Arnouxhttps://gricad-gitlab.univ-grenoble-alpes.fr/Projets-INFO4/18-19/21/backend/-/issues/21Handle file IO errors in preprocess.py2019-03-14T15:14:30+01:00Romain GuillotHandle file IO errors in preprocess.pyReview all functions and handle problems that can be occured,
For example when we open the offers file, catch the exception if the file doesn't exit and print a message (+exit)Review all functions and handle problems that can be occured,
For example when we open the offers file, catch the exception if the file doesn't exit and print a message (+exit)https://gricad-gitlab.univ-grenoble-alpes.fr/Projets-INFO4/18-19/21/backend/-/issues/25Use a generator to load wikipedia corpus to save memory (and same for offers)2019-04-09T10:56:15+02:00Romain GuillotUse a generator to load wikipedia corpus to save memory (and same for offers)https://gricad-gitlab.univ-grenoble-alpes.fr/Projets-INFO4/18-19/21/backend/-/issues/26[MAYBE] Change module organisation (merge preprocess and cnn)2019-04-09T10:54:25+02:00Romain Guillot[MAYBE] Change module organisation (merge preprocess and cnn)https://gricad-gitlab.univ-grenoble-alpes.fr/Projets-INFO4/18-19/21/backend/-/issues/29Unit testing for CNN package2019-04-09T10:56:09+02:00Romain GuillotUnit testing for CNN packagehttps://gricad-gitlab.univ-grenoble-alpes.fr/Projets-INFO4/18-19/21/backend/-/issues/31Update routes documentation (API documentation and routes.md)2019-04-09T10:57:29+02:00Romain GuillotUpdate routes documentation (API documentation and routes.md)https://gricad-gitlab.univ-grenoble-alpes.fr/Projets-INFO4/18-19/21/backend/-/issues/32API package code documentation (syntax problems)2019-04-09T18:17:38+02:00Romain GuillotAPI package code documentation (syntax problems)https://gricad-gitlab.univ-grenoble-alpes.fr/Projets-INFO4/18-19/21/backend/-/issues/33CI to generate documentation, run unit tests, ets2019-04-09T18:54:20+02:00Romain GuillotCI to generate documentation, run unit tests, etshttps://gricad-gitlab.univ-grenoble-alpes.fr/Projets-INFO4/18-19/21/backend/-/issues/34Fix tensorflow version (1.12.0) or upgrade code to migrate to the 1.13.0v2019-04-12T15:16:46+02:00Romain GuillotFix tensorflow version (1.12.0) or upgrade code to migrate to the 1.13.0vCurrently : 1.13.0 ==> raise error (predict)Currently : 1.13.0 ==> raise error (predict)https://gricad-gitlab.univ-grenoble-alpes.fr/Projets-INFO4/18-19/21/backend/-/issues/35Generate prediction from frontend ==> exception raised2019-04-12T15:19:54+02:00Romain GuillotGenerate prediction from frontend ==> exception raised- open front
- generate a prediction
==> Error (even if the predictions are returned)
Exception traceback :
```
Traceback (most recent call last):
File "/home/ob/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_ap...- open front
- generate a prediction
==> Error (even if the predictions are returned)
Exception traceback :
```
Traceback (most recent call last):
File "/home/ob/.local/lib/python3.6/site-packages/flask/app.py", line 2292, in wsgi_app
response = self.full_dispatch_request()
File "/home/ob/.local/lib/python3.6/site-packages/flask/app.py", line 1815, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/ob/.local/lib/python3.6/site-packages/flask_cors/extension.py", line 161, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "/home/ob/.local/lib/python3.6/site-packages/flask/app.py", line 1718, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/ob/.local/lib/python3.6/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/home/ob/.local/lib/python3.6/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/home/ob/.local/lib/python3.6/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/ob/.local/lib/python3.6/site-packages/flask_cors/decorator.py", line 128, in wrapped_function
resp = make_response(f(*args, **kwargs))
File "/home/ob/Documents/Polytech/S8/Projets/backend/SmartRecruiting_BackEnd/api/routes.py", line 70, in decorated_function
return f(*args, **kwargs)
File "/home/ob/Documents/Polytech/S8/Projets/backend/SmartRecruiting_BackEnd/api/routes.py", line 231, in add_offer_link_field
is_inbase = db_manager.prediction_manager.add_prediction(mark["note"], mark["id"], id_offer, data['inbase'])
TypeError: string indices must be integers
```