Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: v1.0.0-beta.2 crashes while rendering GeoJSON for G.O.S. Al Rayak (pja310) #46

Closed
4 tasks done
indig0fox opened this issue Mar 21, 2024 · 1 comment
Closed
4 tasks done
Assignees
Labels
bug Something isn't working

Comments

@indig0fox
Copy link

Loaded Mods

  • I checked that @grad_meh is loaded
  • I checked that @cba_a3 is loaded
  • I checked that @intcept is loaded

Loaded Mods

  • I disabled BattlEye

What happened?

In the same exact mod and launcher setup, after rendering multiple vanilla and addon terrains in one run, and after starting a standalone run with this single terrain, Arma crashes while rendering geojsons for this specific terrain. I was attempting to render all 5 available data types for the terrain.

The terrain was loaded from the workshop at its latest version. It has a dependency on CUP_worlds.

https://steamcommunity.com/sharedfiles/filedetails/?id=648172507

RPT

19:48:12 [CBA] (xeh) INFO: missionNamespace processed [false]
19:48:12 [CBA] (xeh) INFO: [7122,100.632,0] PreInit started. v3.16.1.231025
19:48:12 [CBA] (settings) INFO: Reading settings from settings file.
19:48:12 [CBA] (settings) INFO: Finished reading settings from settings file.
19:48:12 [GRAD] (meh): The grad_meh plugin is running! (v1.0.0-beta.2@HEAD)
19:48:12 [CBA] (xeh) INFO: [7122,100.752,0] PreInit finished.
19:48:13 Fresnel k must be >0, given n=2.51,k=0
19:48:39 "BIS_fnc_log: [RscDisplayMain] ""[AI] LAUNCH INVASION"""
19:48:40 "BIS_fnc_log: [RscDisplayMain] ""[AI] LAUNCH INVASION"""
19:48:43 "BIS_fnc_log: ""[AI] Terminating (normal)"""
19:48:48 "BIS_fnc_log: [RscDisplayMain] ""[AI] LAUNCH INVASION"""
19:48:51 "BIS_fnc_log: [RscDisplayMain] ""[AI] LAUNCH INVASION"""
19:48:52 Starting mission:
19:48:52  Mission file: 
19:48:52  Mission world: VR
19:48:52  Mission directory: 
19:48:57 Intercept Invoker SQF handler initializing...
19:48:57 Intercept Invoker test result: Slippy == Slippy
19:48:57 Intercept Invoker initialized.
19:48:57 Intercept Pre-Init...
19:48:57 Intercept Pre-Init Completed.
19:48:58 "BIS_fnc_log: [preInit] ""DeltaTime computation started"""
19:48:58 [CBA] (xeh) INFO: [9432,146.722,0] PreInit started. v3.16.1.231025
19:48:58 [CBA] (settings) INFO: Reading settings from settings file.
19:48:58 [CBA] (settings) INFO: Finished reading settings from settings file.
19:48:58 [GRAD] (meh): The grad_meh plugin is running! (v1.0.0-beta.2@HEAD)
19:48:58 [CBA] (xeh) INFO: [9432,146.832,0] PreInit finished.
19:48:58  Mission id: 10006d33d719492e1fab10a0a325f50fdfb5d58d
19:48:58 [CBA] (xeh) INFO: [9433,146.861,0] PostInit started. MISSIONINIT: missionName=, missionVersion=-1, worldName=VR, isMultiplayer=false, isServer=true, isDedicated=false, CBA_isHeadlessClient=false, hasInterface=true, didJIP=false
19:48:58 Intercept Post-Init...
19:48:58 Intercept Post-Init Finished...
19:48:58 [CBA] (versioning) INFO: [9433,146.871,0] VERSIONING:cba=3.16.1.231025
19:48:58 [CBA] (xeh) INFO: [9433,146.872,0] PostInit finished.
19:48:58 [GRAD] (meh): Starting export of pja310 [true, true, true, true, true]
19:49:02 [GRAD] (meh): Exporting sat images
19:49:32 [GRAD] (meh): Exporting geojson

grad_meh Logs

2024-03-20 19:50:40.261 WARN  [57748] [writeRoads@281] Exception during magic/lzss check: IO failed The system cannot find the file specified. (os error 2))
2024-03-20 19:50:40.262 ERROR [57748] [writeRoads@288] Couldn't open roads.shp at grad_meh\pja310\geojson\temp\roads.shp
@indig0fox indig0fox added the bug Something isn't working label Mar 21, 2024
@TheWillard
Copy link
Member

TheWillard commented Mar 23, 2024

So even though the "newRoadsShape" is defined in the config, the shapefile is not in the pbo. I guess Arma then falls back to the "Arma 2 method" for roads (which is currently not implemented in meh (#47)). In v1.0.0-beta.3, I just added a check to the roads export that will abort it if the shapefile can't be exported, thus avoiding the crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants