Welcome to Radarspotting. Please login or sign up.

May 18, 2024, 08:41:36 PM

Login with username, password and session length

New Members

New Members

You should get an activation email when you join.  If not, please use the Contact option.

local pictures folder ?

Started by mzs, October 18, 2015, 06:58:41 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mzs

I can not get ModeSDeco2 to access my local pictures folder, what am I doing wrong ? I connect with my web browser on port 8088 and it always goes to airport-data.com for all pictures.

I'm running ModeSDeco2 v.20150720 with an Airspy (latest firmware - rc6) on an Odroid-XU4 board (default Ubuntu 15.04 install).

$ strace -e open,access -f ./modesdeco2 --airspy --location 12.345:-6.789 --web 8088 --db ~/data/BaseStation.sqb --frdb ~/data/flightroute-2015-10-11-1740.icao.sqb --silhouettes ~/data/silhouettes --pictures ~/data/pictures --beast 10003 --avrmlatas 22022 --sbs10001 10001 --flight-expire-time 3600 --msg 30003 2>&1 | grep pictures
No files being accessed or opened.

The silhouettes folder works fine, it is just the local pictures folder that I can not get it to access.
$ strace -e open,access -f ./modesdeco2 --airspy --location 12.345:-6.789 --web 8088 --db ~/data/BaseStation.sqb --frdb ~/data/flightroute-2015-10-11-1740.icao.sqb --silhouettes ~/data/silhouettes --pictures ~/data/pictures --beast 10003 --avrmlatas 22022 --sbs10001 10001 --flight-expire-time 3600 --msg 30003 2>&1 | grep silhouettes
[pid  8461] open("/home/odroid/data/silhouettes/B763.bmp", O_RDONLY|O_LARGEFILE) = 29
[pid  8461] open("/home/odroid/data/silhouettes/A320.bmp", O_RDONLY|O_LARGEFILE) = 29
[pid  8461] open("/home/odroid/data/silhouettes/B772.bmp", O_RDONLY|O_LARGEFILE) = 30
...

Any ideas ?

mzs

Sorry maybe it was my fault, my pictures folder was not very full at the beginning. And maybe I was checking more aggressively than I should and I was being extremely impatient (a few seconds after I added a file, checking if it was seen). I've filled up my pictures folder with about 1000 images (all the same plane, for now), and if I restart modesdeco2, it checks for the files now:
[pid 12934] open("/home/odroid/data/pictures/4067F8.jpg", O_RDONLY|O_LARGEFILE) = 29
[pid 12934] open("/home/odroid/data/pictures/A17E76.jpg", O_RDONLY|O_LARGEFILE) = 28
[pid 12934] open("/home/odroid/data/pictures/A89234.jpg", O_RDONLY|O_LARGEFILE) = 28
... snip ...
[pid 12934] open("/home/odroid/data/pictures/4CA6A7.jpg", O_RDONLY|O_LARGEFILE) = 27
[pid 12934] open("/home/odroid/data/pictures/4CA0D1.jpg", O_RDONLY|O_LARGEFILE) = 31
[pid 12934] open("/home/odroid/data/pictures/4CA2AB.jpg", O_RDONLY|O_LARGEFILE) = 29