Failed to initialise tesseract engine (Tesseract 3.0.2 - Visual Studio 2015)

Hi and thank you very much for your help.
I have done everything that I possibly can think of to attempt to resolve a "Failed to initialise engine" error.
I read post #277 where the person stated that adjusting the path to tessdata fixed his issue. But he did not state the "adjustment" that he made.
Line where the failure occurs
using (var engine = new TesseractEngine (@"./tessdata", "eng", EngineMode.Default)) {
Error
"Failed to initialise tesseract engine.. See https://github.com/charlesw/tesseract/wiki/Error-1 for details."}	Tesseract.TesseractException
Stack Trace
Data	{System.Collections.ListDictionaryInternal}	System.Collections.IDictionary {System.Collections.ListDictionaryInternal}
HResult	-2146233088	int
HelpLink	null	string
InnerException	null	System.Exception
Message	"Failed to initialise tesseract engine.. See https://github.com/charlesw/tesseract/wiki/Error-1 for details."	string
Source	"Tesseract"	string
StackTrace	"
at Tesseract.TesseractEngine.Initialise(String datapath, String language, EngineMode engineMode, IEnumerable1 configFiles, IDictionary2 initialValues, Boolean setOnlyNonDebugVariables)\r\n
at Tesseract.TesseractEngine..ctor(String datapath, String language, EngineMode engineMode, IEnumerable1 configFiles, IDictionary2 initialOptions, Boolean setOnlyNonDebugVariables)\r\n
at Tesseract.TesseractEngine..ctor(String datapath, String language, EngineMode engineMode)\r\n
at OCRTestOne.OCRTest.Go() in C:\Projects\SANDBOX\OCR-Test-One\OCR-Test-One\Classes\OCRTest.cs:line 22"	string
TargetSite	{Void Initialise(System.String, System.String, Tesseract.EngineMode, System.Collections.Generic.IEnumerable1[System.String], System.Collections.Generic.IDictionary2[System.String,System.Object], Boolean)}	System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo}
Development Environment

Windows Server 2012 R2 (virtual machine running in Azure)
Visual Studio 2015 (Version 14.0.25431.01 Update 3)
Project Type: ASP.NET (also tried console app).
Framework Target 452 (.NET Framework 4.5.2).
Verified that Visual C++ 32-bit and 64-bit runtimes are both installed
Nuget Package: Tesseract by Charles Weld 3.0.2
tessdata folder exists with English language files underneath (I added it). Files set to Copy Always.
32 and 64-bit assemblies (liblept172.dll and libtesseract304.dll) exist in the x86 and x64 folders and are set to Copy Always (they seem to be copied to the lib folder).

Trace
Turned on verbose mode tracing. The trace below is based on one execution attempt (I tried to attach a text file but the site said: "We don't support that file type"). Apologies for the long trace
Tesseract Information: 0 : Current OS: Windows
Tesseract Information: 0 : Current platform: x86
Tesseract Information: 0 : Custom search path is not defined, skipping.
Tesseract Information: 0 : Checking executing application domain location 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\99b032d6\fb07eb9\assembly\dl3\26c8fcd5\00342a46_d765d101' for 'liblept172.dll' on platform x86.
Tesseract Information: 0 : Checking current application domain location 'C:\Projects\SANDBOX\OCR-Test-One\OCR-Test-One' for 'liblept172.dll' on platform x86.
Tesseract Information: 0 : Trying to load native library "C:\Projects\SANDBOX\OCR-Test-One\OCR-Test-One\x86\liblept172.dll"...
Tesseract Information: 0 : Successfully loaded native library "C:\Projects\SANDBOX\OCR-Test-One\OCR-Test-One\x86\liblept172.dll", handle = 325451776.
Tesseract Information: 0 : Trying to load native function "pixaReadMultipageTiff" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixaReadMultipageTiff", function handle = 325469402.
Tesseract Information: 0 : Trying to load native function "pixaGetCount" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixaGetCount", function handle = 325462092.
Tesseract Information: 0 : Trying to load native function "pixaGetPix" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixaGetPix", function handle = 325455972.
Tesseract Information: 0 : Trying to load native function "pixaDestroy" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixaDestroy", function handle = 325456927.
Tesseract Information: 0 : Trying to load native function "pixCreate" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixCreate", function handle = 325465967.
Tesseract Information: 0 : Trying to load native function "pixClone" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixClone", function handle = 325466612.
Tesseract Information: 0 : Trying to load native function "pixDestroy" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixDestroy", function handle = 325466382.
Tesseract Information: 0 : Trying to load native function "pixGetWidth" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixGetWidth", function handle = 325460622.
Tesseract Information: 0 : Trying to load native function "pixGetHeight" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixGetHeight", function handle = 325460452.
Tesseract Information: 0 : Trying to load native function "pixGetDepth" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixGetDepth", function handle = 325464312.
Tesseract Information: 0 : Trying to load native function "pixGetXRes" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixGetXRes", function handle = 325463887.
Tesseract Information: 0 : Trying to load native function "pixGetYRes" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixGetYRes", function handle = 325463882.
Tesseract Information: 0 : Trying to load native function "pixGetResolution" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixGetResolution", function handle = 325469492.
Tesseract Information: 0 : Trying to load native function "pixGetWpl" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixGetWpl", function handle = 325466032.
Tesseract Information: 0 : Trying to load native function "pixSetXRes" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixSetXRes", function handle = 325463907.
Tesseract Information: 0 : Trying to load native function "pixSetYRes" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixSetYRes", function handle = 325463902.
Tesseract Information: 0 : Trying to load native function "pixSetResolution" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixSetResolution", function handle = 325465697.
Tesseract Information: 0 : Trying to load native function "pixScaleResolution" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixScaleResolution", function handle = 325467282.
Tesseract Information: 0 : Trying to load native function "pixGetData" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixGetData", function handle = 325469052.
Tesseract Information: 0 : Trying to load native function "pixGetInputFormat" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixGetInputFormat", function handle = 325467712.
Tesseract Information: 0 : Trying to load native function "pixSetInputFormat" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixSetInputFormat", function handle = 325459102.
Tesseract Information: 0 : Trying to load native function "pixEndianByteSwap" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixEndianByteSwap", function handle = 325468587.
Tesseract Information: 0 : Trying to load native function "pixRead" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixRead", function handle = 325467527.
Tesseract Information: 0 : Trying to load native function "pixReadMemTiff" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixReadMemTiff", function handle = 325472137.
Tesseract Information: 0 : Trying to load native function "pixWrite" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixWrite", function handle = 325466617.
Tesseract Information: 0 : Trying to load native function "pixGetColormap" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixGetColormap", function handle = 325464692.
Tesseract Information: 0 : Trying to load native function "pixSetColormap" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixSetColormap", function handle = 325468467.
Tesseract Information: 0 : Trying to load native function "pixDestroyColormap" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixDestroyColormap", function handle = 325465782.
Tesseract Information: 0 : Trying to load native function "pixConvertRGBToGray" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixConvertRGBToGray", function handle = 325460777.
Tesseract Information: 0 : Trying to load native function "pixDeskewGeneral" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixDeskewGeneral", function handle = 325460177.
Tesseract Information: 0 : Trying to load native function "pixRotate" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixRotate", function handle = 325466312.
Tesseract Information: 0 : Trying to load native function "pixRotateOrth" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixRotateOrth", function handle = 325468177.
Tesseract Information: 0 : Trying to load native function "pixOtsuAdaptiveThreshold" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixOtsuAdaptiveThreshold", function handle = 325468767.
Tesseract Information: 0 : Trying to load native function "pixSauvolaBinarize" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixSauvolaBinarize", function handle = 325463922.
Tesseract Information: 0 : Trying to load native function "pixSauvolaBinarizeTiled" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixSauvolaBinarizeTiled", function handle = 325461412.
Tesseract Information: 0 : Trying to load native function "pixScale" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixScale", function handle = 325466597.
Tesseract Information: 0 : Trying to load native function "pixcmapCreate" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapCreate", function handle = 325462397.
Tesseract Information: 0 : Trying to load native function "pixcmapCreateRandom" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapCreateRandom", function handle = 325460482.
Tesseract Information: 0 : Trying to load native function "pixcmapCreateLinear" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapCreateLinear", function handle = 325460392.
Tesseract Information: 0 : Trying to load native function "pixcmapCopy" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapCopy", function handle = 325463212.
Tesseract Information: 0 : Trying to load native function "pixcmapDestroy" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapDestroy", function handle = 325464252.
Tesseract Information: 0 : Trying to load native function "pixcmapGetCount" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapGetCount", function handle = 325466562.
Tesseract Information: 0 : Trying to load native function "pixcmapGetFreeCount" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapGetFreeCount", function handle = 325456837.
Tesseract Information: 0 : Trying to load native function "pixcmapGetDepth" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapGetDepth", function handle = 325468462.
Tesseract Information: 0 : Trying to load native function "pixcmapGetMinDepth" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapGetMinDepth", function handle = 325462157.
Tesseract Information: 0 : Trying to load native function "pixcmapClear" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapClear", function handle = 325460977.
Tesseract Information: 0 : Trying to load native function "pixcmapAddColor" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapAddColor", function handle = 325466517.
Tesseract Information: 0 : Trying to load native function "pixcmapAddNewColor" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapAddNewColor", function handle = 325459832.
Tesseract Information: 0 : Trying to load native function "pixcmapAddNearestColor" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapAddNearestColor", function handle = 325464897.
Tesseract Information: 0 : Trying to load native function "pixcmapUsableColor" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapUsableColor", function handle = 325468852.
Tesseract Information: 0 : Trying to load native function "pixcmapAddBlackOrWhite" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapAddBlackOrWhite", function handle = 325460002.
Tesseract Information: 0 : Trying to load native function "pixcmapSetBlackAndWhite" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapSetBlackAndWhite", function handle = 325456282.
Tesseract Information: 0 : Trying to load native function "pixcmapGetColor" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapGetColor", function handle = 325466527.
Tesseract Information: 0 : Trying to load native function "pixcmapGetColor32" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapGetColor32", function handle = 325458992.
Tesseract Information: 0 : Trying to load native function "pixcmapResetColor" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapResetColor", function handle = 325457197.
Tesseract Information: 0 : Trying to load native function "pixcmapGetIndex" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapGetIndex", function handle = 325466567.
Tesseract Information: 0 : Trying to load native function "pixcmapHasColor" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapHasColor", function handle = 325458122.
Tesseract Information: 0 : Trying to load native function "pixcmapCountGrayColors" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapCountGrayColors", function handle = 325462272.
Tesseract Information: 0 : Trying to load native function "pixcmapCountGrayColors" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapCountGrayColors", function handle = 325462272.
Tesseract Information: 0 : Trying to load native function "pixcmapGetNearestIndex" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapGetNearestIndex", function handle = 325459557.
Tesseract Information: 0 : Trying to load native function "pixcmapGetNearestGrayIndex" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapGetNearestGrayIndex", function handle = 325466522.
Tesseract Information: 0 : Trying to load native function "pixcmapGetComponentRange" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapGetComponentRange", function handle = 325459077.
Tesseract Information: 0 : Trying to load native function "pixcmapGetExtremeValue" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapGetExtremeValue", function handle = 325458877.
Tesseract Information: 0 : Trying to load native function "pixcmapGrayToColor" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapGrayToColor", function handle = 325464607.
Tesseract Information: 0 : Trying to load native function "pixcmapColorToGray" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapColorToGray", function handle = 325469397.
Tesseract Information: 0 : Trying to load native function "pixcmapColorToGray" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapColorToGray", function handle = 325469397.
Tesseract Information: 0 : Trying to load native function "pixcmapToRGBTable" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapToRGBTable", function handle = 325469742.
Tesseract Information: 0 : Trying to load native function "pixcmapSerializeToMemory" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapSerializeToMemory", function handle = 325465572.
Tesseract Information: 0 : Trying to load native function "pixcmapDeserializeFromMemory" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapDeserializeFromMemory", function handle = 325460637.
Tesseract Information: 0 : Trying to load native function "pixcmapGammaTRC" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapGammaTRC", function handle = 325470952.
Tesseract Information: 0 : Trying to load native function "pixcmapContrastTRC" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapContrastTRC", function handle = 325462497.
Tesseract Information: 0 : Trying to load native function "pixcmapShiftIntensity" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixcmapShiftIntensity", function handle = 325460387.
Tesseract Information: 0 : Current platform: x86
Tesseract Information: 0 : Custom search path is not defined, skipping.
Tesseract Information: 0 : Checking executing application domain location 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\99b032d6\fb07eb9\assembly\dl3\26c8fcd5\00342a46_d765d101' for 'libtesseract304.dll' on platform x86.
Tesseract Information: 0 : Checking current application domain location 'C:\Projects\SANDBOX\OCR-Test-One\OCR-Test-One' for 'libtesseract304.dll' on platform x86.
Tesseract Information: 0 : Trying to load native library "C:\Projects\SANDBOX\OCR-Test-One\OCR-Test-One\x86\libtesseract304.dll"...
Tesseract Information: 0 : Successfully loaded native library "C:\Projects\SANDBOX\OCR-Test-One\OCR-Test-One\x86\libtesseract304.dll", handle = 329383936.
Tesseract Information: 0 : Trying to load native function "TessBaseAPIAnalyseLayout" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPIAnalyseLayout", function handle = 329706928.
Tesseract Information: 0 : Trying to load native function "TessBaseAPIClear" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPIClear", function handle = 329706560.
Tesseract Information: 0 : Trying to load native function "TessBaseAPICreate" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPICreate", function handle = 329709952.
Tesseract Information: 0 : Trying to load native function "TessBaseAPIDelete" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPIDelete", function handle = 329709920.
Tesseract Information: 0 : Trying to load native function "TessBaseAPIDetectOS" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPIDetectOS", function handle = 329706368.
Tesseract Information: 0 : Trying to load native function "TessBaseAPIGetBoolVariable" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPIGetBoolVariable", function handle = 329709264.
Tesseract Information: 0 : Trying to load native function "TessBaseAPIGetDoubleVariable" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPIGetDoubleVariable", function handle = 329709184.
Tesseract Information: 0 : Trying to load native function "TessBaseAPIGetHOCRText" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPIGetHOCRText", function handle = 329706736.
Tesseract Information: 0 : Trying to load native function "TessBaseAPIGetIntVariable" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPIGetIntVariable", function handle = 329709344.
Tesseract Information: 0 : Trying to load native function "TessBaseAPIGetIterator" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPIGetIterator", function handle = 329706784.
Tesseract Information: 0 : Trying to load native function "TessBaseAPIGetPageSegMode" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPIGetPageSegMode", function handle = 329707728.
Tesseract Information: 0 : Trying to load native function "TessBaseAPIGetStringVariable" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPIGetStringVariable", function handle = 329709104.
Tesseract Information: 0 : Trying to load native function "TessBaseAPIGetThresholdedImage" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPIGetThresholdedImage", function handle = 329707312.
Tesseract Information: 0 : Trying to load native function "TessBaseAPIGetUTF8Text" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPIGetUTF8Text", function handle = 329706752.
Tesseract Information: 0 : Trying to load native function "TessBaseAPIInit4" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPIInit4", function handle = 329708688.
Tesseract Information: 0 : Trying to load native function "TessBaseAPIMeanTextConf" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPIMeanTextConf", function handle = 329706688.
Tesseract Information: 0 : Trying to load native function "TessBaseAPIRecognize" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPIRecognize", function handle = 329706912.
Tesseract Information: 0 : Trying to load native function "TessBaseAPISetDebugVariable" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPISetDebugVariable", function handle = 329709424.
Tesseract Information: 0 : Trying to load native function "TessBaseAPISetImage2" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPISetImage2", function handle = 329707536.
Tesseract Information: 0 : Trying to load native function "TessBaseAPISetInputName" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPISetInputName", function handle = 329709840.
Tesseract Information: 0 : Trying to load native function "TessBaseAPISetPageSegMode" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPISetPageSegMode", function handle = 329707760.
Tesseract Information: 0 : Trying to load native function "TessBaseAPISetRectangle" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPISetRectangle", function handle = 329707440.
Tesseract Information: 0 : Trying to load native function "TessBaseAPISetVariable" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessBaseAPISetVariable", function handle = 329709504.
Tesseract Information: 0 : Trying to load native function "TessDeleteBlockList" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessDeleteBlockList", function handle = 329710688.
Tesseract Information: 0 : Trying to load native function "TessDeleteIntArray" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessDeleteIntArray", function handle = 329710720.
Tesseract Information: 0 : Trying to load native function "TessDeleteText" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessDeleteText", function handle = 329710784.
Tesseract Information: 0 : Trying to load native function "TessDeleteTextArray" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessDeleteTextArray", function handle = 329710736.
Tesseract Information: 0 : Trying to load native function "TessVersion" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessVersion", function handle = 329710800.
Tesseract Information: 0 : Trying to load native function "TessPageIteratorBaseline" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessPageIteratorBaseline", function handle = 329705472.
Tesseract Information: 0 : Trying to load native function "TessPageIteratorBegin" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessPageIteratorBegin", function handle = 329705760.
Tesseract Information: 0 : Trying to load native function "TessPageIteratorBlockType" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessPageIteratorBlockType", function handle = 329705568.
Tesseract Information: 0 : Trying to load native function "TessPageIteratorBoundingBox" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessPageIteratorBoundingBox", function handle = 329705616.
Tesseract Information: 0 : Trying to load native function "TessPageIteratorCopy" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessPageIteratorCopy", function handle = 329705776.
Tesseract Information: 0 : Trying to load native function "TessPageIteratorDelete" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessPageIteratorDelete", function handle = 329705808.
Tesseract Information: 0 : Trying to load native function "TessPageIteratorGetBinaryImage" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessPageIteratorGetBinaryImage", function handle = 329705552.
Tesseract Information: 0 : Trying to load native function "TessPageIteratorGetImage" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessPageIteratorGetImage", function handle = 329705520.
Tesseract Information: 0 : Trying to load native function "TessPageIteratorIsAtBeginningOf" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessPageIteratorIsAtBeginningOf", function handle = 329705696.
Tesseract Information: 0 : Trying to load native function "TessPageIteratorIsAtFinalElement" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessPageIteratorIsAtFinalElement", function handle = 329705664.
Tesseract Information: 0 : Trying to load native function "TessPageIteratorNext" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessPageIteratorNext", function handle = 329705728.
Tesseract Information: 0 : Trying to load native function "TessPageIteratorOrientation" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessPageIteratorOrientation", function handle = 329705440.
Tesseract Information: 0 : Trying to load native function "TessResultIteratorCopy" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function "TessResultIteratorCopy", function handle = 329705200.
Tesseract Information: 0 : Trying to load native function "TessResultIteratorDelete" from the library with handle 329383936...
-- Again the log is from one run (one attempt to execute the single line of code listed at the start of this post).
Conclusion
I am a very experienced programmer (have done win32 to cloud). I spent about 5 hours trying to get this to work without success. One thing I notice is that the log seems to end on TessResultIteratorDelete, and in some cases it starts to print the next line but stops midway (prints "Tesseract Information: 0 : Successfully", or "Tesseract Information: 0 : S").
Any help that you can offer would be greatly appreciated (the more specific the better).
Thank you very much again.
Best,
Conrad

My guess is that the actual tessdata path isn't what you expect. I'd
strongly recommend using absolute paths, especially for ASP.NET
applications, in this case Server.MapPath("~\tessdata") should do the trick.
Note that's just of the top my head so the syntax may not be 100% correct 😉
On Fri, 17 Feb 2017, 16:56 Conrad-S<EMAIL_ADDRESS>wrote:

Hi and thank you very much for your help.
I have done everything that I possibly can think of to attempt to resolve
a "Failed to initialise engine" error.
I read post #277 https://github.com/charlesw/tesseract/issues/277 where
the person stated that adjusting the path to tessdata fixed his issue. But
he did not state the "adjustment" that he made.
Line where the failure occurs
using (var engine = new TesseractEngine (@"./tessdata", "eng",
EngineMode.Default)) {
Error
"Failed to initialise tesseract engine.. See
https://github.com/charlesw/tesseract/wiki/Error-1 for details."}
Tesseract.TesseractException
Stack Trace
Data {System.Collections.ListDictionaryInternal}
System.Collections.IDictionary {System.Collections.ListDictionaryInternal}
HResult -2146233088 int
HelpLink null string
InnerException null System.Exception
Message "Failed to initialise tesseract engine.. See
https://github.com/charlesw/tesseract/wiki/Error-1 for details." string
Source "Tesseract" string
StackTrace " at Tesseract.TesseractEngine.Initialise(String datapath,
String language, EngineMode engineMode, IEnumerable1 configFiles,
IDictionary2 initialValues, Boolean setOnlyNonDebugVariables)\r\n at
Tesseract.TesseractEngine..ctor(String datapath, String language,
EngineMode engineMode, IEnumerable1 configFiles, IDictionary2
initialOptions, Boolean setOnlyNonDebugVariables)\r\n at
Tesseract.TesseractEngine..ctor(String datapath, String language,
EngineMode engineMode)\r\n at OCRTestOne.OCRTest.Go() in
C:\Projects\SANDBOX\OCR-Test-One\OCR-Test-One\Classes\OCRTest.cs:line 22"
string
TargetSite {Void Initialise(System.String, System.String,
Tesseract.EngineMode, System.Collections.Generic.IEnumerable1[System.String],
System.Collections.Generic.IDictionary2[System.String,System.Object],
Boolean)} System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo}
Development Environment

Windows Server 2012 R2 (virtual machine running in Azure)
Visual Studio 2015 (Version 14.0.25431.01 Update 3)
Project Type: ASP.NET (also tried console app).
Framework Target 452 (.NET Framework 4.5.2).
Verified that Visual C++ 32-bit and 64-bit runtimes are both
installed
Nuget Package: Tesseract by Charles Weld 3.0.2
tessdata folder exists with English language files underneath (I
added it). Files set to Copy Always.
32 and 64-bit assemblies (liblept172.dll and libtesseract304.dll)
exist in the x86 and x64 folders and are set to Copy Always (they seem to
be copied to the lib folder).

Trace
Turned on verbose mode tracing. The trace below is based on one execution
attempt (I tried to attach a text file but the site said: "We don't support
that file type"). Apologies for the long trace
Tesseract Information: 0 : Current OS: Windows
Tesseract Information: 0 : Current platform: x86
Tesseract Information: 0 : Custom search path is not defined, skipping.
Tesseract Information: 0 : Checking executing application domain location
'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET
Files\root\99b032d6\fb07eb9\assembly\dl3\26c8fcd5\00342a46_d765d101' for
'liblept172.dll' on platform x86.
Tesseract Information: 0 : Checking current application domain location
'C:\Projects\SANDBOX\OCR-Test-One\OCR-Test-One' for 'liblept172.dll' on
platform x86.
Tesseract Information: 0 : Trying to load native library
"C:\Projects\SANDBOX\OCR-Test-One\OCR-Test-One\x86\liblept172.dll"...
Tesseract Information: 0 : Successfully loaded native library
"C:\Projects\SANDBOX\OCR-Test-One\OCR-Test-One\x86\liblept172.dll", handle
= 325451776.
Tesseract Information: 0 : Trying to load native function
"pixaReadMultipageTiff" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixaReadMultipageTiff", function handle = 325469402.
Tesseract Information: 0 : Trying to load native function "pixaGetCount"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixaGetCount", function handle = 325462092.
Tesseract Information: 0 : Trying to load native function "pixaGetPix"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixaGetPix", function handle = 325455972.
Tesseract Information: 0 : Trying to load native function "pixaDestroy"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixaDestroy", function handle = 325456927.
Tesseract Information: 0 : Trying to load native function "pixCreate" from
the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixCreate", function handle = 325465967.
Tesseract Information: 0 : Trying to load native function "pixClone" from
the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixClone",
function handle = 325466612.
Tesseract Information: 0 : Trying to load native function "pixDestroy"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixDestroy", function handle = 325466382.
Tesseract Information: 0 : Trying to load native function "pixGetWidth"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixGetWidth", function handle = 325460622.
Tesseract Information: 0 : Trying to load native function "pixGetHeight"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixGetHeight", function handle = 325460452.
Tesseract Information: 0 : Trying to load native function "pixGetDepth"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixGetDepth", function handle = 325464312.
Tesseract Information: 0 : Trying to load native function "pixGetXRes"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixGetXRes", function handle = 325463887.
Tesseract Information: 0 : Trying to load native function "pixGetYRes"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixGetYRes", function handle = 325463882.
Tesseract Information: 0 : Trying to load native function
"pixGetResolution" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixGetResolution", function handle = 325469492.
Tesseract Information: 0 : Trying to load native function "pixGetWpl" from
the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixGetWpl", function handle = 325466032.
Tesseract Information: 0 : Trying to load native function "pixSetXRes"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixSetXRes", function handle = 325463907.
Tesseract Information: 0 : Trying to load native function "pixSetYRes"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixSetYRes", function handle = 325463902.
Tesseract Information: 0 : Trying to load native function
"pixSetResolution" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixSetResolution", function handle = 325465697.
Tesseract Information: 0 : Trying to load native function
"pixScaleResolution" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixScaleResolution", function handle = 325467282.
Tesseract Information: 0 : Trying to load native function "pixGetData"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixGetData", function handle = 325469052.
Tesseract Information: 0 : Trying to load native function
"pixGetInputFormat" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixGetInputFormat", function handle = 325467712.
Tesseract Information: 0 : Trying to load native function
"pixSetInputFormat" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixSetInputFormat", function handle = 325459102.
Tesseract Information: 0 : Trying to load native function
"pixEndianByteSwap" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixEndianByteSwap", function handle = 325468587.
Tesseract Information: 0 : Trying to load native function "pixRead" from
the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixRead",
function handle = 325467527.
Tesseract Information: 0 : Trying to load native function "pixReadMemTiff"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixReadMemTiff", function handle = 325472137.
Tesseract Information: 0 : Trying to load native function "pixWrite" from
the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixWrite",
function handle = 325466617.
Tesseract Information: 0 : Trying to load native function "pixGetColormap"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixGetColormap", function handle = 325464692.
Tesseract Information: 0 : Trying to load native function "pixSetColormap"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixSetColormap", function handle = 325468467.
Tesseract Information: 0 : Trying to load native function
"pixDestroyColormap" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixDestroyColormap", function handle = 325465782.
Tesseract Information: 0 : Trying to load native function
"pixConvertRGBToGray" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixConvertRGBToGray", function handle = 325460777.
Tesseract Information: 0 : Trying to load native function
"pixDeskewGeneral" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixDeskewGeneral", function handle = 325460177.
Tesseract Information: 0 : Trying to load native function "pixRotate" from
the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixRotate", function handle = 325466312.
Tesseract Information: 0 : Trying to load native function "pixRotateOrth"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixRotateOrth", function handle = 325468177.
Tesseract Information: 0 : Trying to load native function
"pixOtsuAdaptiveThreshold" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixOtsuAdaptiveThreshold", function handle = 325468767.
Tesseract Information: 0 : Trying to load native function
"pixSauvolaBinarize" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixSauvolaBinarize", function handle = 325463922.
Tesseract Information: 0 : Trying to load native function
"pixSauvolaBinarizeTiled" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixSauvolaBinarizeTiled", function handle = 325461412.
Tesseract Information: 0 : Trying to load native function "pixScale" from
the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function "pixScale",
function handle = 325466597.
Tesseract Information: 0 : Trying to load native function "pixcmapCreate"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapCreate", function handle = 325462397.
Tesseract Information: 0 : Trying to load native function
"pixcmapCreateRandom" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapCreateRandom", function handle = 325460482.
Tesseract Information: 0 : Trying to load native function
"pixcmapCreateLinear" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapCreateLinear", function handle = 325460392.
Tesseract Information: 0 : Trying to load native function "pixcmapCopy"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapCopy", function handle = 325463212.
Tesseract Information: 0 : Trying to load native function "pixcmapDestroy"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapDestroy", function handle = 325464252.
Tesseract Information: 0 : Trying to load native function
"pixcmapGetCount" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapGetCount", function handle = 325466562.
Tesseract Information: 0 : Trying to load native function
"pixcmapGetFreeCount" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapGetFreeCount", function handle = 325456837.
Tesseract Information: 0 : Trying to load native function
"pixcmapGetDepth" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapGetDepth", function handle = 325468462.
Tesseract Information: 0 : Trying to load native function
"pixcmapGetMinDepth" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapGetMinDepth", function handle = 325462157.
Tesseract Information: 0 : Trying to load native function "pixcmapClear"
from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapClear", function handle = 325460977.
Tesseract Information: 0 : Trying to load native function
"pixcmapAddColor" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapAddColor", function handle = 325466517.
Tesseract Information: 0 : Trying to load native function
"pixcmapAddNewColor" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapAddNewColor", function handle = 325459832.
Tesseract Information: 0 : Trying to load native function
"pixcmapAddNearestColor" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapAddNearestColor", function handle = 325464897.
Tesseract Information: 0 : Trying to load native function
"pixcmapUsableColor" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapUsableColor", function handle = 325468852.
Tesseract Information: 0 : Trying to load native function
"pixcmapAddBlackOrWhite" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapAddBlackOrWhite", function handle = 325460002.
Tesseract Information: 0 : Trying to load native function
"pixcmapSetBlackAndWhite" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapSetBlackAndWhite", function handle = 325456282.
Tesseract Information: 0 : Trying to load native function
"pixcmapGetColor" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapGetColor", function handle = 325466527.
Tesseract Information: 0 : Trying to load native function
"pixcmapGetColor32" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapGetColor32", function handle = 325458992.
Tesseract Information: 0 : Trying to load native function
"pixcmapResetColor" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapResetColor", function handle = 325457197.
Tesseract Information: 0 : Trying to load native function
"pixcmapGetIndex" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapGetIndex", function handle = 325466567.
Tesseract Information: 0 : Trying to load native function
"pixcmapHasColor" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapHasColor", function handle = 325458122.
Tesseract Information: 0 : Trying to load native function
"pixcmapCountGrayColors" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapCountGrayColors", function handle = 325462272.
Tesseract Information: 0 : Trying to load native function
"pixcmapCountGrayColors" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapCountGrayColors", function handle = 325462272.
Tesseract Information: 0 : Trying to load native function
"pixcmapGetNearestIndex" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapGetNearestIndex", function handle = 325459557.
Tesseract Information: 0 : Trying to load native function
"pixcmapGetNearestGrayIndex" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapGetNearestGrayIndex", function handle = 325466522.
Tesseract Information: 0 : Trying to load native function
"pixcmapGetComponentRange" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapGetComponentRange", function handle = 325459077.
Tesseract Information: 0 : Trying to load native function
"pixcmapGetExtremeValue" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapGetExtremeValue", function handle = 325458877.
Tesseract Information: 0 : Trying to load native function
"pixcmapGrayToColor" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapGrayToColor", function handle = 325464607.
Tesseract Information: 0 : Trying to load native function
"pixcmapColorToGray" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapColorToGray", function handle = 325469397.
Tesseract Information: 0 : Trying to load native function
"pixcmapColorToGray" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapColorToGray", function handle = 325469397.
Tesseract Information: 0 : Trying to load native function
"pixcmapToRGBTable" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapToRGBTable", function handle = 325469742.
Tesseract Information: 0 : Trying to load native function
"pixcmapSerializeToMemory" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapSerializeToMemory", function handle = 325465572.
Tesseract Information: 0 : Trying to load native function
"pixcmapDeserializeFromMemory" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapDeserializeFromMemory", function handle = 325460637.
Tesseract Information: 0 : Trying to load native function
"pixcmapGammaTRC" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapGammaTRC", function handle = 325470952.
Tesseract Information: 0 : Trying to load native function
"pixcmapContrastTRC" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapContrastTRC", function handle = 325462497.
Tesseract Information: 0 : Trying to load native function
"pixcmapShiftIntensity" from the library with handle 325451776...
Tesseract Information: 0 : Successfully loaded native function
"pixcmapShiftIntensity", function handle = 325460387.
Tesseract Information: 0 : Current platform: x86
Tesseract Information: 0 : Custom search path is not defined, skipping.
Tesseract Information: 0 : Checking executing application domain location
'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET
Files\root\99b032d6\fb07eb9\assembly\dl3\26c8fcd5\00342a46_d765d101' for
'libtesseract304.dll' on platform x86.
Tesseract Information: 0 : Checking current application domain location
'C:\Projects\SANDBOX\OCR-Test-One\OCR-Test-One' for 'libtesseract304.dll'
on platform x86.
Tesseract Information: 0 : Trying to load native library
"C:\Projects\SANDBOX\OCR-Test-One\OCR-Test-One\x86\libtesseract304.dll"...
Tesseract Information: 0 : Successfully loaded native library
"C:\Projects\SANDBOX\OCR-Test-One\OCR-Test-One\x86\libtesseract304.dll",
handle = 329383936.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPIAnalyseLayout" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPIAnalyseLayout", function handle = 329706928.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPIClear" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPIClear", function handle = 329706560.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPICreate" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPICreate", function handle = 329709952.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPIDelete" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPIDelete", function handle = 329709920.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPIDetectOS" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPIDetectOS", function handle = 329706368.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPIGetBoolVariable" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPIGetBoolVariable", function handle = 329709264.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPIGetDoubleVariable" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPIGetDoubleVariable", function handle = 329709184.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPIGetHOCRText" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPIGetHOCRText", function handle = 329706736.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPIGetIntVariable" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPIGetIntVariable", function handle = 329709344.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPIGetIterator" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPIGetIterator", function handle = 329706784.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPIGetPageSegMode" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPIGetPageSegMode", function handle = 329707728.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPIGetStringVariable" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPIGetStringVariable", function handle = 329709104.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPIGetThresholdedImage" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPIGetThresholdedImage", function handle = 329707312.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPIGetUTF8Text" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPIGetUTF8Text", function handle = 329706752.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPIInit4" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPIInit4", function handle = 329708688.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPIMeanTextConf" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPIMeanTextConf", function handle = 329706688.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPIRecognize" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPIRecognize", function handle = 329706912.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPISetDebugVariable" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPISetDebugVariable", function handle = 329709424.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPISetImage2" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPISetImage2", function handle = 329707536.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPISetInputName" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPISetInputName", function handle = 329709840.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPISetPageSegMode" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPISetPageSegMode", function handle = 329707760.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPISetRectangle" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPISetRectangle", function handle = 329707440.
Tesseract Information: 0 : Trying to load native function
"TessBaseAPISetVariable" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessBaseAPISetVariable", function handle = 329709504.
Tesseract Information: 0 : Trying to load native function
"TessDeleteBlockList" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessDeleteBlockList", function handle = 329710688.
Tesseract Information: 0 : Trying to load native function
"TessDeleteIntArray" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessDeleteIntArray", function handle = 329710720.
Tesseract Information: 0 : Trying to load native function "TessDeleteText"
from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessDeleteText", function handle = 329710784.
Tesseract Information: 0 : Trying to load native function
"TessDeleteTextArray" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessDeleteTextArray", function handle = 329710736.
Tesseract Information: 0 : Trying to load native function "TessVersion"
from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessVersion", function handle = 329710800.
Tesseract Information: 0 : Trying to load native function
"TessPageIteratorBaseline" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessPageIteratorBaseline", function handle = 329705472.
Tesseract Information: 0 : Trying to load native function
"TessPageIteratorBegin" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessPageIteratorBegin", function handle = 329705760.
Tesseract Information: 0 : Trying to load native function
"TessPageIteratorBlockType" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessPageIteratorBlockType", function handle = 329705568.
Tesseract Information: 0 : Trying to load native function
"TessPageIteratorBoundingBox" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessPageIteratorBoundingBox", function handle = 329705616.
Tesseract Information: 0 : Trying to load native function
"TessPageIteratorCopy" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessPageIteratorCopy", function handle = 329705776.
Tesseract Information: 0 : Trying to load native function
"TessPageIteratorDelete" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessPageIteratorDelete", function handle = 329705808.
Tesseract Information: 0 : Trying to load native function
"TessPageIteratorGetBinaryImage" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessPageIteratorGetBinaryImage", function handle = 329705552.
Tesseract Information: 0 : Trying to load native function
"TessPageIteratorGetImage" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessPageIteratorGetImage", function handle = 329705520.
Tesseract Information: 0 : Trying to load native function
"TessPageIteratorIsAtBeginningOf" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessPageIteratorIsAtBeginningOf", function handle = 329705696.
Tesseract Information: 0 : Trying to load native function
"TessPageIteratorIsAtFinalElement" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessPageIteratorIsAtFinalElement", function handle = 329705664.
Tesseract Information: 0 : Trying to load native function
"TessPageIteratorNext" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessPageIteratorNext", function handle = 329705728.
Tesseract Information: 0 : Trying to load native function
"TessPageIteratorOrientation" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessPageIteratorOrientation", function handle = 329705440.
Tesseract Information: 0 : Trying to load native function
"TessResultIteratorCopy" from the library with handle 329383936...
Tesseract Information: 0 : Successfully loaded native function
"TessResultIteratorCopy", function handle = 329705200.
Tesseract Information: 0 : Trying to load native function
"TessResultIteratorDelete" from the library with handle 329383936...
-- Again the log is from one run (one attempt to execute the single line
of code listed at the start of this post).
Conclusion
I am a very experienced programmer (have done win32 to cloud). I spent
about 5 hours trying to get this to work without success. One thing I
notice is that the log seems to end on TessResultIteratorDelete, and in
some cases it starts to print the next line but stops midway (prints
"Tesseract Information: 0 : Successfully", or "Tesseract Information: 0 :
S").
Any help that you can offer would be greatly appreciated (the more
specific the better).
Thank you very much again.
Best,
Conrad
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/charlesw/tesseract/issues/318, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPzyPb7KW6g6m7pE5HhORKHByTo19EIks5rdTZ4gaJpZM4MD5r6
.

Charles,
Thank you for the fast response!
It works!
I had tried that before but changed it while trying other things.
Below is a summary the issues (or gotchas) that I encountered and how resolved:
Initially I couldn't get it to work so I experimented with settings.

I had tried multiple versions of the Tesserat Nuget package. So I needed to double-check that the correct versions of the assemblies were in the x86 and x64 folders. I did this by downloading the latest source (in my case tesseract-3.0.2.zip) and getting the latest assemblies from the "..src\lib\TesseractOcr" x64 and x86 folders.

The rest of the checklist is as follows:

Make sure that the assemblies in the x86 and x64 are set to "Copy Always" (right-click the file in Visual Studio, open the properties dialog, and set the property).

Make sure that the language files are in the Visual Studio project, match the Tesserat Nuget package version, and are set to "Copy Always".

Use the following include statement and code to set the path to tessdata:

using System.Web.Hosting;
string tessPath = HostingEnvironment.MapPath(@"~/tessdata");

Make sure that the code includes: using System.Drawing; (otherwise an error occurs saying that a bitmap is being used by not referenced).

Again, thank you very much for your help. This looks like a great library! I cannot wait to try it out!!
Best,
Conrad

By the way is there documentation that lists functions in the library and their use?
For example, I would like to open a PDF and read it, but don't know what function to use..
Thanks again!

Most of the functions are documented using XML comments so VS should
provide some explanation through the auto complete and it would be possible
to generate some API doco from said comments. Otherwise check this issue
tracker and/or stack overflow for anything more specific.
In regards to pdf support, that's currently only supported in the
prerelease version and only supports generation of pdf (image + searchable
text) not reading pdf. In your case you'll need to find another library to
load the PDF and extract any contained image for processing.
On Fri, 17 Feb 2017, 17:56 Conrad-S<EMAIL_ADDRESS>wrote:

By the way is there documentation that lists functions in the library and
their use?
For example, I would like to open a PDF and read it, but don't know what
function to use..
Thanks again!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/charlesw/tesseract/issues/318#issuecomment-280570159,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPzyAG4WFMGMAxUHRkabyu-TqpfBMXDks5rdUSxgaJpZM4MD5r6
.

Thanks. Nothing is documented in Visual Studio, but auto-complete (intellisense) does work. I can probably use object browser to view the methods, but it would be good to have a document somewhere with the list of methods and their use (also helps to understand overall functionality).
I didn't realize that it cannot extract images from pdf's; that was my main purpose. Do you know of a .NET library that can extract the images? Thanks again!!

Mmm the XML document file mustn't be being included property in the nuget
package.
Anyway in regards to handling PDFs I'm not really sure what's available
these days for .net. That being said, as of a couple years ago, a good
stable open source option was itextsharp though it's no longer free for
commercial use. However there are still copies of the code available before
the license was changed but I'm not aware of anyone actively maintaining
these forks.
On Fri, 17 Feb 2017, 18:18 Conrad-S<EMAIL_ADDRESS>wrote:

Thanks. Nothing is documented in Visual Studio, but auto-complete
(intellisense) does work. I can probably use object browser to view the
methods, but it would be good to have a document somewhere with the list of
methods and their use (also helps to understand overall functionality).
I didn't realize that it cannot extract images from pdf's; that was my
main purpose. Do you know of a .NET library that can extract the images?
Thanks again!!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/charlesw/tesseract/issues/318#issuecomment-280573566,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPzyKgNDDkoOeg9G8noVzipga8E7EgSks5rdUm1gaJpZM4MD5r6
.

You can get the old version from nuGet
https://www.nuget.org/packages/iTextSharp-LGPL/

Thanks again! This is great software.
By the way I notice that it always seems to load the 32-bit version. I even tried setting the MapPath.
Tesseract.TesseractEnviornment.CustomSearchPath = HostingEnvironment.MapPath(@"~/x64");
Do you know how to convince it to load the 64-bit DLL?
Tesseract Information: 0 : Current OS: Windows
Tesseract Information: 0 : Current platform: x86
Tesseract Information: 0 : Custom search path is not defined, skipping.
Tesseract Information: 0 : Checking executing application domain location 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\vs\99b032d6\fb07eb9\assembly\dl3\8760118f\00342a46_d765d101' for 'liblept172.dll' on platform x86.
Tesseract Information: 0 : Checking current application domain location 'C:\Projects\SANDBOX\OCR-Test-One\OCR-Test-One' for 'liblept172.dll' on platform x86.
Tesseract Information: 0 : Trying to load native library "C:\Projects\SANDBOX\OCR-Test-One\OCR-Test-One\x86\liblept172.dll"...
Tesseract Information: 0 : Successfully loaded native library "C:\Projects\SANDBOX\OCR-Test-One\OCR-Test-One\x86\liblept172.dll", handle = 369360896.

I'll answer my own question. Got it to work (Visual Studio 2015; ASP.NET MVC; .NET 452):

Do NOT set Tesseract.TesseractEnviornment.CustomSearchPath
Select Debug -> Options -> Projects and Solutions -> Web Projects.
Select User the 64 bit version of IIS Express for web sites and projects.
Set the debug configuration to x64 (Configuration Manager next to the Debug dropdown)
Restart Visual Studio, open the solution and run.

You may also want to set up a trace file so you can see that it loaded the 64-bit assembly:
<system.diagnostics>

</system.diagnostics>
Don't forget to turn off logging after you are finished (performance).
Hope this helps.

Fail with asp.net core, i've tried exactly path, but still throw exception failed to initalise... Please help me

After banging my head against my desk for 30min, I finally realized the path needs to be to the FOLDER containing the .traineddata files (ie: "c:\tessdata"), not the path to one of the .traineddata files (ie "c:\tessdata\eng.traineddata"). Doh!
Hopefully this saves someone's desk (and head).

Fail with asp.net core, i've tried exactly path, but still throw exception failed to initalise... Please help me

Try using tessdata_fast rather then tessdata version.
Anyone knows how to read data from table in image with this library?


Multi scheme migrations issue.

Describe the bug
Migrations do not respect table scheme.
Stack trace
TableExistsException: create table "test"."DEVICES" ("ID" serial primary key, "TOKEN" varchar(255) not null); - relation "DEVICES" already exists
    at PostgreSqlExceptionConverter.convertException (/home/virchenko/Projects/phyapi/node_modules/@mikro-orm/postgresql/PostgreSqlExceptionConverter.js:38:24)
    at PostgreSqlDriver.convertException (/home/virchenko/Projects/phyapi/node_modules/@mikro-orm/core/drivers/DatabaseDriver.js:171:54)
    at /home/virchenko/Projects/phyapi/node_modules/@mikro-orm/core/drivers/DatabaseDriver.js:175:24
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at Function.runSerial (/home/virchenko/Projects/phyapi/node_modules/@mikro-orm/core/utils/Utils.js:458:22)
    at MigrationRunner.run (/home/virchenko/Projects/phyapi/node_modules/@mikro-orm/migrations/MigrationRunner.js:17:13)

To Reproduce
Steps to reproduce the behavior:

Create an entity, for example:

import { Entity, PrimaryKey, Property } from '@mikro-orm/core';

@Entity({
    tableName: 'test.DEVICES',
})
export class Device {
    @PrimaryKey({ fieldName: 'ID', type: 'number' })
    id!: number;

    @Property({ fieldName: 'TOKEN' })
    token!: string;
}

Generate a migration:

npx mikro-orm migration:create

where output will be like this:
import { Migration } from '@mikro-orm/migrations';

export class Migration20201201130518 extends Migration {

  async up(): Promise<void> {
    this.addSql('create table "test"."DEVICES" ("ID" serial primary key, "TOKEN" varchar(255) not null);');
  }

}

Apply the migration:

npx mikro-orm migration:up

Generate a new migration:

npx mikro-orm migration:create

where output will be the same:
import { Migration } from '@mikro-orm/migrations';

export class Migration20201201130522 extends Migration {

  async up(): Promise<void> {
    this.addSql('create table "test"."DEVICES" ("ID" serial primary key, "TOKEN" varchar(255) not null);');
  }

}

Apply the migration:

npx mikro-orm migration:up

Expected behavior
Correct migrations:

first migration with "create scheme 'test';" statement and down() method;
second migration must be empty.

Versions

Dependency
Version

node
v12.20.0

typescript
4.0.5

mikro-orm
4.3.0

PostgreSQL
13.1

Down migrations are planned, but that will require deeper refactoring of how the schema diffing works. I marked this as a bug as the second migration should be indeed empty. Will close this with a fix for that - the rest are feature proposals, not bugs - schema diffing is not implemented at all, just like down migrations. Feel free to create new issues/feature requests for that, they should be separate as those are distinct features.

Fixed in 4.3.3-dev.12


WIP: Move Legacy crypto ops to wallet, use key identifiers to refer to keys needed

Signed-off-by: Filip Burlacu<EMAIL_ADDRESS>

WIP right now because I'd like review from @Baha-sk, specifically on the wallet API

Created https://github.com/hyperledger/aries-framework-go/issues/493


Support for multiple incoming connections at a single input port

I modified example2 to demonstrate the change. Unfortunately, it's a breaking change, since the signature of NodeDataModel::setInData was extended by one parameter. However, porting previously written code using the library should be as trivial as mechanically refactoring member functions overriding this, extending it with a similarly typed, unnamed parameter.

Hi @vhutter,
thanks for your pull request.
The featuer you were trying to implement is definitely makes sense and could be useful in some scenarios.
However it cannot be aligned well with the version 2.x desing of the library.
Currently, the graph we are building is supposed to be data-propagating only. And multiple input connections for each port break this semantics.
If we consider general visualation/manipulation tasks for graphs, then any number of connections could be appropriate.
Besides, as you have written, it's a breaking change and I do not want to force hunders of potential users to refactor their code.
Now, regarding the workflow you were aiming at:
In the version 3.x (branch v3alpha) I have implemented tools for plain graph visualization, without any nudge to the users to propagate any data. You'd need to derive from AbstractGraphModel and implement a policy for ports using the function AbstractGraphModel::portData(nodeId, portType, portIndex, PortRole::ConnectionPolicyRole).
Still, the old approach is also supported. There is a model specialization called DataFlowGraphModel that does pretty much the same as the version 2.x
Let me know what you think.
Thanks,
Dmitry

Hi Dmitry,
I've been browsing the issues / PRs history on this repo, and found similar attempts to mine, although I'm not sure they were trying to achieve the exact same thing. I also noticed that it was mentioned already that this doesn't conform to the philosophy of the library (for example in #138), which you said too, but I seem to fail in understanding why. I'm a little afraid to ask at this point, but I tried to search up "data-propagating" or "flow" graphs, and didn't really find a definition matching the structure of the graph in this library. Can you provide some kind of explanation regarding the semantics you mentioned?

What are you trying to achieve?

I'm working on a node-based editor in the tooling of a game. The editor's purpose would be to visualize multi-layer (tree) data structures of potentially different types, of which height is constant (or at least has an upper bound), but its width is dynamic. What this practically means is that I have a struct in which data members are either instances of a (potentially different) struct, or a container of these. My proposed change is orderedness-agnostic (although from the user's perspective it makes more sense to think of it as an unordered set), unlike implementations changing the number of the ports dynamically, like #209. In my opinion, it would make sense in situations where the user doesn't care about the order of the inputs, only about their "folded" value by some function, or just the fact that they are grouped into one container / category.

Besides, as you have written, it's a breaking change and I do not want to force hunders of potential users to refactor their code.

I realized it doesn't have to be breaking, I changed it a little, wrapping the original function (which remained pure virtual) into a function depending on the respective connection ID (which is a simple virtual one). This way, the original usage is the same, while users who care about multiple inputs for a slot should override both functions.

3.x (branch v3alpha)

Thanks for mentioning it! I checked it out, seems like I would be able to do what I want, but it sadly crashed when I tested it with calculator. I also had a compliation error (some missing #includes I think, on msvc). Overall, I think it will be easier for me to just use this version along with my modification, and try merging possible updates if there will be any in the future, on version 2.x. Once version 3 becomes stable, I'll definitely try porting our program to that.
In light of my last commit, I'd suggest you to maybe reconsider merging it, as I don't think it makes the purpose of the library too much different semantically, being a not too much bigger superset of the current version (definitely not as big as version 3). However you decide, thanks for the library, I'll keep using it!

got suddenly sick for a couple of days.
I think you convinced me. As long as examples work as before, I'll look through the changes very soon and try to merge.
Thanks

I squashed and pushed the branch manually.


Swift 3.1 compile error

In the latest Xcode 8.3 beta, I'm getting the following error on line:
https://github.com/raphaelmor/Polyline/blob/master/Polyline/Polyline.swift#L171
let byteArray = unsafeBitCast((data as NSData).bytes, to: UnsafePointer<Int8>.self)

Polyline.swift:160:21: error: 'unsafeBitCast' from 'UnsafeRawPointer' to 'UnsafePointer<Int8>' gives a type to a raw pointer and may lead to undefined behavior
    let byteArray = unsafeBitCast((data as NSData).bytes, to: UnsafePointer<Int8>.self)
                    ^
Polyline.swift:160:21: note: use the 'assumingMemoryBound' method if the pointer is known to point to an existing value or array of type 'Int8' in memory
    let byteArray = unsafeBitCast((data as NSData).bytes, to: UnsafePointer<Int8>.self)
                    ^~~~~~~~~~~~~~                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                        .assumingMemoryBound(to: Int8.self)
Polyline.swift:160:21: note: use the 'bindMemory' method to assign type 'Int8' to uninitialized raw memory
    let byteArray = unsafeBitCast((data as NSData).bytes, to: UnsafePointer<Int8>.self)
                    ^~~~~~~~~~~~~~                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                        .bindMemory(to: Int8.self, capacity: <#capacity#>)

The compiler is suggesting it should be rewritten as:
let byteArray = (data as NSData).bytes.assumingMemoryBound(to: Int8.self)

Does this seem reasonable? I can open a pull request with these changes if desired.

This change does compile on Xcode 8.2, so it appears to be backwards-compatible with Swift 3.0.

Sure, a PR would be great!

Looks like there’s also a longstanding to-do to revisit whether an UnsafePointer is needed, or whether a standard [Int8] is performant enough.


[WIP] gpt4 rust port

just for lulz. nothing here is gonna work. i authored none of this.

For lulz, the unquestionably best reason to do anything :-D
It looks very readable, can't say if they work or not!
I'll volunteer to try to connect them to the compatibility test harness.
Shall we put these in a new repo, say hyperhyperspace-core-rs?

I'll volunteer to try to connect them to the compatibility test harness.

:metal: It'll take much more chatting with gpt to get to something buildable, methinks.

Shall we put these in a new repo, say hyperhyperspace-core-rs?

Sure! If we both pick away at little bits, maybe something useful will come of this. Some of the ts files are too big to feed to the chat interface. I was thinking it'd be nice to give gpt auto-generated class docs for big files, then ask it to implement a port a handful of functions at a time. https://github.com/TypeStrong/typedoc would help perhaps (the latest version of which requires a newer typescript than hhs is using, hint hint)


feat(format): support json

test: add jest & flow

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@2238a6f). Click here to learn what that means.
The diff coverage is 43.9%.

@@            Coverage Diff            @@
##             master       #2   +/-   ##
=========================================
  Coverage          ?   35.29%
=========================================
  Files             ?        5
  Lines             ?       51
  Branches          ?        7
=========================================
  Hits              ?       18
  Misses            ?       28
  Partials          ?        5

Impacted Files
Coverage Δ

src/index.js
0% <0%> (ø)

src/utils/pageAction.js
100% <100%> (ø)

src/utils/getQuery.js
100% <100%> (ø)

src/utils/getCacheKey.js
100% <100%> (ø)

src/utils/schema.js
100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2238a6f...afadb4c. Read the comment docs.


Nodes remain after removing flow

What are the steps to reproduce?

Node-RED complains You are importing existing nodes
What do you expect to happen?
Not get the error since I already delete the old flow.
Please tell us about your environment:

[ ] Node-RED version:v1.3.4
[ ] Node.js version:v14.16.1
[ ] npm version:6.14.12
[ ] Platform/OS:Linux fedora 5.11.15-300.fc34.x86_64
[ ] Browser:latest Chrome

@jritten

How did you remove the flow?
Did you also remove the config nodes that were included in the original flow?

I removed the flow using the "remove flow" shortcut

This dialog opens up when I click on "view nodes"

I did not remove the nodes before removing the flow. Just assumed the nodes will go away if I remove the parent flow.

By default, config nodes are global - meaning they aren't tied to any one flow. Deleting a flow won't delete global config nodes.
You can change the scope of a config node to a single flow using the select box in the footer of its edit dialog. And then it will get deleted when the flow is deleted.

Thank you @knolleary and @hardillb. Makes sense.


XML serialization in pipeline

This adds coverage of a decent number of cases with XML. I expect there are still more edge cases to handle with XML. I'm kinda leaning toward deferring the remainder of this work until we're at the point where we can start leaning on the autorest.typescript XML tests.

Changes semantics of SerializationOptions by shallow copying the default options, then overwriting property-by-property with the user options. Can revert if this doesn't seem right.
Adds XML metadata for root elements to TypeSpec and SequenceSpec

This metadata is only meant to be specified when the TypeSpec represents the root of the object tree being serialized. The xml metadata on a PropertySpec should have higher precedence than any metadata specified directly on a TypeSpec.

CI failure:
ERROR: /home/travis/build/Azure/ms-rest-js/lib/inMemoryHttpResponse.ts[39, 12]: Use 'undefined' instead of 'null'

I have to suppress this linter warning or reconfigure the linter to allow a null literal to be returned in a method that doesn't allow returning undefined..


Fixed bug with "\n" in result file breaking  elements.

A template, such as the one below, would result in the the meteor build process stopping with an error:
pre some text here
   | more text
   | even more text

A template, like this
pre some text

would work just fine. So I thought, perhaps new lines...
I traced the problem to new lines in the results variable. This apparently only happens with pre elements. I imagine, because they are supposed to preserve new lines.
Also, I updated package.js to require the latest npm versions of jade and html-minifier.

I would much appreciate it if you could merge the pull request :)

@pbastowski Here you go :+1:

Thanks!
On 26 May 2015, at 23:52, Alex Solo<EMAIL_ADDRESS>wrote:
@pbastowski Here you go
—
Reply to this email directly or view it on GitHub.


hdxxvxta: Initial implementation

This driver was developed using the Veris HD2NVSTA1 humidity
transmitter.  The 'T' variant supports a temperature transmitter as
well.  Both signals are provided by the device as analog 0-5Vdc or
0-10Vdc outputs.
The A1 variant supports a temperature range of -40C-50C, while the A2
variant supports a range of 0C-50C.  Humidity ranges for all devices
in this device family range from 0% to 100% (non-condensing).
Temperature measurement can be disabled by passing -1 as the
temperature analog pin to the constructor.
Signed-off-by: Jon Trulson<EMAIL_ADDRESS>

Merged, thanks!


RegistryWorldView no longer exposes access to a registry manager

As such, its current name is wrong and should be changed. Its mojmap name is CommonLevelAccessor, and exposes the following methods:

getBlockEntity from WorldView
getEntityCollisions from EntityView
doesNotIntersectEntities from EntityView
getTopPosition from WorldView

a couple possible names:

EntityWorldView, since it exposes methods to get entities. Questionable name, since only half the methods are used to get entities, and one is completely unrelated.
Basic|Base|SimpleWorldView: a decent name (at the very least, better than the current misleading one), but doesn't communicate much.


fix: remove all items instead of just the ones to be inserted

The tests were passing because it was tested against in memory data.

Hey @zhigang1992, I'm not at my computer for the long weekend so I'm taking a quick look from my phone. If I understand correctly, wouldn't this change make it so remove all of the items in the Store every time we perform an insert?

I'm getting back to this now because it had completely fallen off my radar, but I want to make sure I understand this change.
Let's take line 416:
var removedItems = currentItems

In this scenario currentItems is populated from self.items, so when we call this method:
try await self.removeItemsFromStorageEngine(&removedItems, withStrategy: strategy)
We will be calling this method, with all of the items in the Store, which should remove all of the items in the array.
let itemsToRemove = strategy.removedItems(items)
Does that sound right or am I misunderstanding/missing something?

It took me an unreasonably long amount of time to understand this but now I finally get why this does indeed fix the bug you're experience. 🤦🏻♂
Sorry that it took so long, but I'm merging this in now.


New package: LinalgBackwards v0.1.0

Registering package: LinalgBackwards
Repository: https://github.com/GiggleLiu/LinalgBackwards.jl
Created by: @GiggleLiu
Version: v0.1.0
Commit: 246dc838b77c0d7fcffda2e0ae66f62b83062508
Reviewed by: @GiggleLiu
Reference: https://github.com/GiggleLiu/LinalgBackwards.jl/issues/6#issuecomment-499351150

#1222


doc: fix syntax highlighting

Thanks for trying to help, but the fixed examples are still using Lean 3 syntax.

Unfortunately I'm still very new to Lean so can't really help with porting the examples to Lean 4. Should I close this pull request?

Unfortunately I'm still very new to Lean so can't really help with porting the examples to Lean 4. Should I close this pull request?

No problem. Thanks again for trying to help.


kong ssl cannot work on TLS V1.0 1.1

NOTE: GitHub issues are reserved for bug reports only.
Please read the CONTRIBUTING.md guidelines to learn on which channels you can
seek for help and ask general questions:
kong configured ssl api , the nginx-kong.conf configuration contains:
listen <IP_ADDRESS>:443 ssl;
     ssl_certificate /usr/local/kong/ssl/kong-default.crt;
     ssl_certificate_key /usr/local/kong/ssl/kong-default.key;
     ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
     ssl_certificate_by_lua_block {
         kong.ssl_certificate ()
     }
But TLSv1 TLSv1.1 does not work, how to make TLSv1 TLSv1.1 take effect, thanks.
Summary
SUMMARY_GOES_HERE
Steps To Reproduce

Additional Details & Logs

Kong version ($ kong version) 0.11.0
Kong debug-level startup logs ($ kong start --vv)
Kong error logs (<KONG_PREFIX>/logs/error.log)
Kong configuration (registered APIs/Plugins & configuration file)
Operating System  CentOS release 6.5   2.6.32-431.11.25.el6.x86_64

This is being discussed in https://github.com/Kong/kong/pull/3010. Have also a read of using a custom Nginx template: https://getkong.org/docs/0.11.x/configuration/#custom-nginx-configuration-embedding-kong
Also, in the future, please have a read of https://github.com/Kong/kong/blob/master/CONTRIBUTING.md#where-to-seek-for-help before opening a Github issue, to avoid duplicates and overhead. Thank you!.


AnyLinePreprocessor When loading the graph, the following node types were not found:

Warning: Missing Node Types
When loading the graph, the following node types were not found:
pop up error when loading sample workflow
AnyLinePreprocessor
No selected item
Nodes that have failed to load will show as red on the graph.

installed all missing
reinstalled including the embedded python -m pip install -r req...
also tried the bat
all requirements installed fine

Exactly the same case here. Seems like some recent update to comfyui broke it, it was working perfectly before

git checkout 3f716176ab698a33bd09607e285fc532f20bb63f

作者不维护了！


Add support for non-TLD urls

⚠ Depends on https://github.com/gnosis/safe-transaction-service/pull/766
Closes #765

WebHook.url now accepts any url as long the scheme is http or https and a network location is set
This allows this field to have values like http://tx-service which were not valid under URLField

Coverage increased (+0.009%) to 88.133% when pulling 8ff12ecfbfaa7aa2c7149a268d5c82f24d2aa8c2 on add-non-tld-support-webhook into b87b6a79bffd51df10d3b762d4ce7925d672eeab on webhook-optional-auth.


Parallel Differential Evolution based on pools

The Diferential Evolution algorithm modified for parallel execution. This is beneficial for computationally-expensive objective functions. MPI and joblib pools are also provided taken from emcee project.The API is modified to fix legacy problems and use particulars of population-based optimization algorithms in full. Solves #4864.

A few remarks following a quick review of your commits:

when you introduce backwards incompatible changes, you need to add some deprecation warnings
there is no test related to your changes, we need some
there are some commits at the end that do not appear clearly related to parallelization of DE, these should be submitted as separate PR
the commit history is quite messy, it would ease reviewing if you could rewrite the history by isolating changes into atomic commits and avoid changing things back and forth between commits

Yes,
Before I rewrite the code, please check the first and second commits. Is this a right way to include additional helper modules (pools) to the directory tree of the project? Is additional folder pools acceptable? Is usage of the file pools/init.py correct?

To the technical parts of adding the pools:
.
(i) having same name for the module and the classes causes problems.
(ii) the pool modules should be private, ie., rename Spool.py ->
_spool.py
(iii) in addition to adding the pools to __all__ in __init__.py, you
need to import them, via from ._spool import SPool.
(iv) nitpick -- the classes should be named SPool, MPIPool, JLPool
(maybe JoblibPool) to follow proper camelcase
.
The bikeshedding question is whether scipy.optimize.pools is a good
place for them. Perhaps not, because they could be useful also for other
things than scipy.optimize. There are a some other alternatives such
as putting them in scipy.misc, or, putting them in scipy._lib and
importing from there to scipy.optimize top-level (and similarly in
other modules using them).

I think that the introduction of pool code is going to complicate this PR. Presumably all the pool objects have a map method.  A default pool map for testing parallelisation could be from the multiprocessing module. Users can supply their own pool objects instead if they want to.
It's not necessary to introduce these pools to scipy to continue work on this PR at this point.

@andyfaff , agree.
Then there should be a serial pool, which is a wrapper over normal serial execution of the objective function, and a parallel pool based on multiprocessing. The proper place for this two pools is then in scipy.misc.

To who looks at this PR: the main discussion on how the API for parallelization should look is in gh-4864. This PR cannot be merged until a decision is made there.

This PR is broken to several smaller PRs. Follow here #5141.

Thanks @pavelponomarev


Prizes Target

Ethereum Attestation Service
Nouns DAO
Quick Node
XMTP
Worldcoin
The Graph
Airstack
Gnosis Chain

Airstack: we will use Airstack to find out if an address is a nouns holder or not, and display the Nouns owned by the user using Airstack to retrieve the NFT image

Gnosis: we will deploy on Gnosis testnet

The Graph: we will index our own contract with The Graph and calculate reputation score

XMTP: we will allow users to send msg to each other via XMTP

Worldcoin: we will use Worldcoin to verify address's eligibility to become an attestor

Nouns DAO: we will allow Nouns to filter for proposals listed by other Nouns

Quick Node: we will switch users to use QN for RPC
Need to check if they have gnosis testnet rpc tho
Otherwise, use QN RPC to query some mainnet info

Ethereum Attestation Service: when a proposal is marked executed, an attestation record is issued from EAS
Need to check how we do that if deployed on Gnosis
Probably we can do a private off-chain attesation


How to register Custom Section for Custom Action?

Tried to add model specific custom action
# app/lib/rails_admin/config/actions/custom_action.rb

module RailsAdmin
  module Config
    module Actions
      class CustomAction < RailsAdmin::Config::Actions::Base

        RailsAdmin::Config::Actions.register(self)

        register_instance_option :member do
          true
        end

        register_instance_option :http_methods do
          [:get]
        end

        register_instance_option :controller do
          proc do
            puts "Do Foo"
          end
        end

        register_instance_option :link_icon do
          "fa fa-plus"
        end

      end
    end
  end
end

# app/lib/rails_admin/config/sections/custom_action.rb
require 'rails_admin/config/sections/base'

module RailsAdmin
  module Config
    module Sections
      class CustomAction < RailsAdmin::Config::Sections::Base

        register_instance_option :custom_option do
          :foo
        end

      end
    end
  end
end

But the app raises
undefined method `custom_action' for #<RailsAdmin::Config::Sections::Base:0x007fc61b32ac60>

when I try to do
# app/models/my_model.rb

class MyModel < ApplicationRecord

  rails_admin do
    custom_action do
      custom_option do
        :bar
      end
    end
  end

end

How do I register the custom_section with rails_admin? Already checked out #2574, #2066, #1844, but no help there.

Hi @yadwinderpaul ,
Did you get any solution for the above issue?
I am also facing similar issue, wherein I am trying to create forms for my custom rails_admin actions and form submit should redirect to some specific action.
Please let me know if you have found out the way to achieve the same.
Thanks in advance.


Enable HA for HDFS

What is the "jujubigdata/.relations.py.swp" file?

A vi temp swap file that shouldn't be there
Andrew M.

On 20 Apr 2016, at 09:41, Konstantinos Tsakalozos<EMAIL_ADDRESS>wrote:
What is the "jujubigdata/.relations.py.swp" file?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

The long sleeps also exacerbate our timing issues with services trying to start while others are restarting.  I'm +1 for trying to remove them.


Issue #SB-24452 feat: Handle the media values for ecar.

SB-24452  CLONE - QuestionSet Enhancement for offline consumption support

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Type of change
Please choose appropriate options.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes in the below checkboxes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Ran Test A
[ ] Ran Test B

Test Configuration:

Software versions:
Hardware versions:

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Closing this PR and raise the new PR for the same with jira description.