DCSWaypointEditor icon indicating copy to clipboard operation
DCSWaypointEditor copied to clipboard

Failed to Capture from F10 Map

Open magnuscodes opened this issue 2 years ago • 0 comments

Not sure why it's complaining as the installation went okay..

I made sure to

  • set the game to 'window mode' because I was not able to keep the gui window open as well as the F10 map (not sure if that's a requirement)
  • run the waypoint editor program as administrator
  • change the coordinate mode to the acceptable mode from the Readme
  • keep the top-left area of the F10 map clear of any overlays

Here are the logs:

----settings.ini----

[PREFERENCES]
grace_period = 5
button_release_short_delay = 0.2
button_release_medium_delay = 0.5
tesseract_path = C:\Program Files\Tesseract-OCR\tesseract.exe
dcs_path = C:\Users\magnus\Saved Games\DCS\
db_name = profiles_new.db
capture_key = ctrl+t
quick_capture_hotkey = ctrl+shift+t
enter_aircraft_hotkey = 
log_raw_tesseract_output = false



--------------------

Program version: v0.9.9b2

2023-02-12 18:31:56,627:db: DEBUG - Connected to database
2023-02-12 18:31:56,636:gui: INFO - Tesseract path is: C:\Program Files\Tesseract-OCR\tesseract.exe
2023-02-12 18:31:56,725:gui: INFO - Tesseract version is: 5.3.0.20221222
2023-02-12 18:31:56,725:gui: DEBUG - Creating GUI
2023-02-12 18:32:45,338:gui: DEBUG - Event: capture
2023-02-12 18:32:45,338:gui: DEBUG - Values: {'profileSelector': '', 'activesList': [], 0: None, 'baseSelector': '', 'msnName': '', 'WP': True, 'MSN': False, 'FP': False, 'ST': False, 'IP': False, 'DP': False, 'HA': False, 'HB': False, 'sequence': 'None', 'latDeg': '', 'latMin': '', 'latSec': '', 'lonDeg': '', 'lonMin': '', 'lonSec': '', 'elevFeet': '', 'elevMeters': '', 'mgrs': '', 'hornet': True, 'harrier': False, 'mirage': False, 'tomcat': False, 'warthog': False}
2023-02-12 18:32:47,205:gui: DEBUG - Event: mgrs
2023-02-12 18:32:47,205:gui: DEBUG - Values: {'profileSelector': '', 'activesList': [], 0: None, 'baseSelector': '', 'msnName': '', 'WP': True, 'MSN': False, 'FP': False, 'ST': False, 'IP': False, 'DP': False, 'HA': False, 'HB': False, 'sequence': 'None', 'latDeg': '', 'latMin': '', 'latSec': '', 'lonDeg': '', 'lonMin': '', 'lonSec': '', 'elevFeet': '', 'elevMeters': '', 'mgrs': '', 'hornet': True, 'harrier': False, 'mirage': False, 'tomcat': False, 'warthog': False}
2023-02-12 18:32:47,397:gui: DEBUG - Attempting to capture map coords
2023-02-12 18:32:47,434:gui: DEBUG - Event: mgrs
2023-02-12 18:32:47,435:gui: DEBUG - Values: {'profileSelector': '', 'activesList': [], 0: None, 'baseSelector': '', 'msnName': '', 'WP': True, 'MSN': False, 'FP': False, 'ST': False, 'IP': False, 'DP': False, 'HA': False, 'HB': False, 'sequence': 'None', 'latDeg': '', 'latMin': '', 'latSec': '', 'lonDeg': '', 'lonMin': '', 'lonSec': '', 'elevFeet': '', 'elevMeters': '', 'mgrs': '', 'hornet': True, 'harrier': False, 'mirage': False, 'tomcat': False, 'warthog': False}
2023-02-12 18:32:47,592:gui: ERROR - Failed to parse captured text
Traceback (most recent call last):
  File "src\gui.py", line 564, in input_parsed_coords
    position, elevation = self.parse_map_coords_string(captured_coords)
  File "src\gui.py", line 540, in parse_map_coords_string
    decoded_mgrs = mgrs.UTMtoLL(mgrs.decode(mgrs_string))
  File "src\pymgrs.py", line 360, in decode
    raise ("MGRSPoint coverting from nothing")
TypeError: exceptions must derive from BaseException
2023-02-12 18:32:49,378:gui: DEBUG - Event: mgrs
2023-02-12 18:32:49,378:gui: DEBUG - Values: {'profileSelector': '', 'activesList': [], 0: None, 'baseSelector': '', 'msnName': '', 'WP': True, 'MSN': False, 'FP': False, 'ST': False, 'IP': False, 'DP': False, 'HA': False, 'HB': False, 'sequence': 'None', 'latDeg': '', 'latMin': '', 'latSec': '', 'lonDeg': '', 'lonMin': '', 'lonSec': '', 'elevFeet': '', 'elevMeters': '', 'mgrs': '', 'hornet': True, 'harrier': False, 'mirage': False, 'tomcat': False, 'warthog': False}

magnuscodes avatar Feb 12 '23 23:02 magnuscodes