You are not logged in.
Pages: 1
All test passed, thank you!
It is changed on the new settings application, instead of to be filled by O.E.M. now says System Product Name.
Running
Get-WmiObject -Class Win32_ComputerSystem | Format-List -Property *I don't see any non-ASCII characters in the output.
But I have found 'KINGDOM':
OEMStringArray : {Default string, Default string, KINGDOM, Default string...}It is a native system.
Placing a breakpoint in test.core.base.pas line 8144,
full.Oem[0] is 'KINGDOM'
os[sbiOem] is '' (empty string)
PS:
Running the test in the debugger, later it encounters a
asm
int 3
end;in mormot.core.os.windows.inc ? then gets an exception:
Project mormot2tests.exe raised exception class EYamlException with message 'YAML line 1: YAML anchors (&name) are not supported'.
Test failed:
CheckEqual oem len a=7 b=0
'KINGDOM'
! - Dmi smbios: 1 / 149 FAILED 530usIDK where 'KINGDOM' came from, it is not in the source.
mORMot2 data:
Software version tested: 2.4.14944 (2026-05-17 19:42:40)
Windows 11 64bit 25H2 (10.0.26200.8457) [windows-1250 3.6GB 66581B01]
12 x AMD Ryzen 5 8400F 6-Core Processor [16MB] (x86)
on ASUS System Product Name System Version
Using mORMot 2.4.14944 17 May 2026
TSqlite3LibraryStatic 3.51.2 with internal MM
Generated with: Delphi 13.1 Florence 32 bit Win compiler
Time elapsed for all tests: 1m48
Performed 17 May 2026, 19:50:12 by adamp on DESKTOP-BMCNO0S
Total assertions failed for all test suits: 1 / 176,726,221
! Some tests FAILED: please correct the code.How can I fix my mormot?
I had to run the generated exe as administrator because
URI registration error 5 ERROR_ACCESS_DENIED for http://+:888/root (administrator rights needed, at least once to register the URI)But it works now, thank you!
Total assertions failed for all test suits: 0 / 128,607,818
! All tests passed successfully.Hello!
TestRestServer.dpr does not compile:
[dcc32 Error] TestRestServer.dpr(149): E2010 Incompatible types: 'UTF8String' and 'Pointer'
[dcc32 Error] TestRestServer.dpr(149): E2008 Incompatible types
and (DynArrayLoadJson(customers, Pointer(json), TypeInfo(TCustomerItemArray)) <> Nil) thenaccording to the tooltip help, the second param should be RawUtf8 and the return type is Boolean not a reference.
also
[dcc32 Error] TestRestServer.dpr(161): E2035 Not enough actual parameters
authUser.PasswordHashHexa := TAuthUser.ComputeHashedPassword(customers[i].LoginPassword);according to the tooltip help AuthUser.ComputeHashedPassword is quite changed.
Are there newer examples working with the current release cloned from Github?
Or are there missing steps from the frontpage "3. Discover and enjoy:" section?
2025. 05. 11. 16:36:53;http://bouchez.info;Letiltott URL;Belső tiltólista;P:\Embarcadero projects\Components\mORMot2\test\mormot2tests.exe;DESKTOP-BMCNO0S\adamp;62.210.254.173;5FB663FEDABFE1C7A6AABB0BC3AA683CD143E907
with disabled antivirus it fails anyway, requests administrator rights:
Software version tested: 2.3.10978 (2025-05-11 16:19:09)
Windows 11 64bit 24H2 (10.0.26100.3915) [ms1250 3.7GB 65F41B01]
12 x AMD Ryzen 5 8400F 6-Core Processor [16MB] (x86)
on ASUS System Product Name System Version
Using mORMot 2.3.10978 11 May 2025
TSqlite3LibraryStatic 3.46.1 with internal MM
Generated with: Delphi 12.1 Athens 32 bit Win compiler [ins]More precisely Delphi 12 Community Edition[/ins]
Time elapsed for all tests: 1m34
Performed 11 May 2025, 16:38:02 by adamp on DESKTOP-BMCNO0S
Total assertions failed for all test suits: 30 / 128,754,683
! Some tests FAILED: please correct the code.
Done - Press ENTER to Exit000000000069e024 " EXC EHttpApiServer {Message:"HttpSetServiceConfiguration failed: ERROR_ACCESS_DENIED (5)",LastApiError:5,LastApi:"hSetServiceConfiguration"} [Main] at 983570 {12 1.77 1.95 15.4GB/31.7GB 65f41b01}
000000000069e08b " EXC ERestHttpServer {Message:"TRestHttpServer: http.sys URI registration error 5 ERROR_ACCESS_DENIED for http://+:888/root (administrator rights needed, at least once to register the URI)"} [Main] at 4bcf7f {12 1.77 1.95 15.4GB/31.7GB 65f41b01}
0000000001173ddd " EXC EHttpApiServer {Message:"HttpSetServiceConfiguration failed: ERROR_ACCESS_DENIED (5)",LastApiError:5,LastApi:"hSetServiceConfiguration"} [Main] at 983570 {12 1.77 1.95 15.3GB/31.7GB 65f41b01}
0000000001173e4f " EXC ERestHttpServer {Message:"TRestHttpServer: http.sys URI registration error 5 ERROR_ACCESS_DENIED for http://+:888/root0 (administrator rights needed, at least once to register the URI)"} [Main] at 4bcf7f {12 1.77 1.95 15.3GB/31.7GB 65f41b01}
000000000159ecf8 " EXC ERestHttpServer {Message:"TRestHttpServer: http.sys URI registration error 5 ERROR_ACCESS_DENIED for http://+:888/root (you need to register the URI - try to use useHttpApiRegisteringURI)"} [Main] at 4bcf7f {12 1.77 1.95 15.3GB/31.7GB 65f41b01}There is nothing about run as administrator on the Github page, should I be dare enough to turn off NOD32 and run as admin?
Pages: 1