Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-08-05 Thread Krzysztof
2016-07-20 7:02 GMT+02:00 Martin Schreiber :
> Ping.
> I am still interested in how the porting of your application from Lazarus to
> MSEgui went.

Hi Martin. Sorry for delay. I was on vacations and had little break
from this project. 95% complete. Now I'm going to finish it

--
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-07-19 Thread Martin Schreiber
On Sunday 17 April 2016 12:29:07 Martin Schreiber wrote:
> On Thursday 14 April 2016 11:35:44 Krzysztof wrote:
> > Yep. Now is compiling fine. Thanks :)
> > I'll probably move to msedb in future but for now I'm focused on porting
> > GUI
>
> I am interested in a field report when you are ready.
>
Ping.
I am still interested in how the porting of your application from Lazarus to 
MSEgui went.

Martin



--
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-04-27 Thread Martin Schreiber
On Sunday 24 April 2016 09:18:17 Martin Schreiber wrote:
> On Friday 22 April 2016 17:47:59 Martin Schreiber wrote:
> > On Friday 22 April 2016 17:14:50 Krzysztof wrote:
> > > I'm confused too. I'm not familiar with compiling from command line.
> > > Always used IDE build option. But finally got it compile with little
> > > trick. These are my MSEide project directories:
> > > ${MSELIBDIR}*/
> > > ${MSELIBDIR}kernel/$TARGETOSDIR/
> > > ${MSEDIR}lib/addon/*/
> > > /usr/share/fpcsrc/2.6.4/packages/fcl-db/src/sqldb/sqlite
> > > /usr/share/fpcsrc/2.6.4/packages/sqlite/src
> > >
> > > Exactly in that orded.
> >
> > That probably means that FPC searches the the first unitpath first which
> > possibly is a bug.
>
> http://thread.gmane.org/gmane.comp.compilers.free-pascal.general/41565
>
Because FPC does not search as documented I reversed the order for the -F* 
parameters. Please activate 'Project'-'Options'-'Make'-'Directories'-'Reverse 
directory order' for old behaviour (git master 
055154f363ab422e5ce88af018a2a68bba4da8e6).

Martin



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-04-24 Thread Martin Schreiber
On Friday 22 April 2016 17:47:59 Martin Schreiber wrote:
> On Friday 22 April 2016 17:14:50 Krzysztof wrote:
> > I'm confused too. I'm not familiar with compiling from command line.
> > Always used IDE build option. But finally got it compile with little
> > trick. These are my MSEide project directories:
> > ${MSELIBDIR}*/
> > ${MSELIBDIR}kernel/$TARGETOSDIR/
> > ${MSEDIR}lib/addon/*/
> > /usr/share/fpcsrc/2.6.4/packages/fcl-db/src/sqldb/sqlite
> > /usr/share/fpcsrc/2.6.4/packages/sqlite/src
> >
> > Exactly in that orded.
>
> That probably means that FPC searches the the first unitpath first which
> possibly is a bug.
>
http://thread.gmane.org/gmane.comp.compilers.free-pascal.general/41565

Martin



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-04-22 Thread Martin Schreiber
On Friday 22 April 2016 17:14:50 Krzysztof wrote:
> I'm confused too. I'm not familiar with compiling from command line.
> Always used IDE build option. But finally got it compile with little
> trick. These are my MSEide project directories:
> ${MSELIBDIR}*/
> ${MSELIBDIR}kernel/$TARGETOSDIR/
> ${MSEDIR}lib/addon/*/
> /usr/share/fpcsrc/2.6.4/packages/fcl-db/src/sqldb/sqlite
> /usr/share/fpcsrc/2.6.4/packages/sqlite/src
>
> Exactly in that orded. 

That probably means that FPC searches the the first unitpath first which 
possibly is a bug.

Martin

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-04-22 Thread Krzysztof
I'm confused too. I'm not familiar with compiling from command line.
Always used IDE build option. But finally got it compile with little
trick. These are my MSEide project directories:
${MSELIBDIR}*/
${MSELIBDIR}kernel/$TARGETOSDIR/
${MSEDIR}lib/addon/*/
/usr/share/fpcsrc/2.6.4/packages/fcl-db/src/sqldb/sqlite
/usr/share/fpcsrc/2.6.4/packages/sqlite/src

Exactly in that orded. Don't know why should add these paths manualy
for sqlite3conn while other units like sqldb are compiling fine. Maybe
there is filename conflict, because if I don't add last path
(packages/sqlite/src) then it fail with these errors:
Compiling 
/usr/share/fpcsrc/2.6.4/packages/fcl-db/src/sqldb/sqlite/sqlite3conn.pp
Compiling /home/dibo/programowanie/mse_git/lib/common/db/sqlite3dyn.pas
sqlite3conn.pp(102,114) Error: Identifier not found "xCompare"
sqlite3conn.pp(118,71) Error: Identifier not found "SQLiteDefaultLibrary"
sqlite3conn.pp(118,71) Error: absolute can only be associated with a
var or const
sqlite3conn.pp(120,1) Fatal: There were 3 errors compiling module, stopping

As you can see, it compile sqlite3conn.pp from FCL but sqlite3dyn.pas
from MSEgui. Had to override this path. Ah and also had to add
-FUlibs/ because sqlite3dyn tried write some resource file in Free
Pascal source dir and it has root access only. So we can say that
problem is solved

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-04-22 Thread Martin Schreiber
On Friday 22 April 2016 15:58:57 Martin Schreiber wrote:
> On Friday 22 April 2016 15:47:11 Martin Schreiber wrote:
> > Hmm, or is the FPC searching order reversed so that the first found unit
> > is used? I am very confused now.
>
> It seems so. I'll remove in MSEide the reverting of the
> 'Make'-'Directories' order.
>
Hmm,
http://www.freepascal.org/docs-html/current/user/usersu7.html#x21-280003.1.2
"
You can add a directory to the unit search path with the (-Fu (see page 100)) 
option. Every occurrence of one of these options will insert a directory to 
the unit search path. i.e. the last path on the command line will be searched 
first.
"
The confusion is complete. Please write your findings...

Martin



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-04-22 Thread Martin Schreiber
On Friday 22 April 2016 14:29:28 Krzysztof wrote:
> 2016-04-22 14:00 GMT+02:00 Martin Schreiber :
> > Please try to insert this link on top
> > of 'Project'-'Options'-'Make'-'Directories', uncheck 'I','L' and 'O'. The
> > order is reversed in FPC commandline so that top rows dominate.
>
> Still can't find sqlite3conn
>
> > I assume there is FPC RTL and FCL?
>
> What do you mean by this?
>
If the *.ppu's and *.o's of FPC RTL and FCL are in 
lazarus_svn_1_6_fixes/packager/units/x86_64-linux.

> I prepared two clean projects to see less options. One is
> MSEide->Project-New -> template -> default. Second is pure console app
> from Lazarus - Project - New - Simple program. Both have sqlite3conn
> in uses. Console app from Lazarus is compiling fine. MSEide can't find
> unit. These are make options for these simple apps:
>
> MSE:
> ppcx64 -omse_sql -Fu/home/dibo/programowanie/mse_git/lib/addon/*
> -Fi/home/dibo/programowanie/mse_git/lib/addon/*
> -Fu/home/dibo/programowanie/mse_git/lib/common/kernel/linux
> -Fu/home/dibo/programowanie/mse_git/lib/common/*
> -Fu/home/dibo/programowanie/lazarus_svn_1_6_fixes/packager/units/x86_64-lin
>ux -Xg -l -Mobjfpc -Sh -Fcutf8 -gl -O- mse_sql.pas
>
Hmm, or is the FPC searching order reversed so that the first found unit is 
used? I am very confused now.
How about to update the MSEide 'Make' options so that the FPC comandline is 
the same as with Lazarus for an experiment?

> Lazarus console:
>  -MObjFPC -Scghi -Cg -O1 -g -gl -l -vewnhibq
> -Fi/home/dibo/programowanie/projects/tmp11/lib/x86_64-linux
> -Fu/home/dibo/programowanie/projects/tmp11/
> -FU/home/dibo/programowanie/projects/tmp11/lib/x86_64-linux/
>
> As you can see, for console app there is no link to
> lazarus_svn_1_6_fixes/packager/units but it still can find sqlite
> unit. 

Probably because of ".fpc.cfg"-file.

Martin

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-04-22 Thread Krzysztof
2016-04-22 14:00 GMT+02:00 Martin Schreiber :
> Please try to insert this link on top
> of 'Project'-'Options'-'Make'-'Directories', uncheck 'I','L' and 'O'. The
> order is reversed in FPC commandline so that top rows dominate.

Still can't find sqlite3conn

> I assume there is FPC RTL and FCL?

What do you mean by this?

I prepared two clean projects to see less options. One is
MSEide->Project-New -> template -> default. Second is pure console app
from Lazarus - Project - New - Simple program. Both have sqlite3conn
in uses. Console app from Lazarus is compiling fine. MSEide can't find
unit. These are make options for these simple apps:

MSE:
ppcx64 -omse_sql -Fu/home/dibo/programowanie/mse_git/lib/addon/*
-Fi/home/dibo/programowanie/mse_git/lib/addon/*
-Fu/home/dibo/programowanie/mse_git/lib/common/kernel/linux
-Fu/home/dibo/programowanie/mse_git/lib/common/*
-Fu/home/dibo/programowanie/lazarus_svn_1_6_fixes/packager/units/x86_64-linux
-Xg -l -Mobjfpc -Sh -Fcutf8 -gl -O- mse_sql.pas

Lazarus console:
 -MObjFPC -Scghi -Cg -O1 -g -gl -l -vewnhibq
-Fi/home/dibo/programowanie/projects/tmp11/lib/x86_64-linux
-Fu/home/dibo/programowanie/projects/tmp11/
-FU/home/dibo/programowanie/projects/tmp11/lib/x86_64-linux/

As you can see, for console app there is no link to
lazarus_svn_1_6_fixes/packager/units but it still can find sqlite
unit. Weird

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-04-22 Thread Martin Schreiber
On Friday 22 April 2016 13:33:04 Krzysztof wrote:
>
> And this from Lazarus:
> -Fu/home/dibo/programowanie/lazarus_svn_1_6_fixes/packager/units/x86_64-lin
>ux 

Please try to insert this link on top 
of 'Project'-'Options'-'Make'-'Directories', uncheck 'I','L' and 'O'. The 
order is reversed in FPC commandline so that top rows dominate.
I assume there is FPC RTL and FCL?

Martin

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-04-22 Thread Krzysztof
2016-04-22 11:36 GMT+02:00 Martin Schreiber :
> That is the problem. I don't know why it worked before. git master
> 13345e403732d1c2a889d6f1c2eeecc4fb7874b8 renamed it to mdbf_prssupp. Please
> delete dbf_prssupp.ppu.

Thanks. This one is fixed. I'm still porting new units from LCL. Now
MSEide compiler can't find sqlite3conn from sqldb. When compiling from
Lazarus IDE then is ok. I can't use msesqlite3conn yet because in many
units I use TSQLQuery and casting Tsqlite3conn(TSQLQuery.Database)

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-04-22 Thread Krzysztof
2016-04-22 6:57 GMT+02:00 Martin Schreiber :
> "lib/common/fpccompatibility/mdbf_prscore.pas" should be loaded instead.
> Please check why dbf_prscore.ppu is loaded by adding -vu to compiler
> parameters.

Let me know if you need more logs:

(MASKUTILS) Load from MASKUTILS (interface) unit SYSTEM
(MASKUTILS) Adding dependency: MASKUTILS depends on SYSTEM
(MASKUTILS) Load from MASKUTILS (interface) unit OBJPAS
(MASKUTILS) Adding dependency: MASKUTILS depends on OBJPAS
(MASKUTILS) Load from MASKUTILS (interface) unit CLASSES
(MASKUTILS) Adding dependency: MASKUTILS depends on CLASSES
(MASKUTILS) Load from MASKUTILS (interface) unit SYSUTILS
(MASKUTILS) Adding dependency: MASKUTILS depends on SYSUTILS
(MASKUTILS) Finished loading unit MASKUTILS
(DB)   Adding dependency: DB depends on MASKUTILS
(DB)   Registering new unit DBCONST
(DB)   Load from DB (implementation) unit DBCONST
(DBCONST)  Loading unit DBCONST
(DBCONST)  PPU Name: /usr/lib/fpc/2.6.4/units/x86_64-linux/fcl-db/dbconst.ppu
(DBCONST)  PPU Time: 2014/04/20 10:40:21
(DBCONST)  PPU Flags: 161984
(DBCONST)  PPU Crc: 6FF3C865
(DBCONST)  PPU Crc: AAF3B9D7 (intfc)
(DBCONST)  PPU Crc:  (indc)
(DBCONST)  Number of definitions: 93
(DBCONST)  Number of symbols: 98
(DBCONST)  Load from DBCONST (interface) unit SYSTEM
(DBCONST)  Adding dependency: DBCONST depends on SYSTEM
(DBCONST)  Load from DBCONST (interface) unit OBJPAS
(DBCONST)  Adding dependency: DBCONST depends on OBJPAS
(DBCONST)  Finished loading unit DBCONST
(DB)   Adding dependency: DB depends on DBCONST
(DB)   Load from DB (implementation) unit TYPINFO
(DB)   Adding dependency: DB depends on TYPINFO
(DB)   Finished loading unit DB
(SQLDB)Adding dependency: SQLDB depends on DB
(SQLDB)Load from SQLDB (interface) unit BUFDATASET
(BUFDATASET) Loading unit BUFDATASET
(BUFDATASET) PPU Name:
/usr/lib/fpc/2.6.4/units/x86_64-linux/fcl-db/bufdataset.ppu
(BUFDATASET) PPU Time: 2014/04/20 10:40:21
(BUFDATASET) PPU Flags: 422083
(BUFDATASET) PPU Crc: BFF99CD7
(BUFDATASET) PPU Crc: CBAA59F0 (intfc)
(BUFDATASET) PPU Crc: 507E1B14 (indc)
(BUFDATASET) Number of definitions: 853
(BUFDATASET) Number of symbols: 1786
(BUFDATASET) Registering new unit BUFDATASET_PARSER
(BUFDATASET) Load from BUFDATASET (interface) unit SYSTEM
(BUFDATASET) Adding dependency: BUFDATASET depends on SYSTEM
(BUFDATASET) Load from BUFDATASET (interface) unit OBJPAS
(BUFDATASET) Adding dependency: BUFDATASET depends on OBJPAS
(BUFDATASET) Load from BUFDATASET (interface) unit CLASSES
(BUFDATASET) Adding dependency: BUFDATASET depends on CLASSES
(BUFDATASET) Load from BUFDATASET (interface) unit SYSUTILS
(BUFDATASET) Adding dependency: BUFDATASET depends on SYSUTILS
(BUFDATASET) Load from BUFDATASET (interface) unit DB
(BUFDATASET) Adding dependency: BUFDATASET depends on DB
(BUFDATASET) Load from BUFDATASET (interface) unit BUFDATASET_PARSER
(BUFDATASET_PARSER) Loading unit BUFDATASET_PARSER
(BUFDATASET_PARSER) PPU Name:
/usr/lib/fpc/2.6.4/units/x86_64-linux/fcl-db/bufdataset_parser.ppu
(BUFDATASET_PARSER) PPU Time: 2014/04/20 10:40:21
(BUFDATASET_PARSER) PPU Flags: 159936
(BUFDATASET_PARSER) PPU Crc: 9919A0CE
(BUFDATASET_PARSER) PPU Crc: A7DA649F (intfc)
(BUFDATASET_PARSER) PPU Crc: A737F981 (indc)
(BUFDATASET_PARSER) Number of definitions: 126
(BUFDATASET_PARSER) Number of symbols: 255
(BUFDATASET_PARSER) Registering new unit DBF_PRSCORE
(BUFDATASET_PARSER) Registering new unit DBF_PRSDEF
(BUFDATASET_PARSER) Load from BUFDATASET_PARSER (interface) unit SYSTEM
(BUFDATASET_PARSER) Adding dependency: BUFDATASET_PARSER depends on SYSTEM
(BUFDATASET_PARSER) Load from BUFDATASET_PARSER (interface) unit OBJPAS
(BUFDATASET_PARSER) Adding dependency: BUFDATASET_PARSER depends on OBJPAS
(BUFDATASET_PARSER) Load from BUFDATASET_PARSER (interface) unit SYSUTILS
(BUFDATASET_PARSER) Adding dependency: BUFDATASET_PARSER depends on SYSUTILS
(BUFDATASET_PARSER) Load from BUFDATASET_PARSER (interface) unit CLASSES
(BUFDATASET_PARSER) Adding dependency: BUFDATASET_PARSER depends on CLASSES
(BUFDATASET_PARSER) Load from BUFDATASET_PARSER (interface) unit DB
(BUFDATASET_PARSER) Adding dependency: BUFDATASET_PARSER depends on DB
(BUFDATASET_PARSER) Load from BUFDATASET_PARSER (interface) unit DBF_PRSCORE
(DBF_PRSCORE) Loading unit DBF_PRSCORE
(DBF_PRSCORE) PPU Name:
/usr/lib/fpc/2.6.4/units/x86_64-linux/fcl-db/dbf_prscore.ppu
(DBF_PRSCORE) PPU Time: 2014/04/20 10:40:21
(DBF_PRSCORE) PPU Flags: 159939
(DBF_PRSCORE) PPU Crc: 87782150
(DBF_PRSCORE) PPU Crc: 2BAF5EB9 (intfc)
(DBF_PRSCORE) PPU Crc: 225CF5D9 (indc)
(DBF_PRSCORE) Number of definitions: 1104
(DBF_PRSCORE) Number of symbols: 701
(DBF_PRSCORE) Registering new unit DBF_PRSSUPP
(DBF_PRSCORE) Load from DBF_PRSCORE (interface) unit SYSTEM
(DBF_PRSCORE) Adding dependency: DBF_PRSCORE depends on SYSTEM
(DBF_PRSCORE) Load from DBF_PRSCORE (interface) unit OBJPAS
(DBF_PRSCORE) Adding dependency: DBF_PRSCORE depends on OBJPAS
(DBF_PRSCORE) Load 

Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-04-22 Thread Martin Schreiber
On Friday 22 April 2016 06:57:02 Martin Schreiber wrote:
> On Thursday 21 April 2016 21:30:36 Krzysztof wrote:
> > Have it again :( . But now I think that it is my fault. After your
> > fix, everything worked fine. Could compile my project on MSEide but
> > also in Lazarus. Since I'm using MSEide mostly only for designing (I'm
> > too much addicted to code completition after 6 years work with Lazarus
> > IDE) I didn't build project from MSEide for a few days. I'm trying to
> > accustom to MSEide, tried build project today and have this errors:
> >
> > PPU Loading /usr/lib/fpc/2.6.4/units/x86_64-linux/fcl-db/dbf_prscore.ppu
> > Recompiling dbf_prscore, checksum changed for dbf_prssupp
> > Fatal: Can't find unit dbf_prscore used by bufdataset_parser
> > Fatal: Compilation aborted
>
> "lib/common/fpccompatibility/mdbf_prscore.pas" should be loaded instead.

This is nonsense, sorry. I forgot that you use FLC Sqldb not the MSEgui 
version. I assume there is still a wrong ppu somewhere. -vt lists the checked 
and loaded files.

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-04-21 Thread Martin Schreiber
On Thursday 21 April 2016 21:30:36 Krzysztof wrote:
> Have it again :( . But now I think that it is my fault. After your
> fix, everything worked fine. Could compile my project on MSEide but
> also in Lazarus. Since I'm using MSEide mostly only for designing (I'm
> too much addicted to code completition after 6 years work with Lazarus
> IDE) I didn't build project from MSEide for a few days. I'm trying to
> accustom to MSEide, tried build project today and have this errors:
>
> PPU Loading /usr/lib/fpc/2.6.4/units/x86_64-linux/fcl-db/dbf_prscore.ppu
> Recompiling dbf_prscore, checksum changed for dbf_prssupp
> Fatal: Can't find unit dbf_prscore used by bufdataset_parser
> Fatal: Compilation aborted
>
"lib/common/fpccompatibility/mdbf_prscore.pas" should be loaded instead.
Please check why dbf_prscore.ppu is loaded by adding -vu to compiler 
parameters.

[...]

> Secon issue. When debugging from Lazarus (or exception occur) then my
> mouse cursor is dead, I can't click on anything, not on Lazarus but on
> whole linux KDE UI, it feels like there is hidden modal form for my
> desktop.

That is because the application holds a mouse grab. MSEide calls via gdb the 
procedures GUI_DEBUGBEGIN()/GUI_DEBUGEND() of the application which suspends 
the mouse grab if enabled in 'Project'-'Options'-'Debugger'. I don't know if 
Lazarus has a similar functionality.

Martin

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-04-21 Thread Krzysztof
Have it again :( . But now I think that it is my fault. After your
fix, everything worked fine. Could compile my project on MSEide but
also in Lazarus. Since I'm using MSEide mostly only for designing (I'm
too much addicted to code completition after 6 years work with Lazarus
IDE) I didn't build project from MSEide for a few days. I'm trying to
accustom to MSEide, tried build project today and have this errors:

PPU Loading /usr/lib/fpc/2.6.4/units/x86_64-linux/fcl-db/dbf_prscore.ppu
Recompiling dbf_prscore, checksum changed for dbf_prssupp
Fatal: Can't find unit dbf_prscore used by bufdataset_parser
Fatal: Compilation aborted

Why I can build same project with Lazarus (have paths to mse_git) but
not with MSEide anymore? Tried remove *.o *.ppu files from my project
and also from mse_git/lib/common/kernel and fpccompatibility but still
same problem.

Secon issue. When debugging from Lazarus (or exception occur) then my
mouse cursor is dead, I can't click on anything, not on Lazarus but on
whole linux KDE UI, it feels like there is hidden modal form for my
desktop. Only keyboard response so I need to use ALT+TAB and F9 or
CTR+F2 to abort debugging. I even don't see variables values when
moving cursor on var, so debugging MSE project from Lazarus is
useless. With MSEide everything is ok. Which debug option in Lazarus
project options could be responsible for this? Normal LCL GUI projects
or console programs are dubugging fine

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-04-17 Thread Martin Schreiber
On Thursday 14 April 2016 11:35:44 Krzysztof wrote:
> Yep. Now is compiling fine. Thanks :)
> I'll probably move to msedb in future but for now I'm focused on porting
> GUI
>
I am interested in a field report when you are ready.

Martin

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-04-14 Thread Krzysztof
Yep. Now is compiling fine. Thanks :)
I'll probably move to msedb in future but for now I'm focused on porting GUI

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-04-14 Thread Martin Schreiber
On Thursday 14 April 2016 08:08:12 Martin Schreiber wrote:

> For compiling FCL SQLdb there probably is a conflict with the DBase units
> in lib/common/fpccompatibility, I'll take a look.
>
Please try again wit git master 6e5e6dcd51624838567bec68067b686c5f6ad8e0 and 
delete the *.ppu and *.o files in /lib/common/fpccompatibility and in your 
unit output directory.

Martin



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] SQLDB - can't find bufdataset_parser

2016-04-14 Thread Martin Schreiber
On Wednesday 13 April 2016 19:14:22 Krzysztof wrote:
> Hi Martin,
>
> Why can't use sqldb unit? Get error:
> "bufdataset.pas(24,26) Fatal: Cannot find bufdataset_parser used by
> BufDataset. Make sure all ppu files of a package are in its output
> directory. ppu in wrong
> directory=/usr/lib/fpc/2.6.4/units/x86_64-linux/fcl-db/bufdataset_parser.pp
>u.."
>
> sqldb is FPC package, not Lazarus. Checked with empty console project
> and everything is fine. Does MSE force to use own db units? I already
> have a lot of units with TSqlQuery and TSQLite3Connection and such
> migration is quite time consuming.
>
MSEgui has a complete own and extended SQLQuery implementation and a 
forked "db" unit. The reason of forking are the same as for TComponent.  
TSQLite3Connection has been developed by me for MSEgui and later adapted for 
FCL. Please use "mdb" instead of "db" in uses and the components from 'DB' 
and 'DBf' if you like to use the DB-widgets from 'DBl' and 'DBf'.
For compiling FCL SQLdb there probably is a conflict with the DBase units in 
lib/common/fpccompatibility, I'll take a look.

Martin

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk