schollz / find3

High-precision indoor positioning framework, version 3.
https://www.internalpositioning.com/doc
MIT License
4.64k stars 365 forks source link

analysis.go AnalyzeSensorData:222 unable to analyze: could not find ***.find3.ai #89

Closed n4kre closed 6 years ago

n4kre commented 6 years ago

Hi everyone,

I'm trying to set up FIND3 in passive mode, but I cannot manage to get the learning phase properly working. Below is a sample of my main.stdout log file, showing the kind of error I keep having:

2018-05-17 09:49:11 [ERROR] [PID-14] analysis.go AnalyzeSensorData:222 unable to analyze: could not find '/data/data/HnyBvV9USQt.find3.ai'
2018-05-17 09:49:11 [DEBUG] [PID-14] db.go AddSensor:365 [foobar] inserted sensor data, 306.570142ms
2018-05-17 09:49:11 [DEBUG] [PID-14] server.go parseRollingData:959 [foobar] saved reverse sensor data for wifi-f4:8c:50:e0:e4:fd
2018-05-17 09:49:11 [DEBUG] [PID-14] server.go parseRollingData:948 [foobar] reverse sensor data: {Timestamp:1526550550364 Family:foobar Device:wifi-8c:f5:a3:e6:f2:ef Location: Sensors:map[wifi:map[rasp4-wifi:-84]] GPS:{Latitude:0 Longitude:0 Altitude:0}}

Regarding ai.stderr, this is what I constantly get:

2018-05-17 09:49:39,160 - [server/classify] - DEBUG - loading /data/data/HnyBvV9USQt.find3.ai
127.0.0.1 - - [17/May/2018 09:49:39] "POST /classify HTTP/1.1" 200 -

Does anyone have an idea on why the so called HnyBvV9USQt.find3.ai file is missing? I only have HnyBvV9USQt.sqlite3.db is in /opt/find3-data/data.

FYI:

n4kre commented 6 years ago

After a few hours, it eventually self-resolved: just be patient. :)

sjcliffe commented 5 years ago

I'm having the same issue. Left it running overnight but it hasn't "self-resolved" yet :-(