You are not logged in.
Pages: 1
now UTF8 passed with success but at Network protocols (Ip dns ldap section) failed, Thanks ![]()
mormot 2.1.5419
Hi ab, i just want to notify you the tests of Core base at (UTF8) level failed.
mormot2 latest commit (master 2.1.5414)
Windows 10 64bits, Delphi 11.2
Thanks ![]()
Hi ab,
i just want to ask you is there any way to exploit unit test data (execution times infos like 993.53ms i.e. 81/s, aver. 12.26ms) to do do some graphs like you did in this blog https://blog.synopse.info/?post/2022/02 … erformance
Thanks ![]()
Hi ab,
depends on your answer at #2,
* how many mormot services do i have to scale those sqlite dbs, or it would be one with some techniques to separate them ?!
* what do you mean of pageofsize and propper indexes, has mormot create/managed them by default ?
Thanks ![]()
Hi, ab i did update to latest commit, some of code are missing:
test.orm.threads.pas(312): E2003 Undeclared identifier: 'Use'mormot 2.4571 Windows 10 64Bits, D11.2
Thanks ![]()
HI ab, after update the sources, to latest commit 2.4486, mormot2tests block/ freeze at multi threading section.
Thanks ![]()
mormot2: 2.4486, windows 64 bits, D11.2
HI Ab,
a just get updated my mormot2 source from github last commit 2.4477, i have this error
test.core.data.pas(1979): E2003 Undeclared identifier: 'Json'it's at level of
Cache: TOrmCacheEntryValue;Thanks ![]()
you can use that example:
var doc:TDocVariantData;
doc := TDocVariantData(_Json(jsonDataString));
You can use TDocVariantData
regressionly, the log file containt just one line<
09/12/2022 07:55:40.288 Last error 1 mormot.core.os.TServiceController(028242b04f30) Start(MySampleService) failed "ERROR_SERVICE_REQUEST_TIMEOUT" (1053) Hi ab,
i have some issues when i installed a windows service, it give me this error when i try to start it
Error 1053 [ERROR_SERVICE_REQUEST_TIMEOUT] occured with [/start] (Start) on Service 'MySampleService'mormot 2.4418,D11.2, windows 64 bits
Thanks ![]()
Hi ab,
Tests fails at SOA level
! Service oriented architecture - Client side REST basic authentication
! Exception EInterfaceFactory raised with messsage:
! TInterfacedObjectFakeClient.FakeCall(ICalculator.Add) failed: '{
"errorCode":403,
"errorText":"Authentication Failed: Invalid signature (0)"
}'
Total failed: 8 / 26,900,665 - Service oriented architecture FAILED 31.30sThanks ![]()
mormot 2.4400, D11, Target Windows 64bits
Hi ab, i updated to latest commit and i can't compile.
dcc64 Error: mormot.app.daemon.pas(868): E2016 Array type required
ligne 868 :
ConsoleWrite('% [%] %', [fService[i].ServiceName, pid[i], ToText(st[i])^],mormot2 Last commit : 2.4389
Windows 10 64Bits, Delphi 11
update!
also with commit: 2.4392
dcc64 Error: mormot.net.ws.server.pas(241): E2010 Incompatible types: 'PHttpServerConnectionOpaque' and 'THttpServerRequestFlags'
dcc64 Error: mormot.net.ws.server.pas(242): E2034 Too many actual parameters
Thanks ![]()
Hi ab, i tried the last commit and it Works as expected, Thanks ![]()
i updated the sources to https://github.com/synopse/mORMot2/commit/e7aae08b
but it still stuck at starting.. status, not getting running... status.
Hi ab,
i get the same issue with 64bits (Windows), the service install but it stuck at starting... status not running..., but it works at 32bits(windows)
even with latest master branch source.
Thanks ![]()
mormot 2.0.4222
Windows 10 64Bit
Delphi 11.2
Hi ab, Yeah now it works, Thanks ![]()
Hi, Ab i hope that you are doing great, is there any upcoming commits corresponding to write support in the DataSet.
Thanks ![]()
Yeah, i just come to say it, and i found already you put !, i have Delphi 10
Ok that's Good, Thanks ![]()
Hey!, i have some Questions about SynDataSet(mORMot1) in mORMot2.
* i found that mORMot2 not supporting yet the Communication with VCL Components,i don't know if it will release or not,
as i see the `ui` source (Github) for VCL/LCL User Interface oriented components;
* is there any other ways to accomplish that Goal => Assign DataSource.DataSet from TOrmTable instance
aList := Orm.MultiFieldValues(TOrmMyClass, '');
DataSource1.DataSet := TSynSQLTableDataSet.CreateOwnedTable
(Self, aList); Thanks ![]()
Ok, Thanks a lot ![]()
Hi, i resolved the problem with the following:
1 - Convert controls text values from Wide String to Utf-8 with "WideStringToUtf8" function.
2 - add a writer serialization for the "TSample" record for D7.
code:
const
__Tsample = 'Name, Question : RawUTF8;';initialization
TRttiJson.RegisterFromText(TypeInfo(TSample), __TSample,
[jpoIgnoreUnknownProperty], []); Sample.Name := WideStringToUtf8(NameEdit.Text);
Sample.Question := WideStringToUtf8(QuestionMemo.Text);thnx for your quick answer and the great framework
Hi all, i hope you are going great.
i have a problem in this situation as the following:
* i have a legacy application that runs under Delphi 7,
and need to communicate between them and new one developed with Delphi 10 (Because of compatibility with Hardware devices)
=> depends of the example : "04-InterfacedBasedServices"
1 - Run (as Admin) the server side with Delphi10.4.
2 - Run (as Admin) the client side with Delphi 7.
all going great but when i put the name and the msg and click "add message" btn, this error was occurred:
TInterfacedObjectFakeClient.FakeCall(IExample.Add) failed: '{
"errorCode":406,
"errorText":"IExample.Add failed parsing ASample: TSample from input JSON"
}'
Specs:
Delphi7(32bits), Delphi 10.4(64Bits)
Windows 10 (64Bits)
Any Help Plz ![]()
Hi ab, i hope you are going great.
1 - OS Infos after all my application tests passed (64bits) , i get windows 8 rather 10, in 32bits works fine !
my environment:
Windows10 (64Bit), Delphi 10.4 (64Bit)
Thanks ![]()
Hi ,I have a problem in creating a structure of relations between classes using pivot tables, i mean "One To Many" cardinality: (using mORMot2)
example:
TOrmX= class(TOrm);
TOrmY = class(TOrm);
TOrmXY = class(TOrmMany)
private
fSource: TOrmX;
fDest: TOrmY ;
published
property Source: TOrmX read fSource;
property Dest: TOrmY read fDest;
end;=> The XY created as suggested it have both Source in Dest Cols in DB.
!!! But the problem is here : when we want use TOrmXY as Source or Dest in other class;
Example:
TOrmXYZ = class(TOrmMany)
private
fSource: TOrmXY ;
fDest: TAuthGroup;
published
property Source: TOrmXY read fSource;
property Dest: TAuthGroup read fDest;
end;in DB; the Source property doesn't created in DB.
Any Help Please !, Thanks ![]()
Pages: 1