econpy / torque

A set of tools used with the Torque app for Android to store OBD2 data in MySQL, view GPS data from Torque on a map in real time using the Google Maps JavaScript API, plot OBD2 data in time series charts, and export the data to CSV or JSON.
MIT License
285 stars 120 forks source link

Not plotting when using Select 2 Variables to Plot #19

Closed TwinMist closed 10 years ago

TwinMist commented 10 years ago

Hi, after last pull it now plots when you select the session but not when you select a Variables to Plot.

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '! FROM raw_logs WHERE sessio' at line 1

[Sun Aug 17 08:32:58.672510 2014] [:error] [pid 29811] [client 109.201.154.182:65521] PHP Notice: Undefined index: Plot! in /var/www/html/torque/web/plot.php on line 33, referer: http://www.ravilious.info/torque/web/session.php?id=1408204267154

thanks for all ya help

econpy commented 10 years ago

Again, this is a known situation. It works perfect when you select 2 variables like the section name "Select 2 Variables to Plot" states. You receive this error when you select only 1 variable. I'm not going to bother fixing this because I will be redoing all of it when I change the charting behavior to enable the user to plot any number of variables.

See my comment on planned features in Issue 14.

@andyrav, I appreciate your input, but when you continuously post repeat issues and don't word the problem using complete sentences, it is very frustrating to me. I put a lot of time into this, solving problems that don't affect my ability to use the tool. I don't mean to be rude, but please take the time to make sure an issue hasn't already been discussed elsewhere.

TwinMist commented 10 years ago

sorry i see now just select too, me been thick,