Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Firebird 4 & pl_UIB 1 year 3 months ago #18002

  • Yury Golovin
  • Yury Golovin's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 1
Good afternoon. When trying to use Firebird 4 and UIB under Linux, he encountered an error - "Incorrect Database Server version".
When using ZEOS, there is no such error. Everything is fine on Windows.
An example in the attachment. Firebird version 4.03, CT 8.21.
What am I doing wrong? Or is it a mistake in the pl_UIB package?

Please Log in or Create an account to join the conversation.

Firebird 4 & pl_UIB 1 year 3 months ago #18003

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1129
  • Thank you received: 170
Give to
UIBDataBase1 
property LibraryName
then correct file
for sample libfbclient.so.4.0.3
or

the full path of libfbclient.so.x.x
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

Firebird 4 & pl_UIB 1 year 3 months ago #18004

  • Yury Golovin
  • Yury Golovin's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 1
I did just that - screenshot 2. And received an error message - "Incorrect Database Server version".
 

Please Log in or Create an account to join the conversation.

Last edit: by Yury Golovin.

Firebird 4 & pl_UIB 1 year 3 months ago #18005

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1129
  • Thank you received: 170
I think we fix this problem
Please replace 
codetyphon/typhon/components/packages_pl/pl_UIB/source/uibase.pas

with the attach fixed file.

We test pl_UIB pkg with fixed file on
Firebird 2.5, 3.0, 4.0 and 5.0 (beta1)
without problems.

 
PilotLogic Core Programmer
Attachments:
The following user(s) said Thank You: Yury Golovin

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

Firebird 4 & pl_UIB 1 year 3 months ago #18006

  • Yury Golovin
  • Yury Golovin's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 1
Replaced the uibase.pas file, reassembled CodeTyphon. Unfortunately, the result is the same (screenshot in the attachment). CT 8.21, Linux Manjaro-cinnamon-22.0. Everything works on Windows.
Attachments:

Please Log in or Create an account to join the conversation.

Firebird 4 & pl_UIB 1 year 3 months ago #18007

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1129
  • Thank you received: 170
Please replace 
codetyphon/typhon/components/packages_pl/pl_UIB/source/uibase.pas

with the above attach fixed file.

In the fixed unit uibase.pas
We remove
'Incorrect Database Server version, check compiler options.'
check.
 
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

Firebird 4 & pl_UIB 1 year 3 months ago #18008

  • Yury Golovin
  • Yury Golovin's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 1
Everything is fine! It was necessary to recompile the pl_UIB package. Probably, when compiling CodeTyphon, packages are not recompiled. Many thanks.

Please Log in or Create an account to join the conversation.

Firebird 4 & pl_UIB 1 year 3 months ago #18009

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1129
  • Thank you received: 170
Thanks Sir
have fun
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

Firebird 4 & pl_UIB 1 year 3 months ago #18013

  • Yury Golovin
  • Yury Golovin's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 1
Hello.
Faced with such a problem - pl_UIB lacks support for BOOLEAN fields that appeared in FireBird 4.

Please Log in or Create an account to join the conversation.

Firebird 4 & pl_UIB 1 year 3 months ago #18014

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1129
  • Thank you received: 170
We will try to fix this Sir
Please, give us time..
PilotLogic Core Programmer
The following user(s) said Thank You: Yury Golovin

Please Log in or Create an account to join the conversation.

Firebird 4 & pl_UIB 1 year 1 month ago #18096

  • Yury Golovin
  • Yury Golovin's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 1
Hello.
Maybe this will help in the solution - github.com/zedalaye/uib?

Please Log in or Create an account to join the conversation.

Firebird 4 & pl_UIB 1 year 1 month ago #18098

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1129
  • Thank you received: 170
Can you test attach pl_UIB version ?

 
PilotLogic Core Programmer
Attachments:
The following user(s) said Thank You: Yury Golovin

Please Log in or Create an account to join the conversation.

Firebird 4 & pl_UIB 1 year 1 month ago #18099

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1129
  • Thank you received: 170
Please, test and pl_UIB-2 version.
PilotLogic Core Programmer
Attachments:
The following user(s) said Thank You: Yury Golovin

Please Log in or Create an account to join the conversation.

Firebird 4 & pl_UIB 1 year 1 month ago #18100

  • Yury Golovin
  • Yury Golovin's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 21
  • Thank you received: 1
Hello.
Many thanks!!!
Tested on Windows10 and Linux Manjaro - everything works.
Thanks for your work!

Please Log in or Create an account to join the conversation.

Firebird 4 & pl_UIB 1 year 1 month ago #18104

  • Matis A.
  • Matis A.'s Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1129
  • Thank you received: 170
Thanks Sir
have fun
PilotLogic Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1