I do my best to fix any obvious bugs but as dirkhh points out, I didnt write the visualize code. Is this something that just started recently? Do you have any other error messages?
I don't see any other error messages. It did work before. I used it many times before.
I have changed to verbose logging and get this:
Using MongoDB URI: mongodb://127.0.0.1:27017/teslams
Teslamotors.com logon information loaded from /home/teslams/.teslams/config.json
Using MongoDB URI: mongodb://127.0.0.1:27017/teslams
Server running on port 8766
[ { ts: 1449723555171,
vehicles:
{ color: null,
display_name: 'Marco Kuendig P85',
id: '3824582768133353935',
option_codes: 'MS02,REEU,TM02,DRLH,PF01,BT85,PPSW,RFPO,WTSP,IZMB,IDCF,TR00,SU01,SC01,PX00,TP01,PK01,CW01,AU01,CH01,HP00,PA00,LP01,SP01,PS01,AD02,X001,X003,X007,X009,X011,X027,X031,X013,X024,X019,BS00,COCH',
vehicle_id: 82621370,
vin: '5YJSA2DP2DFS14231',
tokens: [Object],
state: 'online',
id_s: '3824582768133353935',
remote_start_enabled: true,
calendar_enabled: true,
notifications_enabled: true,
backseat_token: null,
backseat_token_updated_at: null },
_id: 566906a3e99bd79f0109b777 } ]
European Signature P 85
<ul><li> pearl white</li><li> panorama roof</li><li> gray 21" wheels</li><li> air suspension</li><li> super charger enabled</li><li> tech package</li><li> parking sensors</li><li> cold weather package</li><li> audio upgrade</li><li> dual charger</li><li> premium lighting package</li><li> security package</li></ul>
battery capacity 85
GET /shared.css 304 2.002 ms - -
GET /favicon.ico 304 0.595 ms - -
find user marco
GET /jquery-1.9.1.js 304 0.364 ms - -
GET /jquery-ui-timepicker-addon.js 304 0.812 ms - -
GET /jquery-ui-1.10.3.custom.min.js 304 0.439 ms - -
GET /jquery-ui-timepicker-addon.css 304 0.340 ms - -
GET /shared.css 304 2.013 ms - -
GET /url.min.js 304 0.898 ms - -
GET /lib.js 304 0.424 ms - -
GET /jquery-ui.css 304 0.478 ms - -
GET /images/ui-bg_flat_75_ffffff_40x100.png 304 0.472 ms - -
starting DB request after 12 ms
processing data after 422 ms
total processing time 451 ms
GET /jquery.flot.time.min.js 304 1.907 ms - -
GET /jquery.flot.js 304 1.606 ms - -
GET /jquery-1.9.1.js 304 1.109 ms - -
GET /jquery.flot.threshold.min.js 304 0.935 ms - -
GET /jquery.flot.orderBars.js 304 0.433 ms - -
GET /jquery-ui-timepicker-addon.css 304 0.320 ms - -
GET /jquery-ui.css 304 2.268 ms - -
GET /shared.css 304 1.859 ms - -
GET /jquery-ui-timepicker-addon.js 304 1.120 ms - -
GET /jquery.flot.stack.js 304 0.521 ms - -
GET /jquery-ui-1.10.3.custom.min.js 304 0.569 ms - -
GET /lib.js 304 0.323 ms - -
GET /url.min.js 304 0.683 ms - -
GET /images/ui-bg_highlight-soft_75_cccccc_1x100.png 304 0.396 ms - -
GET /images/ui-bg_glass_55_fbf9ee_1x400.png 304 0.311 ms - -
GET /images/ui-icons_222222_256x240.png 304 0.922 ms - -
GET /images/ui-bg_glass_75_e6e6e6_1x400.png 304 0.724 ms - -
GET /images/ui-bg_glass_75_dadada_1x400.png 304 0.410 ms - -
GET /images/ui-bg_glass_65_ffffff_1x400.png 304 0.321 ms - -
starting DB request after 11 ms
processing data after 1176 ms
total processing time 1414 ms
GET /jquery.flot.js 304 1.259 ms - -
GET /jquery.flot.time.min.js 304 1.026 ms - -
GET /jquery.flot.orderBars.js 304 0.898 ms - -
GET /jquery.flot.threshold.min.js 304 0.282 ms - -
GET /jquery-ui-timepicker-addon.css 304 1.809 ms - -
GET /jquery-ui.css 304 1.168 ms - -
GET /jquery.flot.stack.js 304 1.127 ms - -
GET /shared.css 304 0.644 ms - -
GET /jquery-ui-1.10.3.custom.min.js 304 0.373 ms - -
GET /jquery-1.9.1.js 304 0.815 ms - -
GET /jquery-ui-timepicker-addon.js 304 0.805 ms - -
GET /lib.js 304 0.925 ms - -
GET /url.min.js 304 0.308 ms - -