mooch443 / trex

TRex, a fast multi-animal tracking system with markerless identification, and 2D estimation of posture and visual fields.
https://trex.run
GNU General Public License v3.0
81 stars 8 forks source link

[GLFW] Error 65540: 'Invalid window size 0x0' #210

Closed mi2celis closed 1 year ago

mi2celis commented 1 year ago

While running tgrabs, I am getting the error: Creating window with dimensions 0x0 and title "TGrabs (20211207-121531_GShZkdrjF_001_D001A_180_O005S_700)"

[EXCEPT 20:20:54 GLImpl.cpp:162] [GLFW] Error 65540: 'Invalid window size 0x0' [EXCEPT 20:20:54 GLImpl.cpp:211] [GL] Cannot create GLFW window.

My batch script is: fName="20211206-131502_GemqhORhF_001_D001A_180_O100S_700" echo "$fName"

ROOT=/home/mimi/data/lab EWD=$ROOT PARAMS=$ROOT/scripts/default_track.settings

PARAMS=$ROOT/scripts/csv_output.settings

FILES=$(find "$ROOT/videos" -type f -name "$fName".mp4)

for f in ${FILES}; do echo $f BASE=$(basename $f .mp4) CMD="tgrabs \ -d ${EWD}/videos_pv \ -i ${f} \ -s ${PARAMS} \ -logfile convert${BASE}.log" if eval $CMD; then echo "Converted ${EWD}." CMD="trex \ -d ${EWD}/results \ -i ../videos_pv/${BASE}.pv \ -s ${PARAMS} \ -logfile track${BASE}.log"

-auto_quit -auto_no_results"

    if eval $CMD; then
        echo "Tracked ${EWD}"
    fi
fi

done

and default_track.settings: blob_size_ranges = [[0.0170333,2.089644]] frame_rate = 45 track_max_individuals = 6 track_max_speed = 500

Attaching log file convert_20211207-121531_GShZkdrjF_001_D001A_180_O005S_700.log

mi2celis commented 1 year ago

You can close this issue. It seems to be a problem with the way my monitor configuration is setup when connected to my laptop.