Open qu123xxx opened 4 years ago
Is the build debug or release? In debug it might be targeting Win32 and have a 4gb address limit. There may be a max string size and the error is cause trying to parse the last line cut in half.
Could I try to repro this and see what the failure is?
Thanks for your reply.
what's the meaning of
Is the build debug or release?
I debug my code in visual studio 2017 debug mode. Windows client is installed from official site exe program.
Because my output file is nearly 300MB, I think you can download the raw data here
and then merge middle 3 columns in first 25 .txt files
.
the layer
is created by wwt.ney_layer()
.
layer's frame = Sandbox
CoordinatesType
in property_dict
is Rectangular
Then pass the data to wwt layer use layer.update
. The error1 may occur.
The error1 may need to use some IDE to reproduce.
Feel free to tell me if it can't be reproduced, I can send my file to you through email or other ways.
When I try to pass a 322322 rows table to WWT windows client through
layer.update
inpywwt
, I got this error in visual studio 2017 debug modeError: System.ArgumentOutOfRangeException: ?????????????? DateTime? ???: t ? System.DateTime.op_Subtraction(DateTime d, TimeSpan t) ? TerraViewer.SpreadSheetLayer.PurgeByTime() ? TerraViewer.SpreadSheetLayer.LoadFromString(String data, Boolean isUpdate, Boolean purgeOld, Boolean purgeAll, Boolean hasHeader) ? TerraViewer.SpreadSheetLayer.UpadteData(Object data, Boolean purgeOld, Boolean purgeAll, Boolean hasHeader) ? TerraViewer.LayerManager.UpdateLayer(Guid layerID, Object data, Boolean show, String name, Boolean noPurge, Boolean purgeAll, Boolean hasHeader) ? TerraViewer.HTTPLayerApi.Proc
And the python.exe terminal show this messae:
I try to google the first error. It seems that's from WWT windows client.
the data snapshot is here:
WWT version is 6.0.11.1 OS: windows 10
After I modified the file base on notice from error 2, it still happens. Finally, I avoid it by output a csv file then use
wwt.load
.Thanks in advance for any replies.