Page 5 of 20

Re: Zeos 7.3 testers-thread

Posted: 16.11.2018, 12:00
by tkamphuis
Hello Michal,

I Have a problem when I try to define a BeforeOpen or a BeforeRefresh on a Query component.
The error = ZAbstractDataset.pas(181,59) Error: Identifier not found: TWideDataSet

I'm using ZeosLib 7.3 rev 5277
Windows 10 version 1809
Lazarus 2.0 rev 2 64 bits

Greetings,

Theo

Re: Zeos 7.3 testers-thread

Posted: 16.11.2018, 17:13
by zl_frank
@tkamphuis:

Same here. I replaced line 181 in ZAbstraktRODataset.pas with

{$IFDEF TWideDataSet}
TZAbstractRODataset = class(TWideDataSet)
{$ELSE}
TZAbstractRODataset = class(TDataSet)
{$ENDIF}

and it seems to work now.

Best regards

Frank

Re: Zeos 7.3 testers-thread

Posted: 19.11.2018, 17:15
by marsupilami
zl_frank wrote:Hello Jan,

I spent several hours on trying to find the bug, but all attempts were to no avail. I started the relevant part of my project from scratch and copied code from the old project in chunks to the new project to isolate the bug. Everthing went fine. The new project works exactly as expected and the old project still throws weird SIGSEGVs at me (identical environment for both projects). :?

I'm sorry, but I'm not allowed to provide you with the original failing project and I cannot spent more time on this at the moment.

So, I'll make an educated guess: While we went on with development, suddenly another database related part of the project failed with similar SIGSEGVs. But here the reason was obvious: A DataModule wasn't in the correct order within the list of Application.CreateForm(...) in the .lpr file. This is known to be a 'special feature' AFAIK. I had checked this at first before bothering you and it was ok. But maybe something went wrong with DataModules inside Lazarus that didn't come to my attention?

Best regards

Frank
Hello Frank, thank you for keeping me informed. Unfortunately I can't help with that - I simply have no idea what could be wrong. If your new project works, all we can do is see it it keeps working.

Best regards,

Jan

Re: Zeos 7.3 testers-thread

Posted: 19.11.2018, 19:27
by miab3
@EgonHugeist, @Jan, @Fr0sT, @mdaems, All

ZEOS 7.3.x svn 5296:

http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/

compiles and run on:

- Lazarus 2.0.0RC1-Win32 (Windows 10-32),
- Lazarus 2.0.0RC2-Win64 (Windows 10-64),
- Delphi 2007-Win32/C++32 with small hpp mod (Windows 10-64),
- RAD Studio XE2 -Win32/Win64/C++32 with small hpp mod (Windows 7-64),
- Delphi 10 Seattle-Win32/Win64 (Windows 10-64),

mORMot 1.18.4860_mod - passes the database test with ZEOS(Delphi 10 Seattle Win32/Win64, Delphi 2007).
LazSqlX_5.1.7.16.13_mod - Compiles and works(Lazarus 2.0.0RC1-Win32/2.0.0RC2-Win64).

Michal

Re: Zeos 7.3 testers-thread

Posted: 20.11.2018, 13:13
by tkamphuis
Hello Frank,

Thanks a lot for your solution, it works for me too.

Best regards,

Theo Kamphuis

Re: Zeos 7.3 testers-thread

Posted: 21.11.2018, 08:15
by Fr0sT
tkamphuis wrote: I Have a problem when I try to define a BeforeOpen or a BeforeRefresh on a Query component.
The error = ZAbstractDataset.pas(181,59) Error: Identifier not found: TWideDataSet
Yep, this should have worked but Lazarus has bug which prevents the expected behavior. So that change was cancelled.

Re: Zeos 7.3 testers-thread

Posted: 23.11.2018, 17:20
by miab3
@EgonHugeist, @Jan, @Fr0sT, @mdaems, All

ZEOS 7.3.x svn 5307:

http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/

compiles and run on:

- Delphi 10.3 Rio-Win32/Win64 (Windows 10-64).

Michal

Re: Zeos 7.3 testers-thread

Posted: 27.11.2018, 10:48
by miab3
@EgonHugeist, @Jan, @Fr0sT, @mdaems, All

ZEOS 7.3.x svn 5313:

http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/

compiles and run on:

- Lazarus 2.0.0RC1-Win32 (Windows 10-32),
- Lazarus 2.0.0RC2-Win64 (Windows 10-64),
- Delphi 2007-Win32/C++32 with small hpp mod (Windows 10-64),
- RAD Studio XE2 -Win32/Win64/C++32 with small hpp mod (Windows 7-64),
- Delphi 10 Seattle-Win32/Win64 (Windows 10-64),
- Delphi 10.3 Rio-Win32/Win64 (Windows 10-64).

Tested: SQLite, Firebird, Oracle, PostgreSQL, mySQL, MariaDB, MSSQL(ADO, OLE DB, ODBC, FreeTDS), Access.
mORMot 1.18.4860_mod - passes the database test with ZEOS(Delphi 10 Seattle Win32/Win64, Delphi 2007).
LazSqlX_5.1.7.16.13_mod - Compiles and works(Lazarus 2.0.0RC1-Win32/2.0.0RC2-Win64).
DelphiXE10.3_pack2.zip
NEW
DelphiXE10.3_W32_W64_Android.zip
Michal

Re: Zeos 7.3 testers-thread

Posted: 08.12.2018, 13:44
by miab3
@EgonHugeist, @Jan, @Fr0sT, @mdaems, All

ZEOS 7.3.x svn 5342:

http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/

Compiles:

- Lazarus 2.0.0RC1-Win32,
- Lazarus 2.0.0RC2-Win64,
- Delphi 2007-Win32/C++32 with small hpp fixes,
- RAD Studio XE2 -Win32/Win64/C++32 with small hpp fixes/OSX32,
- Delphi 10 Seattle-Win32/Win64,
- Delphi 10.3 Rio-Win32/Win64/Android.

Michal

Re: Zeos 7.3 testers-thread

Posted: 17.12.2018, 20:16
by miab3
@EgonHugeist, @Jan, @Fr0sT, @mdaems, All

ZEOS 7.3.x svn 5364:

http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/

Compiles:

- Lazarus 2.0.0RC1-Win32,
- Lazarus 2.0.0RC2-Win64,
- Delphi 2007-Win32/C++32 with small hpp fixes,
- RAD Studio XE2 -Win32/Win64/C++32 with small hpp fixes/OSX32,
- Delphi 10 Seattle-Win32/Win64,
- Delphi 10.3 Rio-Win32/Win64/Android.

Michal

Re: Zeos 7.3 testers-thread

Posted: 03.01.2019, 13:08
by Zoran
Zeos is currently broken on Linux.

To be worse, it is backported to fixes branch 7.2.4 (the bug appears there since revision 5365).

My system: Lazarus 1.8.4, FPC 3.0.4 Linux 18.3 Xfce 64-bit

Lazarus compiles ok, but then the application with ZConnection cannot start.

To reproduce the bug, start new application, put a ZConnection on the form.
The application compiles, but when you try to run the application, you will get:
Project project1 raised exception class 'ESyncObjectException' with message:
Failed to create OS basic event with name ""

At address 6CCC8B
And the assembler window is open. I don't know what to do then.
I don't know how to debug it -- putting the breakpoint in the first line of project file does not help, as the exception gets raised before it gets to the first line.

Then, to narrow the problem, I wanted at least to track down the actual commit which introduced this in 7.3 - but I could not because the 7.3 svn versions from the beginning of December cannot compile at all. As I said, in 7.2.4 it appeared in rev. 5365 (18.12.2018).

See the bugreport: https://sourceforge.net/p/zeoslib/tickets/324/

Re: Zeos 7.3 testers-thread

Posted: 21.01.2019, 08:16
by Zoran
The problem I described it the previous post disappeared in 7.2.4 fixes branch in rev. 5381. (yesterday, 20. january).
So, I closed the ticket. Thank you.

Re: Zeos 7.3 testers-thread

Posted: 21.01.2019, 09:11
by marsupilami
Good to know. It seems your problem was related to a driver manager issue which the patch from Sunday shoud have fixed: http://zeoslib.sourceforge.net/viewtopi ... 40&t=86386

Re: Zeos 7.3 testers-thread

Posted: 01.02.2019, 17:15
by miab3
@EgonHugeist, @Jan, @Fr0sT, @mdaems, All

ZEOS 7.3.x svn 5437:

http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/

Compiles:

- Lazarus 2.0.0RC3-Win32,
- Lazarus 2.0.0RC3-Win64,
- Delphi 2007-Win32/C++32 with small hpp fixes,
- RAD Studio XE2 -Win32/Win64/C++32 with small hpp fixes/OSX32,
- Delphi 10 Seattle-Win32/Win64,
- Delphi 10.3 Rio-Win32/Win64/Android.

mORMot test passes.

Michal

Re: Zeos 7.3 testers-thread

Posted: 05.02.2019, 21:22
by miab3
@EgonHugeist, @Jan, @Fr0sT, @mdaems, All

ZEOS 7.3.x svn 5438:

http://sourceforge.net/p/zeoslib/code-0 ... sting-7.3/

Compiles:

- Lazarus 2.0.0-Win32,
- Lazarus 2.0.0-Win64,
- Delphi 2007-Win32/C++32 with small hpp fixes,
- RAD Studio XE2 -Win32/Win64/C++32 with small hpp fixes/(OSX32-requires testing),
- Delphi 10 Seattle-Win32/Win64,
- Delphi 10.3 Rio-Win32/Win64/(Android-requires testing).

mORMot test passes(Delphi Win32/Win64)

Michal