ArduPilot / ArduPilot/MissionPlanner

ERROR GDAL.GDAL - System.Exception: Invalid coords

Open
#3,330 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2.4k
Forks
2.9k
Avg merge
19h 16m
Merged PRs (30d)
4

Description

#### Issue details
console windows error

#### Version
1.3.81 beta

#### Logs
ERROR GDAL.GDAL - System.Exception: Invalid coords
at GDAL.GDAL.LoadImageInfo(String file) in D:\a\MissionPlanner\MissionPlanner\ExtLibs\GDAL\GDAL.cs:line 123
at GDAL.GDAL.ScanDirectory(String path) in D:\a\MissionPlanner\MissionPlanner\ExtLibs\GDAL\GDAL.cs:line 102
ERROR 4: `C:\Users\user\Downloads\2024-03-13 21-36-16.tlog' not recognized as a supported file format.
ERROR GDAL.GDAL - System.ApplicationException: `C:\Users\user\Downloads\2024-03-13 21-36-16.tlog' not recognized as a supported file format.
at OSGeo.GDAL.Gdal.Open(String utf8_path, Access eAccess)
at GDAL.GDAL.LoadImageInfo(String file) in D:\a\MissionPlanner\MissionPlanner\ExtLibs\GDAL\GDAL.cs:line 123
at GDAL.GDAL.ScanDirectory(String path) in D:\a\MissionPlanner\MissionPlanner\ExtLibs\GDAL\GDAL.cs:line 102
ERROR 4: `C:\Users\user\Downloads\2024-04-04 17-17-54 (1).rlog' not recognized as a supported file format.
ERROR GDAL.GDAL - System.ApplicationException: `C:\Users\user\Downloads\2024-04-04 17-17-54 (1).rlog' not recognized as a supported file format.
at OSGeo.GDAL.Gdal.Open(String utf8_path, Access eAccess)
at GDAL.GDAL.LoadImageInfo(String file) in D:\a\MissionPlanner\MissionPlanner\ExtLibs\GDAL\GDAL.cs:line 123
at GDAL.GDAL.ScanDirectory(String path) in D:\a\MissionPlanner\MissionPlanner\ExtLibs\GDAL\GDAL.cs:line 102

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in ExtLibs/GDAL/GDAL.cs, especially ScanDirectory at line 102 and LoadImageInfo at line 123. Reproduce the errors with a directory containing the reported .tlog and .rlog files, then determine the expected handling for files that GDAL does not recognize. Done means the directory scan no longer reports the reported invalid-coordinate or unsupported-format errors for these files.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.