GithubHelp home page GithubHelp logo

vcar's Introduction

vCar

vCar is a Driving Behaviour Analytics Platfom

vCar Driving Analytics Solution processes the data coming from the connected vehicle and generates advanced driving behavior and driving pattern reports. The data is collected and analysed with the ultimate goal to gain a full understanding of the drivers capability to adjust his driving based on driving conditions.

Instalation

build static files

Install dependencies : npm install

  • Production :

gulp build --prod Then you need to set DEBUG=False in config/config.py

  • Development :
    • gulp build [--dev] to generate static files.
    • gulp watch to watch static files.

Install Elasticsearch

Install Redis

Docker integration :

To run vcar inside docker please make this changes:

Change REDIS_HOST and ELASTICSEARCH_HOST in importer/platforms/openxc/constants.py to :

REDIS_HOST = 'redis'

ELASTICSEARCH_HOST = 'elastic' then run : docker-compose up

Technologies

Python, FLASK, MYSQL, REDIS, ELASTIC, DOCKER, VISJS, NODEJS, BOOTSTRAP, CSS, JINJA2, HTML

Platform Insights

  • Car data storages
  • Data visualization
  • Driving Behavior

Team members

boubouhkarim

vcar's People

Contributors

boubouhkarim avatar chermehdi avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

vcar's Issues

Blocking PiP at serving.py

Error log dans la console de démarrage :bloking pip, exception dans werkzeug () serving.py

127.0.0.1 - - [10/May/2017 12:34:15] "GET /carboard/login HTTP/1.1" 200 -
Error on request:
Traceback (most recent call last):
File "/Users/salaheddine/anaconda/envs/venv/lib/python2.7/site-packages/werkzeug/serving.py", line 209, in run_wsgi
execute(self.server.app)
File "/Users/salaheddine/anaconda/envs/venv/lib/python2.7/site-packages/werkzeug/serving.py", line 200, in execute
write(data)
File "/Users/salaheddine/anaconda/envs/venv/lib/python2.7/site-packages/werkzeug/serving.py", line 168, in write
self.send_header(key, value)
File "/Users/salaheddine/anaconda/envs/venv/lib/python2.7/BaseHTTPServer.py", line 412, in send_header
self.wfile.write("%s: %s\r\n" % (keyword, value))
IOError: [Errno 32] Broken pipe

Flask_Misaka has problems with version 0.1.17 on windows PC : stdint.h is missing

Download link : https://code.google.com/archive/p/msinttypes/downloads

Sometimes you need to put it in local data repository :
Example : C:\Users\MERHRAOUI\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\include

js and css files not found (Latest commit)

Please check the path of javascript and css files:

"GET / HTTP/1.1" 200 -
"GET /static/vendor/modernizr/modernizr.js HTTP/1.1" 200 -
"GET /static/css/frontend.css HTTP/1.1" 404 -
"GET /static/js/frontend.js HTTP/1.1" 404 -
"GET /static/img/frontend/technologies/openxc.png HTTP/1.1" 200 -
"GET /static/img/frontend/technologies/elastic.jpg HTTP/1.1" 200 -
"GET /static/img/frontend/technologies/visjs.png HTTP/1.1" 200 -
"GET /static/img/frontend/technologies/python.jpg HTTP/1.1" 200 -
"GET /static/img/frontend/technologies/leaflet-js.png HTTP/1.1" 200 -
"GET /static/img/frontend/technologies/flask.png HTTP/1.1" 200 -
"GET /static/img/frontend/design.jpg HTTP/1.1" 200 -
....
and more...

paths should be:

/static/js/scripts/frontend.js
/static/css/styles/frontend.css

The same error but with more log

vcar_1 | * Restarting with stat
vcar_1 | * Debugger is active!
vcar_1 | * Debugger PIN: 201-888-367
vcar_1 | 192.168.99.1 - - [23/Nov/2017 15:52:42] "GET /carboard/configuration HTTP/1.1" 200 -
vcar_1 | 192.168.99.1 - - [23/Nov/2017 15:52:43] "GET /static/css/app.css HTTP/1.1" 200 -
vcar_1 | 192.168.99.1 - - [23/Nov/2017 15:52:43] "GET /static/js/vendor.js HTTP/1.1" 200 -
vcar_1 | 192.168.99.1 - - [23/Nov/2017 15:52:43] "GET /static/css/vendor.css HTTP/1.1" 200 -
vcar_1 | 192.168.99.1 - - [23/Nov/2017 15:52:43] "GET /static/js/app.js HTTP/1.1" 200 -
vcar_1 | 192.168.99.1 - - [23/Nov/2017 15:52:43] "GET /static/favicon.ico HTTP/1.1" 200 -
vcar_1 | 192.168.99.1 - - [23/Nov/2017 15:52:43] "GET /imgsizer/uploads/avatars/2016/10/827f6b59-2ef4-4fc7-a728-61a020726d07.jpg?m=crop&v=WhSeVg&w=160&s=8tvZ2D5L992Zqz3FttOhtOWtmHU HTTP/1.1" 200 -
vcar_1 | 192.168.99.1 - - [23/Nov/2017 15:52:43] "GET /static/fonts/font-awesome/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 -
vcar_1 | Debugging middleware caught exception in streamed response at a point where response headers were already sent.
vcar_1 | Traceback (most recent call last):
vcar_1 | File "/usr/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 704, in next
vcar_1 | return self._next()
vcar_1 | File "/usr/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 81, in _iter_encoded
vcar_1 | for item in iterable:
vcar_1 | File "/vcar/app/importer/platforms/openxc/indexing.py", line 25, in task_info
vcar_1 | p.subscribe('info')
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2482, in subscribe
vcar_1 | ret_val = self.execute_command('SUBSCRIBE', *iterkeys(new_channels))
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2404, in execute_command
vcar_1 | self._execute(connection, connection.send_command, *args)
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2415, in _execute
vcar_1 | connection.connect()
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/connection.py", line 489, in connect
vcar_1 | raise ConnectionError(self._error_message(e))
vcar_1 | ConnectionError: Error 99 connecting to localhost:6379. Address not available.
elastic_1 | [2017-11-23T15:52:38,533][INFO ][o.e.p.PluginsService ] [b-yiP4F] no plugins loaded
vcar_1 | 192.168.99.1 - - [23/Nov/2017 15:52:44] "GET /carboard/import/stream HTTP/1.1" 200 -
vcar_1 | Debugging middleware caught exception in streamed response at a point where response headers were already sent.
vcar_1 | Traceback (most recent call last):
vcar_1 | File "/usr/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 704, in next
vcar_1 | return self._next()
vcar_1 | File "/usr/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 81, in _iter_encoded
vcar_1 | for item in iterable:
vcar_1 | File "/vcar/app/importer/platforms/openxc/indexing.py", line 25, in task_info
vcar_1 | p.subscribe('info')
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2482, in subscribe
vcar_1 | ret_val = self.execute_command('SUBSCRIBE', *iterkeys(new_channels))
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2404, in execute_command
vcar_1 | self._execute(connection, connection.send_command, *args)
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2415, in _execute
vcar_1 | connection.connect()
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/connection.py", line 489, in connect
vcar_1 | raise ConnectionError(self._error_message(e))
vcar_1 | ConnectionError: Error 99 connecting to localhost:6379. Address not available.
elastic_1 | [2017-11-23T15:52:48,035][INFO ][o.e.d.DiscoveryModule ] [b-yiP4F] using discovery type [zen]
elastic_1 | [2017-11-23T15:52:49,906][INFO ][o.e.n.Node ] initialized
elastic_1 | [2017-11-23T15:52:49,907][INFO ][o.e.n.Node ] [b-yiP4F] starting ...
elastic_1 | [2017-11-23T15:52:50,530][INFO ][o.e.t.TransportService ] [b-yiP4F] publish_address {127.0.0.1:9300}, bound_addresses {127.0.0.1:9300}
elastic_1 | [2017-11-23T15:52:50,575][WARN ][o.e.b.BootstrapChecks ] [b-yiP4F] max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
elastic_1 | [2017-11-23T15:52:53,710][INFO ][o.e.c.s.ClusterService ] [b-yiP4F] new_master {b-yiP4F}{b-yiP4FaQN-QytpoBu1KGg}{jrzBEmXrQ2KTQbzMFkDKWw}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-elected-as-master ([0] nodes joined)
elastic_1 | [2017-11-23T15:52:53,781][INFO ][o.e.h.n.Netty4HttpServerTransport] [b-yiP4F] publish_address {172.18.0.2:9200}, bound_addresses {0.0.0.0:9200}
elastic_1 | [2017-11-23T15:52:53,784][INFO ][o.e.n.Node ] [b-yiP4F] started
vcar_1 | 192.168.99.1 - - [23/Nov/2017 15:52:49] "GET /carboard/import/stream HTTP/1.1" 200 -
vcar_1 | Debugging middleware caught exception in streamed response at a point where response headers were already sent.
vcar_1 | Traceback (most recent call last):
vcar_1 | File "/usr/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 704, in next
vcar_1 | return self._next()
vcar_1 | File "/usr/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 81, in _iter_encoded
vcar_1 | for item in iterable:
vcar_1 | File "/vcar/app/importer/platforms/openxc/indexing.py", line 25, in task_info
vcar_1 | p.subscribe('info')
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2482, in subscribe
vcar_1 | ret_val = self.execute_command('SUBSCRIBE', *iterkeys(new_channels))
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2404, in execute_command
vcar_1 | self._execute(connection, connection.send_command, *args)
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2415, in _execute
vcar_1 | connection.connect()
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/connection.py", line 489, in connect
vcar_1 | raise ConnectionError(self._error_message(e))
vcar_1 | ConnectionError: Error 99 connecting to localhost:6379. Address not available.
vcar_1 | 192.168.99.1 - - [23/Nov/2017 15:52:54] "GET /carboard/import/stream HTTP/1.1" 200 -
vcar_1 | Debugging middleware caught exception in streamed response at a point where response headers were already sent.
vcar_1 | Traceback (most recent call last):
vcar_1 | File "/usr/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 704, in next
vcar_1 | return self._next()
vcar_1 | File "/usr/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 81, in _iter_encoded
vcar_1 | for item in iterable:
vcar_1 | File "/vcar/app/importer/platforms/openxc/indexing.py", line 25, in task_info
vcar_1 | p.subscribe('info')
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2482, in subscribe
vcar_1 | ret_val = self.execute_command('SUBSCRIBE', *iterkeys(new_channels))
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2404, in execute_command
vcar_1 | self._execute(connection, connection.send_command, *args)
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2415, in _execute
vcar_1 | connection.connect()
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/connection.py", line 489, in connect
vcar_1 | raise ConnectionError(self._error_message(e))
vcar_1 | ConnectionError: Error 99 connecting to localhost:6379. Address not available.
vcar_1 | 192.168.99.1 - - [23/Nov/2017 15:52:59] "GET /carboard/import/stream HTTP/1.1" 200 -
vcar_1 | Debugging middleware caught exception in streamed response at a point where response headers were already sent.

jinja2.exceptions.UndefinedError : Le serveur garde les paramettres de sessions et ca fait planté l'app

J'ai arreté le serveur puis je l'ai redémarré (j'ai été sur la page /carborad). Qd je redémarre et je me logue puis automatiquement il essaie de me renvoyer sur la dernière page 127.0.0.1:5000/carboard/

et ca plante. Je ne peux plus utiliser le site. Il faut que je flache les variables internes du serveurs.

127.0.0.1 - - [02/Jun/2017 13:42:14] "GET / HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:14] "GET /static/css/frontend.css HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:14] "GET /static/vendor/modernizr/modernizr.js HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:14] "GET /static/img/frontend/technologies/openxc.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:14] "GET /static/img/frontend/technologies/elastic.jpg HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:14] "GET /static/img/frontend/technologies/leaflet-js.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:14] "GET /static/img/frontend/technologies/visjs.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:14] "GET /static/img/frontend/technologies/python.jpg HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:14] "GET /static/img/frontend/technologies/flask.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:14] "GET /static/js/frontend.js HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:14] "GET /static/img/frontend/design.jpg HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:15] "GET /static/img/frontend/pattern.png HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:15] "GET /static/img/frontend/preloader.gif HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:15] "GET /static/fonts/font-awesome/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:15] "GET /static/img/frontend/cover/01.jpg HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:15] "GET /static/img/frontend/cover/02.jpg HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:15] "GET /static/img/frontend/cover/03.jpg HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:15] "GET /static/img/frontend/cover/04.jpg HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 13:42:17] "GET /carboard/login HTTP/1.1" 302 -
127.0.0.1 - - [02/Jun/2017 13:42:17] "GET /carboard/ HTTP/1.1" 500 -
Traceback (most recent call last):
File "/Users/berrada/vCar/venv/lib/python2.7/site-packages/flask/app.py", line 1997, in call
return self.wsgi_app(environ, start_response)
File "/Users/berrada/vCar/venv/lib/python2.7/site-packages/flask/app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "/Users/berrada/vCar/venv/lib/python2.7/site-packages/flask/app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "/Users/berrada/vCar/venv/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/Users/berrada/vCar/venv/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/berrada/vCar/venv/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/Users/berrada/vCar/venv/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/berrada/vCar/venv/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functionsrule.endpoint
File "/Users/berrada/vCar/venv/lib/python2.7/site-packages/flask_login/utils.py", line 228, in decorated_view
return func(*args, **kwargs)
File "/Users/berrada/vCar/vcar-dev/app/carboard/views/init.py", line 43, in index
drivers=drivers,
File "/Users/berrada/vCar/venv/lib/python2.7/site-packages/flask/templating.py", line 134, in render_template
context, ctx.app)
File "/Users/berrada/vCar/venv/lib/python2.7/site-packages/flask/templating.py", line 116, in _render
rv = template.render(context)
File "/Users/berrada/vCar/venv/lib/python2.7/site-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/Users/berrada/vCar/venv/lib/python2.7/site-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/Users/berrada/vCar/vcar-dev/templates/carboard/index.html", line 3, in top-level template code
{% from "carboard/macros.html" import small_box, box_header %}
File "/Users/berrada/vCar/vcar-dev/templates/layout.html", line 1, in top-level template code
{% extends "base.html" %}
File "/Users/berrada/vCar/vcar-dev/templates/base.html", line 26, in top-level template code
{% block body %} {% endblock %}
File "/Users/berrada/vCar/vcar-dev/templates/layout.html", line 41, in block "body"
{% block sidebar -%}
File "/Users/berrada/vCar/vcar-dev/templates/layout.html", line 42, in block "sidebar"
{% include 'elements/sidebar.html' %}
File "/Users/berrada/vCar/vcar-dev/templates/elements/sidebar.html", line 37, in top-level template code
{% if request.path == url_for(item.action) %}
File "/Users/berrada/vCar/venv/lib/python2.7/site-packages/flask/helpers.py", line 280, in url_for
if endpoint[:1] == '.':
UndefinedError: 'unicode object' has no attribute #'action'

Platfrom choice in Mac Os does not work

Lorsqu'on choisie un type de plateforme, rien ne se passe comme si on a rien chosie. Il faut que la couleur changes ou qqc comme ca. Aussi dans le wizard, qd tu cliques sur anonyme rien ne se passe alors qu'il est actif

some error in CSS in launching vCar (dev version)

/Users/berrada/vCar/vcar/app/carboard/views/user.py:161: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
form = RegisterForm()
127.0.0.1 - - [02/Jun/2017 11:17:13] "GET /carboard/register HTTP/1.1" 200 -
127.0.0.1 - - [02/Jun/2017 11:17:13] "GET /static/css/libraries/Bootstrap/bootstrap.css HTTP/1.1" 404 -
127.0.0.1 - - [02/Jun/2017 11:17:13] "GET /static/css/libraries/FontAwesome/font-awesome.css HTTP/1.1" 404 -
127.0.0.1 - - [02/Jun/2017 11:17:13] "GET /static/css/libraries/IonIcons/ionicons.css HTTP/1.1" 404 -
127.0.0.1 - - [02/Jun/2017 11:17:14] "GET /static/css/libraries/AdminLTE/AdminLTE.css HTTP/1.1" 404 -
127.0.0.1 - - [02/Jun/2017 11:17:14] "GET /static/css/libraries/AdminLTE/skins/skin-blue.css HTTP/1.1" 404 -
127.0.0.1 - - [02/Jun/2017 11:17:14] "GET /static/css/global.css HTTP/1.1" 404 -
127.0.0.1 - - [02/Jun/2017 11:17:14] "GET /static/js/libraries/Bootstrap/bootstrap.js HTTP/1.1" 404 -
127.0.0.1 - - [02/Jun/2017 11:17:14] "GET /static/js/libraries/jQuery/jquery.js HTTP/1.1" 404 -
127.0.0.1 - - [02/Jun/2017 11:17:14] "GET /static/js/adminlte/AdminLTE/app.js HTTP/1.1" 404 -
127.0.0.1 - - [02/Jun/2017 11:17:14] "GET /static/js/libraries/Bootstrap/bootstrap.js HTTP/1.1" 404 -
127.0.0.1 - - [02/Jun/2017 11:17:14] "GET /static/js/adminlte/AdminLTE/app.js HTTP/1.1" 404 -

npm install dependencies

During the installation, when i build static files i receive this message:

(venv) MacBook-Air:vCar0.2.0 salaheddine$ npm install
npm WARN package.json [email protected] No repository field.

I think we should add a repository field in package.json.
So i add this line "repository": "npm/npm" in package.json, but i don't know if it's the right one.

Then I was able to do an npm install with success.

Driving records renamed and moved

Driving Records : on va faire qui dedans??? Format du fichier??? Capture en ligne?? il faut l'inclure avec les dataset

Il faut le renommer : Samples data et le mettre dans data Storage

Python 3 compatibilies

  • Enhance phython 3 compatibility 👎
  • For example, add dataset et feed dataset in data storage generate exception

docker-compose.yml

Please remove the environment in compose

image: elasticsearch
environment:
- ES_JAVA_OPTS="-Xmx1g" /bin/elasticsearch

we get the following error : elastic_1 | Error: Could not find or load main class "-Xmx1g"
thanks

Import problems

Dans l'import, qd tu fermes une fenetre tu ne plus la reprendre à la dernière étape. c'est pas très grave

Le lien interne import ne marche pas qd tu commences a naviguer dans les sous rubriques

Aussi, pour un utilisateur, lorsqu'il rentre dans une section, le button home ne marche pas on reste sur la même page

Cleaning and resetting sessions variables

Lorsque je me connecte avec un autre compte : c'est tjrs les données de Karim qui sont affichés dans Latest Recods and Latest vehicle ..

Aussi, peut-être qu'il faut vider les variables (comme par exemples dans des import

OS X : gulp command not found after install

when I type gulp it says -bash: gulp: command not found:

(venv) MacBook-Air:vCar0.2.0 salaheddine$ gulp build --prod
-bash: gulp: command not found

Solution:
Turns out that npm was installed in the wrong directory so I had to change the “npm config prefix” by running this code:
npm config set prefix /usr/local

Then I reinstalled gulp globally (with the -g param): sudo npm install gulp -g and it worked properly.

This article is where I found the solution : stackoverflow

Flask Form warning

  • vcar_1 | /vcar/app/carboard/views/dataset.py:76: FlaskWTFDeprecationWarning: "flask_wtf.Form" has been renamed to "FlaskForm" and will be removed in 1.0.
  • vcar_1 | form = FeedDatasetForm()

Undefined error

This error occurs commonly :

192.168.99.1 - - [23/Nov/2017 14:29:30] "GET /carboard/import/stream HTTP/1.1" 200 -
vcar_1 | Debugging middleware caught exception in streamed response at a point where response headers were already sent.
vcar_1 | Traceback (most recent call last):
vcar_1 | File "/usr/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 704, in next
vcar_1 | return self._next()
vcar_1 | File "/usr/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 81, in _iter_encoded
vcar_1 | for item in iterable:
vcar_1 | File "/vcar/app/importer/platforms/openxc/indexing.py", line 25, in task_info
vcar_1 | p.subscribe('info')
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2482, in subscribe
vcar_1 | ret_val = self.execute_command('SUBSCRIBE', *iterkeys(new_channels))
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2404, in execute_command
vcar_1 | self._execute(connection, connection.send_command, *args)
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2415, in _execute
vcar_1 | connection.connect()
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/connection.py", line 489, in connect
vcar_1 | raise ConnectionError(self._error_message(e))
vcar_1 | ConnectionError: Error 99 connecting to localhost:6379. Address not available.
vcar_1 | 192.168.99.1 - - [23/Nov/2017 14:29:35] "GET /carboard/import/stream HTTP/1.1" 200 -
vcar_1 | Debugging middleware caught exception in streamed response at a point where response headers were already sent.
vcar_1 | Traceback (most recent call last):
vcar_1 | File "/usr/local/lib/python2.7/site-packages/werkzeug/wsgi.py", line 704, in next
vcar_1 | return self._next()
vcar_1 | File "/usr/local/lib/python2.7/site-packages/werkzeug/wrappers.py", line 81, in _iter_encoded
vcar_1 | for item in iterable:
vcar_1 | File "/vcar/app/importer/platforms/openxc/indexing.py", line 25, in task_info
vcar_1 | p.subscribe('info')
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2482, in subscribe
vcar_1 | ret_val = self.execute_command('SUBSCRIBE', *iterkeys(new_channels))
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2404, in execute_command
vcar_1 | self._execute(connection, connection.send_command, *args)
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/client.py", line 2415, in _execute
vcar_1 | connection.connect()
vcar_1 | File "/usr/local/lib/python2.7/site-packages/redis/connection.py", line 489, in connect
vcar_1 | raise ConnectionError(self._error_message(e))
vcar_1 | ConnectionError: Error 99 connecting to localhost:6379. Address not available.
vcar_1 | 192.168.99.1 - - [23/Nov/2017 14:29:40] "GET /carboard/import/stream HTTP/1.1" 200 -
vcar_1 | Debugging middleware caught exception in streamed response at a point where response headers were already sent.

gulp build --prod

  • gulp build --prod is not working
  • gulp build --dev : generated the correct files

Please the gulp installation package in the docker because it need installation of more thant 10 sub-packages+nodejs:
npm install gulp-rename
npm install gulp-uglify
npm install gulp-clean-css
npm init
npm install gulp-sourcemaps
npm install gulp-watch
npm install gulp --save-dev
npm install browser-sync --save-dev
npm install gulp-mode

Doc for plateforms and Dataset

Dans related articles : il faut pour chaque dataset les articles en relations. Aussi pour les plugins

A mon avis, il faut faire un anglet pour chaque dataset qui contient la doc en relation

Some extensions

  1. INSTALL and README : Il faut dire qqc sur l'installation de elasticsearch et reDiS:
    s'il faut garder les ports par defaut ou non : Dans README OU INSTALL

  2. L'interface graphique de la connexion qui manque la mise en forme
    a) Login
    b) ABout
    c) Register

Il faut uniformiser l'interface

  1. : problème sur chrome de freezen : l'interface graphqiue de départ de freeze

  2. Dans config/TIPS

Update all packages in Venv

pip freeze > requirements.txt
pip install -r requirements.txt --upgrade

a remplacer avec requirements2 et 3

  1. Chaque fois qu'on clique sur un sous menu (dans la barre à gauche), on ne le voit plus. Il se réduit et on est obligé de reclicker.

  2. Changer la version : faire about et aussi la date du copyright

OS error

  • OSError: [Errno 24] Too many open files: '/tmp/flask-images/eb/eb0015517209578db1af38f1f314cde5.jpeg'

File "/Users/berrada/miniconda3/envs/carnd/lib/python3.5/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/berrada/miniconda3/envs/carnd/lib/python3.5/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functionsrule.endpoint
File "/Users/berrada/miniconda3/envs/carnd/lib/python3.5/site-packages/flask/helpers.py", line 928, in send_static_file
cache_timeout=cache_timeout)
File "/Users/berrada/miniconda3/envs/carnd/lib/python3.5/site-packages/flask/helpers.py", line 678, in send_from_directory
return send_file(filename, **options)
File "/Users/berrada/miniconda3/envs/carnd/lib/python3.5/site-packages/flask/helpers.py", line 549, in send_file
file = open(filename, 'rb')
OSError: [Errno 24] Too many open files: '/Users/berrada/PLUGIN/CORE-DEV/vcar/static/js/app.js'
127.0.0.1 - - [14/Jul/2017 15:41:06] "GET /imgsizer/uploads/avatars/2016/10/827f6b59-2ef4-4fc7-a728-61a020726d07.jpg?h=160&m=crop&v=WWgJKw&w=160&s=b%27NQWv0nqPYQUe-4kunHv0rTyruKQ%27 HTTP/1.1" 200 -

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.