Halil Ibrahim Özcan
Halil Ibrahim Özcan
this is the complete error message (copied from fsi): ``` System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at System.Text.StringBuilder.ToString() at FSharp.Data.Runtime.BaseTypes.XmlElement.Create(TextReader reader) in D:\a\FSharp.Data\FSharp.Data\src\FSharp.Data.Xml.Core\XmlRuntime.fs:line 59 at .$FSI_0003.main@() in /Users/halilibrahimozcan/source/projects/fsharp_xml_parsing/script.fsx:line 25...
@cartermp No, I have not configured fsi in any way. I'm running on MacOS if that makes a difference.
@Thorium Can you point to where I should set the encoding? I tried the following: `let text = File.ReadAllText(path, Encoding.UTF32)` which didn't work, unfortunately. UTF16 wasn't available either.
@Thorium Hi, I just opened it in Notepad++; The file was encoded in UTF-8 to begin with.
@dsyme That doesn't seem to be the issue - i ran the script within Rider, which is anycpu by default as I checked. I also ran a console program, but...
Interesting, when i query deviceManager.GetDeviceInfos(), i do get the correct Id's of my devices
@cyanfish Hello Ben, thanks for your comment! Yes I meant the Prompt to select a device. My device is a Fujitsu fi-6130 Scanner, so i'm a little perplexed as to...
This gives me an Exception: "NAPS2.Wia.WiaException: "WIA error code 80004002". Possibly this is due to something related to Fujitsu, but again, the native API didn't have any issues