schollz / find3

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

Having Trouble in login #105

Closed djbs291 closed 6 years ago

djbs291 commented 6 years ago

When i log in with the family name, it starts a download of a file with extension .gz which i am not able to open and not the page with the dashboard.

schollz commented 6 years ago

What is the family name?

What is the URL that it redirects to when you login?

djbs291 commented 6 years ago

Hi,

The family name is gecad and it redirects to https://cloud.internalpositioning.com/view/dashboard/gecad. With this URL it is started a download of gecad.gz

2018-07-13 17:09 GMT+01:00 Zack notifications@github.com:

What is the family name?

What is the URL that it redirects to when you login?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/schollz/find3/issues/105#issuecomment-404879049, or mute the thread https://github.com/notifications/unsubscribe-auth/AnSx85sndzK3GGYznICJMMXvvjVEg3xkks5uGMYpgaJpZM4VPJFT .

schollz commented 6 years ago

Great, thanks.

Something went wrong with your DB, here's the error:

runtime error: index out of range
/usr/local/go/src/runtime/panic.go:505 (0x435758)
/usr/local/go/src/runtime/panic.go:28 (0x43459d)
/usr/local/work/src/github.com/schollz/find3/server/main/src/api/analysis.go:377 (0x7c0f93)
/usr/local/work/src/github.com/schollz/find3/server/main/src/server/server.go:278 (0xa27f0a)
/usr/local/work/src/github.com/schollz/find3/server/main/src/server/server.go:325 (0xa2a003)
/usr/local/work/src/github.com/gin-gonic/gin/context.go:108 (0x9f9502)
/usr/local/work/src/github.com/gin-gonic/gin/recovery.go:47 (0xa08ee9)
/usr/local/work/src/github.com/gin-gonic/gin/context.go:108 (0x9f9502)
/usr/local/work/src/github.com/schollz/find3/server/main/src/server/server.go:1065 (0xa2f07c)
/usr/local/work/src/github.com/gin-gonic/gin/context.go:108 (0x9f9502)
/usr/local/work/src/github.com/gin-gonic/gin/gin.go:359 (0xa01005)
/usr/local/work/src/github.com/gin-gonic/gin/gin.go:326 (0xa00852)
/usr/local/go/src/net/http/server.go:2694 (0x6abd0b)
/usr/local/go/src/net/http/server.go:1830 (0x6a7ec0)
/usr/local/go/src/runtime/asm_amd64.s:2361 (0x4627c0)

I'll look into it later this weekend.

djbs291 commented 6 years ago

Ok, Thanks for Helping

A Sex, 13 de jul de 2018, 17:25, Zack notifications@github.com escreveu:

Great, thanks.

Something went wrong with your DB, here's the error:

runtime error: index out of range /usr/local/go/src/runtime/panic.go:505 (0x435758) /usr/local/go/src/runtime/panic.go:28 (0x43459d) /usr/local/work/src/github.com/schollz/find3/server/main/src/api/analysis.go:377 (0x7c0f93) /usr/local/work/src/github.com/schollz/find3/server/main/src/server/server.go:278 (0xa27f0a) /usr/local/work/src/github.com/schollz/find3/server/main/src/server/server.go:325 (0xa2a003) /usr/local/work/src/github.com/gin-gonic/gin/context.go:108 (0x9f9502) /usr/local/work/src/github.com/gin-gonic/gin/recovery.go:47 (0xa08ee9) /usr/local/work/src/github.com/gin-gonic/gin/context.go:108 (0x9f9502) /usr/local/work/src/github.com/schollz/find3/server/main/src/server/server.go:1065 (0xa2f07c) /usr/local/work/src/github.com/gin-gonic/gin/context.go:108 (0x9f9502) /usr/local/work/src/github.com/gin-gonic/gin/gin.go:359 (0xa01005) /usr/local/work/src/github.com/gin-gonic/gin/gin.go:326 (0xa00852) /usr/local/go/src/net/http/server.go:2694 (0x6abd0b) /usr/local/go/src/net/http/server.go:1830 (0x6a7ec0) /usr/local/go/src/runtime/asm_amd64.s:2361 (0x4627c0)

I'll look into it later this weekend.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/schollz/find3/issues/105#issuecomment-404883350, or mute the thread https://github.com/notifications/unsubscribe-auth/AnSx88AZViZk6CSUJvSTZmf9E3A5Zb9bks5uGMnqgaJpZM4VPJFT .

djbs291 commented 6 years ago

Hi,

Did you look into those errors this past weekend? Do you know their origin?

Best Regards

2018-07-13 17:29 GMT+01:00 David Silva davidmaio96@gmail.com:

Ok, Thanks for Helping

A Sex, 13 de jul de 2018, 17:25, Zack notifications@github.com escreveu:

Great, thanks.

Something went wrong with your DB, here's the error:

runtime error: index out of range /usr/local/go/src/runtime/panic.go:505 (0x435758) /usr/local/go/src/runtime/panic.go:28 (0x43459d) /usr/local/work/src/github.com/schollz/find3/server/main/src/api/analysis.go:377 (0x7c0f93) /usr/local/work/src/github.com/schollz/find3/server/main/src/server/server.go:278 (0xa27f0a) /usr/local/work/src/github.com/schollz/find3/server/main/src/server/server.go:325 (0xa2a003) /usr/local/work/src/github.com/gin-gonic/gin/context.go:108 (0x9f9502) /usr/local/work/src/github.com/gin-gonic/gin/recovery.go:47 (0xa08ee9) /usr/local/work/src/github.com/gin-gonic/gin/context.go:108 (0x9f9502) /usr/local/work/src/github.com/schollz/find3/server/main/src/server/server.go:1065 (0xa2f07c) /usr/local/work/src/github.com/gin-gonic/gin/context.go:108 (0x9f9502) /usr/local/work/src/github.com/gin-gonic/gin/gin.go:359 (0xa01005) /usr/local/work/src/github.com/gin-gonic/gin/gin.go:326 (0xa00852) /usr/local/go/src/net/http/server.go:2694 (0x6abd0b) /usr/local/go/src/net/http/server.go:1830 (0x6a7ec0) /usr/local/go/src/runtime/asm_amd64.s:2361 (0x4627c0)

I'll look into it later this weekend.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/schollz/find3/issues/105#issuecomment-404883350, or mute the thread https://github.com/notifications/unsubscribe-auth/AnSx88AZViZk6CSUJvSTZmf9E3A5Zb9bks5uGMnqgaJpZM4VPJFT .

schollz commented 6 years ago

@djbs291 Something weird is going on with your database, I've not seen before.

What did you use to submit fingerprints - the app, the command line tool, or something else?

djbs291 commented 6 years ago

I used the app FIND3 Scanner in a Huawei P8 2017

2018-07-16 15:11 GMT+01:00 Zack notifications@github.com:

@djbs291 https://github.com/djbs291 Something weird is going on with your database, I've not seen before.

What did you use to submit fingerprints - the app, the command line tool, or something else?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/schollz/find3/issues/105#issuecomment-405260710, or mute the thread https://github.com/notifications/unsubscribe-auth/AnSx82yGeSJQJwtLyQbhwjZbywj93QlAks5uHJ8igaJpZM4VPJFT .

schollz commented 6 years ago

@djbs291 It will take some time to figure out.

In the meantime can you try making a new database (new family name) and try learning again? I'd like to know if this is reproducible.

djbs291 commented 6 years ago

Hi,

I changed the family name to "pesta", but the same problem keeps happening (it downloads a file named pesta.gz). Is it possible to be a compatibility problem on the device which i am doing the scanning?

I tested the first version of FIND, and it works without problems.

Best regards.

2018-07-16 17:49 GMT+01:00 Zack notifications@github.com:

@djbs291 https://github.com/djbs291 It will take some time to figure out.

In the meantime can you try making a new database (new family name) and try learning again? I'd like to know if this is reproducible.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/schollz/find3/issues/105#issuecomment-405312202, or mute the thread https://github.com/notifications/unsubscribe-auth/AnSx85F-HwJx3gNiGii1w3THN-Bofl-bks5uHMQxgaJpZM4VPJFT .

schollz commented 6 years ago

https://github.com/schollz/find3/commit/ffdb18d0287fde892c4137bfd0bf2af28786c218 Should fix it.

The cloud server will restart in about an hour, try it again then and see if it works. Seems to be working now: gecad dashboard

heathcliffYang commented 6 years ago

Hello, I encounter a similar problem after I pulled your new code.

In my case, the server cannot produce the corresponding .find3.ai file with the family name contains '-' (my project's family name is 'exp-d')

schollz commented 6 years ago

Can you share your log file or database?

heathcliffYang commented 6 years ago

Here is the data storage server's log data.

2018-07-20 12:32:43 [INFO] [PID-18312] server.go func1:1068 140.109.16.166:40125 GET /ws?family=exp-d&device=xphone 552.763µs 
2018-07-20 12:33:16 [INFO] [PID-18312] server.go func1:1068 140.109.16.166:52666 POST /data 84.100491ms 
2018-07-20 12:33:16 [ERROR] [PID-18312] analysis.go AnalyzeSensorData:222 unable to analyze: could not find '/home/ubuntu/go/src/github.com/schollz/find3/server/main/data/CSzF2cs.find3.ai' 
2018-07-20 12:33:28 [INFO] [PID-18312] server.go func1:1068 140.109.16.166:52666 POST /data 16.400923ms 
2018-07-20 12:33:28 [ERROR] [PID-18312] analysis.go AnalyzeSensorData:222 unable to analyze: could not find '/home/ubuntu/go/src/github.com/schollz/find3/server/main/data/CSzF2cs.find3.ai' 
2018-07-20 12:33:38 [INFO] [PID-18312] server.go func1:1068 140.109.16.166:52666 POST /data 17.15747ms 
2018-07-20 12:33:38 [ERROR] [PID-18312] analysis.go AnalyzeSensorData:222 unable to analyze: could not find '/home/ubuntu/go/src/github.com/schollz/find3/server/main/data/CSzF2cs.find3.ai' 
2018-07-20 12:33:48 [INFO] [PID-18312] server.go func1:1068 140.109.16.166:52666 POST /data 11.768425ms 
2018-07-20 12:33:48 [ERROR] [PID-18312] analysis.go AnalyzeSensorData:222 unable to analyze: could not find '/home/ubuntu/go/src/github.com/schollz/find3/server/main/data/CSzF2cs.find3.ai' 
2018-07-20 12:34:39 [INFO] [PID-18312] server.go func1:1068 140.109.16.166:52666 POST /data 20.050462ms 
2018-07-20 12:34:39 [ERROR] [PID-18312] analysis.go AnalyzeSensorData:222 unable to analyze: could not find '/home/ubuntu/go/src/github.com/schollz/find3/server/main/data/CSzF2cs.find3.ai' 
2018-07-20 12:34:49 [INFO] [PID-18312] server.go func1:1068 140.109.23.112:54435 POST / 806.929µs 
2018-07-20 12:34:49 [WARN] [PID-18312] server.go 1:205 No learning data available 
2018-07-20 12:34:49 [WARN] [PID-18312] server.go 1:210 could not get LastCalibrationTime 
2018-07-20 12:34:49 [WARN] [PID-18312] server.go 1:215 could not get AccuracyBreakdown 
2018-07-20 12:34:49 [WARN] [PID-18312] server.go 1:220 could not get AlgorithmEfficacy 
2018-07-20 12:34:49 [WARN] [PID-18312] analysis.go GetByLocation:355 missing deviceFirstTime for xphone 
2018-07-20 12:34:49 [INFO] [PID-18312] server.go func1:1068 140.109.23.112:54435 GET /view/dashboard/exp-d 14.414003ms 
2018-07-20 12:34:49 [INFO] [PID-18312] server.go func1:1068 140.109.16.166:52666 POST /data 9.990957ms 
2018-07-20 12:34:49 [ERROR] [PID-18312] analysis.go AnalyzeSensorData:222 unable to analyze: could not find '/home/ubuntu/go/src/github.com/schollz/find3/server/main/data/CSzF2cs.find3.ai' 
2018-07-20 12:34:49 [INFO] [PID-18312] server.go func1:1068 140.109.23.112:54436 GET /ws?device=all&family=exp-d 191.583µs 
2018-07-20 12:34:57 [INFO] [PID-18312] server.go func1:1068 140.109.16.166:52666 POST /data 12.876033ms 
2018-07-20 12:34:57 [ERROR] [PID-18312] analysis.go AnalyzeSensorData:222 unable to analyze: could not find '/home/ubuntu/go/src/github.com/schollz/find3/server/main/data/CSzF2cs.find3.ai' 

ai server's

2018-07-20 12:33:16,103 - [server/classify] - DEBUG - loading /home/ubuntu/go/src/github.com/schollz/find3/server/main/data/CSzF2cs.find3.ai
127.0.0.1 - - [20/Jul/2018 12:33:16] "POST /classify HTTP/1.1" 200 -
2018-07-20 12:33:28,453 - [server/classify] - DEBUG - loading /home/ubuntu/go/src/github.com/schollz/find3/server/main/data/CSzF2cs.find3.ai
127.0.0.1 - - [20/Jul/2018 12:33:28] "POST /classify HTTP/1.1" 200 -
2018-07-20 12:33:38,530 - [server/classify] - DEBUG - loading /home/ubuntu/go/src/github.com/schollz/find3/server/main/data/CSzF2cs.find3.ai
127.0.0.1 - - [20/Jul/2018 12:33:38] "POST /classify HTTP/1.1" 200 -
2018-07-20 12:33:48,532 - [server/classify] - DEBUG - loading /home/ubuntu/go/src/github.com/schollz/find3/server/main/data/CSzF2cs.find3.ai
127.0.0.1 - - [20/Jul/2018 12:33:48] "POST /classify HTTP/1.1" 200 -
2018-07-20 12:34:39,675 - [server/classify] - DEBUG - loading /home/ubuntu/go/src/github.com/schollz/find3/server/main/data/CSzF2cs.find3.ai
127.0.0.1 - - [20/Jul/2018 12:34:39] "POST /classify HTTP/1.1" 200 -
2018-07-20 12:34:49,640 - [server/classify] - DEBUG - loading /home/ubuntu/go/src/github.com/schollz/find3/server/main/data/CSzF2cs.find3.ai
127.0.0.1 - - [20/Jul/2018 12:34:49] "POST /classify HTTP/1.1" 200 -
2018-07-20 12:34:57,593 - [server/classify] - DEBUG - loading /home/ubuntu/go/src/github.com/schollz/find3/server/main/data/CSzF2cs.find3.ai
127.0.0.1 - - [20/Jul/2018 12:34:57] "POST /classify HTTP/1.1" 200 -
2018-07-20 12:35:09,651 - [server/classify] - DEBUG - loading /home/ubuntu/go/src/github.com/schollz/find3/server/main/data/CSzF2cs.find3.ai
127.0.0.1 - - [20/Jul/2018 12:35:09] "POST /classify HTTP/1.1" 200 -
2018-07-20 12:35:39,826 - [server/classify] - DEBUG - loading /home/ubuntu/go/src/github.com/schollz/find3/server/main/data/CSzF2cs.find3.ai
127.0.0.1 - - [20/Jul/2018 12:35:39] "POST /classify HTTP/1.1" 200 -

And, how would you like me to share my database?

Thank you!!

schollz commented 6 years ago

@heathcliffYang join the slack channel and you can add it there.

I don't think its a problem with your family name "exp-d" it must be something else.

djbs291 commented 6 years ago

Hi,

The system is working! Thank you for your help

Best Regards

2018-07-20 14:19 GMT+01:00 Zack notifications@github.com:

Reopened #105 https://github.com/schollz/find3/issues/105.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/schollz/find3/issues/105#event-1744782363, or mute the thread https://github.com/notifications/unsubscribe-auth/AnSx8zW596shso1NakQ2aR1PhiNa_Ca_ks5uIdjIgaJpZM4VPJFT .

schollz commented 6 years ago

Great @djbs291 , thanks.

@heathcliffYang could you open a new issue for your problem?

djbs291 commented 6 years ago

Good Morning,

I am unable to access this link https://cloud.internalpositioning.com/view/location/gecadpesta/p8, in order to verify my device activity.

It results the error "unable to locate image for 'p8' for 'gecadpesta' ".

May you verify this issue, please?

Best Regards.

2018-07-20 15:45 GMT+01:00 Zack notifications@github.com:

Closed #105 https://github.com/schollz/find3/issues/105.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/schollz/find3/issues/105#event-1744975374, or mute the thread https://github.com/notifications/unsubscribe-auth/AnSx8-fFBkjyqLIj2Gk9gCEk0p8BEl-Rks5uIez4gaJpZM4VPJFT .

schollz commented 6 years ago

Calibrate first -> https://cloud.internalpositioning.com/view/dashboard/gecadpesta

djbs291 commented 6 years ago

The same error keeps happening

2018-08-08 15:54 GMT+01:00 Zack notifications@github.com:

Calibrate first -> https://cloud.internalpositioning.com/view/ dashboard/gecadpesta

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/schollz/find3/issues/105#issuecomment-411434947, or mute the thread https://github.com/notifications/unsubscribe-auth/AnSx80oDtLaqUXPQrd1gyU-9LmFcgq1tks5uOvuIgaJpZM4VPJFT .

djbs291 commented 6 years ago

I have already calibrated

2018-08-08 16:02 GMT+01:00 David Silva davidmaio96@gmail.com:

The same error keeps happening

2018-08-08 15:54 GMT+01:00 Zack notifications@github.com:

Calibrate first -> https://cloud.internalpositioning.com/view/dashboard/ gecadpesta

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/schollz/find3/issues/105#issuecomment-411434947, or mute the thread https://github.com/notifications/unsubscribe-auth/AnSx80oDtLaqUXPQrd1gyU-9LmFcgq1tks5uOvuIgaJpZM4VPJFT .

schollz commented 6 years ago

@djbs291 Should be working now

djbs291 commented 6 years ago

Good Afternoon,

There is an option on FIND3 web interface with location analysis. But the problem is I am having trouble to get these graphs from the Website ( https://cloud.internalpositioning.com/view/analysis/gecadpesta1). I need them to a college Work.

Can you help me with this issue?

Zack notifications@github.com escreveu no dia sexta, 13/07/2018 à(s) 17:09:

What is the family name?

What is the URL that it redirects to when you login?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/schollz/find3/issues/105#issuecomment-404879049, or mute the thread https://github.com/notifications/unsubscribe-auth/AnSx85sndzK3GGYznICJMMXvvjVEg3xkks5uGMYpgaJpZM4VPJFT .