-
Notifications
You must be signed in to change notification settings - Fork 2
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
Unhandled Exception: System.ArgumentException: Parameter is not valid. #18
Comments
Please try this build (not released yet) which fixes a similar crash: https://github.com/stackTom/FSEarthTiles/files/12571006/FSET.zip Might be related to this issue: #17 If that's the case, I will release it if it works for you. |
Thank you so much for the very fast response.
|
Is your computer set to another language that's not English? Try setting it to English. There's a bug where other languages/locales cause a crash. See here: #9 |
Thank you for your reply. |
Hello again. The good news is that this problem is definetely related to the "locale". However in the production PC, the same changes (LOCALE) did not solve the problem. |
Again interesting. There are two (mixed) reported problems here. The second problem seems related to either the size of the disk or the location as dictated by the .ini file : So the problem is NOT related to the installation of additional languages. |
Glad it's working. Thanks for your testing; it gives me information so I can try to troubleshoot this in the future. |
Hello,
Just installaed FSEarthTiles 2.0.6 (but also tried with 2.0.5, 2.0.4, 2.0.3, ...).
Used resampleFSXSP2.exe from this site, but also from the SDK folder.
Tried under Windows 10, with P3Dv5, but also with P3Dv4.
Always getting following error message:
Unhandled Exception: System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(String filename)
at FSEarthTilesDLL.FSEarthTilesForm.RunMasksAndSceneryCompiler(MasksResampleWorker w) in G:\FSEarthTiles\FSEarthTiles\FSEarthTilesDLL\FSEarthTilesForm.cs:line 2473
at FSEarthTilesDLL.MultiThreadedQueue.OnHandlerStart() in G:\FSEarthTiles\FSEarthTiles\FSEarthTilesDLL\MultiThreadedQueue.cs:line 147
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
and a popup window with the laconic message:
Microsoft .NET Framework
Unhandled exception has occurred...
Overflow error
..............
Details
System.OverflowException: Overflow error
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.FillPolygon(Brush...
I verified we are running with .NET Framework 4.8
Also tried with all options OFF (NO), specially the Scenproc option (running v3.2.0, but also tried with other versions)
because scenproc gives:
Downloading OSM coast and inland water data. As well as computing water polygons from this data; this can take a while, wait
Downloading OSM data using server: http://overpass-api.de/api/interpreter. This might take a while. Please wait...
?data=(way["natural"="coastline"](26, -81, 27, -80););(.;>>;);out body;
Downloading OSM data using server: http://overpass-api.de/api/interpreter. This might take a while. Please wait...
?data=(rel["natural"="water"](26, -81, 27, -80);rel["waterway"="riverbank"](26, -81, 27, -80);way["natural"="water"](26, -81, 27,
-80);way["waterway"="riverbank"](26, -81, 27, -80);way["waterway"="dock"](26, -81, 27, -80););(.;>>;);out body;
. . .
Download failed using https://overpass-api.de/api/map?bbox=... trying new overpass server in 32 seconds ...
but this is independent of the reporting "Overflow error".
FS Earth Tiles 1.03 works without problems, but of course we are interested in the Scenproc option from V2 (for the .agn files).
Your assistance/help/comments/suggestions would be very much appreciated.
Thank you beforehand for the support.
Regards,
Peter
The text was updated successfully, but these errors were encountered: