500 error with loc_longitude
-
Hi Pierre,
I ran into another problem:
Event log reports an error 500 (is this http 500?):
Inconsistent data to insert in data table: Array ( [device_id] => yy:00:00:00:00:01 [device_name] => Merkur [module_id] => 00:00:00:00:00:01 [module_type] => NAComputed [module_name] => [Computed Values] [measure_timestamp] => 2017-02-01 09:08:38 [measure_type] => loc_longitude [measure_value] => )
Here’s my realtime.txt: https://www.schwarzwaldgeier.de/realtime.txt
01/02/2017 08:02:01 4.5 78.98 0 0 0 0 0.0 0.0 1018.84 N 0 km/h C hPa mm 0.0 +0.0 0.0 0.0 0.0 20.0 50 4.5 +0.0 4.5 08:02 4.5 08:02 0 08:02 0 08:02 1024.25 08:02 1024.25 08:02 1.8.7 819 0 0 0 0 0 0 0 0 0 1 0 N 1700 m 4.5 1 420.1 1
it still contains a lot of fake/placeholder data, as it is work in progress. But it should be valid, as far as I can tell.
According to the realtime.txt specifications I could find, the file doesn’t include a longitude anyway.
So I checked the add/edit station dialog. No matter which format I try, on saving, it floors latitude and longitude to their integer values, i.e. 48.764444, 8.280556 becomes 48 and 8. (which is quite a bit off). I tried most of the formats on https://goo.gl/0PzlQH, with no success.
How do I add the coordinates the right way? Or is ist a realtime.txt problem? Or something else?
Thanks in advance and sorry for opening yet another ticket, I just thought it might be easier to search that way for others.
- The topic ‘500 error with loc_longitude’ is closed to new replies.