Re: [Gambas-user] packaging

2009-11-13 Thread Fabien Bodard
i can  try

2009/11/13 Robert JUHASZ robert1juh...@gmail.com:
 The installation failed also on computers where I had
 - mysql server / client
 - gambas

 Could someone pack my project for testing or trying to install the package I
 did to identify which end is inproperly done?

 Thx,
 Robi

 2009/11/12 Fabien Bodard gambas...@gmail.com

 the mysql driver does not depend on gambas but on the installation of
 libmysqlclient !!



 2009/11/12 Robert JUHASZ robert1juh...@gmail.com:
   Hello,
 
  I'm still suffering with making the correct installation package. It is
  painful as I'd like to share my application with my colleagues.
 
  I tried to do the install on an other virgin (gambas-free) ubuntu 9.04
 but
  same problem: it notes that no driver for mysql.
  I'd highly appreciate if someone can help.
 
  Robi
 
  2009/11/2 Robert JUHASZ robert1juh...@gmail.com
 
  Hello,
 
  I use Gambas 2.16 and 2.17 (I work on two machines).
  I installed the application on these machines i.e. the gambas IDE was
  already on the machine. Is it possible that it was the problem? I may
 try to
  make an install on a virgin machine.
 
  Robi
 
  2009/11/1 Benoît Minisini gam...@users.sourceforge.net
 
    Hello Benoît,
  
   Now the packaging is OK since the fakeroot is added.
   When I run the install file then it works.
  
   When I start my installed application, it doesn't work (refers to
  missing
   mysql driver).
   Even worst, when I start gambas it also doesn't work anymore. It
 comes
   directly after running the installation package file.
   -
   ERROR: #27: Cannot load component 'gb.form.dialog': cannot find
 library
    file -
   I confirmed the same thing on 2 different PC with ubuntu 9.04 and on
 the
   second with ubuntu 9.10. Always the same.
  
   Gambas comes back after running the Computer Janitor and removing
 first
  my
   application and also the proposed gambas components.
  
   I attach the package file, if you are brave enough to risk to
 reproduce
  the
   error :-)
   (The source is also included, I think)
   Thanks if you have time to have a look on it.
  
   Regards, Robi
  
  
 
  You must use at least Gambas 2.14 to be able to add a dependency on
  gb.db.mysql in your project. The bug has been fixed in that release.
 
  The package you created will install all the dependencies needed to run
  *your*
  program, but not the Gambas IDE. If you want to run the Gambas IDE on
 the
  destination system, you must install the gambas2-ide package.
 
  If you have installed the gambas2-ide package, and can't run Gambas,
 then
  the
  package is buggy.
 
  Regards,
 
  --
  Benoît Minisini
 
 
 
 --
  Come build with us! The BlackBerry(R) Developer Conference in SF, CA
  is the only developer event you need to attend this year. Jumpstart
 your
  developing skills, take BlackBerry mobile applications to market and
 stay
  ahead of the curve. Join us from November 9 - 12, 2009. Register now!
  http://p.sf.net/sfu/devconference
  ___
  Gambas-user mailing list
  Gambas-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/gambas-user
 
 
 
 
 --
  Let Crystal Reports handle the reporting - Free Crystal Reports 2008
 30-Day
  trial. Simplify your report design, integration and deployment - and
 focus on
  what you do best, core application coding. Discover what's new with
  Crystal Reports now.  http://p.sf.net/sfu/bobj-july
  ___
  Gambas-user mailing list
  Gambas-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/gambas-user
 


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus
 on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
  ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
 trial. Simplify your report design, integration and deployment - and focus on
 what you do best, core application coding. Discover what's new with
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
Let Crystal 

Re: [Gambas-user] packaging

2009-11-13 Thread Robert JUHASZ
Superb, thanks in advance!

The packed project is attached in a previous mail of this thread (dated 30
of October). Can you catch it or should I resend?
The source is normally included in the package. Starting from the Gambas IDE
it should work.

If installed and started (will appear on the others category) then i
should show the error message immediately as for the login I use mysql.

The bad message is not that the database doesn't exists (it's normal for
the first connection) but that the driver doesn't exists.

If it can launch and requires login and password, the first time it works
with administrator and rendszergazda. It created it's database after in
the administrator sheet.

If you meet the same troube as I do then you'll have problem even to use
Gambas with mysql (same message: no driver for mysql). When removing the
application with the Janitor and also the dependencies proposed by the
Janitor then everything becomes normal with Gambas.

Many thank,
Robi

2009/11/13 Fabien Bodard gambas...@gmail.com

 i can  try

 2009/11/13 Robert JUHASZ robert1juh...@gmail.com:
   The installation failed also on computers where I had
  - mysql server / client
  - gambas
 
  Could someone pack my project for testing or trying to install the
 package I
  did to identify which end is inproperly done?
 
  Thx,
  Robi
 
  2009/11/12 Fabien Bodard gambas...@gmail.com
 
  the mysql driver does not depend on gambas but on the installation of
  libmysqlclient !!
 
 
 
  2009/11/12 Robert JUHASZ robert1juh...@gmail.com:
Hello,
  
   I'm still suffering with making the correct installation package. It
 is
   painful as I'd like to share my application with my colleagues.
  
   I tried to do the install on an other virgin (gambas-free) ubuntu 9.04
  but
   same problem: it notes that no driver for mysql.
   I'd highly appreciate if someone can help.
  
   Robi
  
   2009/11/2 Robert JUHASZ robert1juh...@gmail.com
  
   Hello,
  
   I use Gambas 2.16 and 2.17 (I work on two machines).
   I installed the application on these machines i.e. the gambas IDE was
   already on the machine. Is it possible that it was the problem? I may
  try to
   make an install on a virgin machine.
  
   Robi
  
   2009/11/1 Benoît Minisini gam...@users.sourceforge.net
  
 Hello Benoît,
   
Now the packaging is OK since the fakeroot is added.
When I run the install file then it works.
   
When I start my installed application, it doesn't work (refers to
   missing
mysql driver).
Even worst, when I start gambas it also doesn't work anymore. It
  comes
directly after running the installation package file.
-
ERROR: #27: Cannot load component 'gb.form.dialog': cannot find
  library
 file -
I confirmed the same thing on 2 different PC with ubuntu 9.04 and
 on
  the
second with ubuntu 9.10. Always the same.
   
Gambas comes back after running the Computer Janitor and removing
  first
   my
application and also the proposed gambas components.
   
I attach the package file, if you are brave enough to risk to
  reproduce
   the
error :-)
(The source is also included, I think)
Thanks if you have time to have a look on it.
   
Regards, Robi
   
   
  
   You must use at least Gambas 2.14 to be able to add a dependency on
   gb.db.mysql in your project. The bug has been fixed in that release.
  
   The package you created will install all the dependencies needed to
 run
   *your*
   program, but not the Gambas IDE. If you want to run the Gambas IDE
 on
  the
   destination system, you must install the gambas2-ide package.
  
   If you have installed the gambas2-ide package, and can't run Gambas,
  then
   the
   package is buggy.
  
   Regards,
  
   --
   Benoît Minisini
  
  
  
 
 --
   Come build with us! The BlackBerry(R) Developer Conference in SF, CA
   is the only developer event you need to attend this year. Jumpstart
  your
   developing skills, take BlackBerry mobile applications to market and
  stay
   ahead of the curve. Join us from November 9 - 12, 2009. Register
 now!
   http://p.sf.net/sfu/devconference
   ___
   Gambas-user mailing list
   Gambas-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/gambas-user
  
  
  
  
 
 --
   Let Crystal Reports handle the reporting - Free Crystal Reports 2008
  30-Day
   trial. Simplify your report design, integration and deployment - and
  focus on
   what you do best, core application coding. Discover what's new with
   Crystal Reports now.  http://p.sf.net/sfu/bobj-july
   ___
   Gambas-user mailing list
   Gambas-user@lists.sourceforge.net
   

Re: [Gambas-user] packaging

2009-11-13 Thread Fabien Bodard
no problem here on gambas2.17 with ubuntu 9.10

please install the gambas-db-mysql package

2009/11/13 Robert JUHASZ robert1juh...@gmail.com:
 Superb, thanks in advance!

 The packed project is attached in a previous mail of this thread (dated 30
 of October). Can you catch it or should I resend?
 The source is normally included in the package. Starting from the Gambas IDE
 it should work.

 If installed and started (will appear on the others category) then i
 should show the error message immediately as for the login I use mysql.

 The bad message is not that the database doesn't exists (it's normal for
 the first connection) but that the driver doesn't exists.

 If it can launch and requires login and password, the first time it works
 with administrator and rendszergazda. It created it's database after in
 the administrator sheet.

 If you meet the same troube as I do then you'll have problem even to use
 Gambas with mysql (same message: no driver for mysql). When removing the
 application with the Janitor and also the dependencies proposed by the
 Janitor then everything becomes normal with Gambas.

 Many thank,
 Robi

 2009/11/13 Fabien Bodard gambas...@gmail.com

 i can  try

 2009/11/13 Robert JUHASZ robert1juh...@gmail.com:
   The installation failed also on computers where I had
  - mysql server / client
  - gambas
 
  Could someone pack my project for testing or trying to install the
 package I
  did to identify which end is inproperly done?
 
  Thx,
  Robi
 
  2009/11/12 Fabien Bodard gambas...@gmail.com
 
  the mysql driver does not depend on gambas but on the installation of
  libmysqlclient !!
 
 
 
  2009/11/12 Robert JUHASZ robert1juh...@gmail.com:
    Hello,
  
   I'm still suffering with making the correct installation package. It
 is
   painful as I'd like to share my application with my colleagues.
  
   I tried to do the install on an other virgin (gambas-free) ubuntu 9.04
  but
   same problem: it notes that no driver for mysql.
   I'd highly appreciate if someone can help.
  
   Robi
  
   2009/11/2 Robert JUHASZ robert1juh...@gmail.com
  
   Hello,
  
   I use Gambas 2.16 and 2.17 (I work on two machines).
   I installed the application on these machines i.e. the gambas IDE was
   already on the machine. Is it possible that it was the problem? I may
  try to
   make an install on a virgin machine.
  
   Robi
  
   2009/11/1 Benoît Minisini gam...@users.sourceforge.net
  
     Hello Benoît,
   
Now the packaging is OK since the fakeroot is added.
When I run the install file then it works.
   
When I start my installed application, it doesn't work (refers to
   missing
mysql driver).
Even worst, when I start gambas it also doesn't work anymore. It
  comes
directly after running the installation package file.
-
ERROR: #27: Cannot load component 'gb.form.dialog': cannot find
  library
 file -
I confirmed the same thing on 2 different PC with ubuntu 9.04 and
 on
  the
second with ubuntu 9.10. Always the same.
   
Gambas comes back after running the Computer Janitor and removing
  first
   my
application and also the proposed gambas components.
   
I attach the package file, if you are brave enough to risk to
  reproduce
   the
error :-)
(The source is also included, I think)
Thanks if you have time to have a look on it.
   
Regards, Robi
   
   
  
   You must use at least Gambas 2.14 to be able to add a dependency on
   gb.db.mysql in your project. The bug has been fixed in that release.
  
   The package you created will install all the dependencies needed to
 run
   *your*
   program, but not the Gambas IDE. If you want to run the Gambas IDE
 on
  the
   destination system, you must install the gambas2-ide package.
  
   If you have installed the gambas2-ide package, and can't run Gambas,
  then
   the
   package is buggy.
  
   Regards,
  
   --
   Benoît Minisini
  
  
  
 
 --
   Come build with us! The BlackBerry(R) Developer Conference in SF, CA
   is the only developer event you need to attend this year. Jumpstart
  your
   developing skills, take BlackBerry mobile applications to market and
  stay
   ahead of the curve. Join us from November 9 - 12, 2009. Register
 now!
   http://p.sf.net/sfu/devconference
   ___
   Gambas-user mailing list
   Gambas-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/gambas-user
  
  
  
  
 
 --
   Let Crystal Reports handle the reporting - Free Crystal Reports 2008
  30-Day
   trial. Simplify your report design, integration and deployment - and
  focus on
   what you do best, core application coding. Discover what's new with
   Crystal Reports now.  http://p.sf.net/sfu/bobj-july
   

Re: [Gambas-user] packaging

2009-11-13 Thread Robert JUHASZ
Good news! Do you mean that you installed and runs normally or tried from
the source code?

How can I have installed the gambas-db-mysql on computers where I don't have
the gambas? (I just started with Ubuntu as well)

On the PC I develop (Gambas installed) is it possible that this component is
missing? From the IDE I can fairly acces the mysql.

I also use Gambas 2.17 but I'm not 100% sure if I installed correcly. Do you
have a link where can I find a complete version? The links on the wiki are
broken for me.
Sorry for the lots of questions..

Thx, Robi

2009/11/13 Fabien Bodard gambas...@gmail.com

 no problem here on gambas2.17 with ubuntu 9.10

 please install the gambas-db-mysql package

 2009/11/13 Robert JUHASZ robert1juh...@gmail.com:
  Superb, thanks in advance!
 
  The packed project is attached in a previous mail of this thread (dated
 30
  of October). Can you catch it or should I resend?
  The source is normally included in the package. Starting from the Gambas
 IDE
  it should work.
 
  If installed and started (will appear on the others category) then i
  should show the error message immediately as for the login I use mysql.
 
  The bad message is not that the database doesn't exists (it's normal
 for
  the first connection) but that the driver doesn't exists.
 
  If it can launch and requires login and password, the first time it works
  with administrator and rendszergazda. It created it's database after
 in
  the administrator sheet.
 
  If you meet the same troube as I do then you'll have problem even to use
  Gambas with mysql (same message: no driver for mysql). When removing the
  application with the Janitor and also the dependencies proposed by the
  Janitor then everything becomes normal with Gambas.
 
  Many thank,
  Robi
 
  2009/11/13 Fabien Bodard gambas...@gmail.com
 
  i can  try
 
  2009/11/13 Robert JUHASZ robert1juh...@gmail.com:
The installation failed also on computers where I had
   - mysql server / client
   - gambas
  
   Could someone pack my project for testing or trying to install the
  package I
   did to identify which end is inproperly done?
  
   Thx,
   Robi
  
   2009/11/12 Fabien Bodard gambas...@gmail.com
  
   the mysql driver does not depend on gambas but on the installation of
   libmysqlclient !!
  
  
  
   2009/11/12 Robert JUHASZ robert1juh...@gmail.com:
 Hello,
   
I'm still suffering with making the correct installation package.
 It
  is
painful as I'd like to share my application with my colleagues.
   
I tried to do the install on an other virgin (gambas-free) ubuntu
 9.04
   but
same problem: it notes that no driver for mysql.
I'd highly appreciate if someone can help.
   
Robi
   
2009/11/2 Robert JUHASZ robert1juh...@gmail.com
   
Hello,
   
I use Gambas 2.16 and 2.17 (I work on two machines).
I installed the application on these machines i.e. the gambas IDE
 was
already on the machine. Is it possible that it was the problem? I
 may
   try to
make an install on a virgin machine.
   
Robi
   
2009/11/1 Benoît Minisini gam...@users.sourceforge.net
   
  Hello Benoît,

 Now the packaging is OK since the fakeroot is added.
 When I run the install file then it works.

 When I start my installed application, it doesn't work (refers
 to
missing
 mysql driver).
 Even worst, when I start gambas it also doesn't work anymore.
 It
   comes
 directly after running the installation package file.
 -
 ERROR: #27: Cannot load component 'gb.form.dialog': cannot find
   library
  file -
 I confirmed the same thing on 2 different PC with ubuntu 9.04
 and
  on
   the
 second with ubuntu 9.10. Always the same.

 Gambas comes back after running the Computer Janitor and
 removing
   first
my
 application and also the proposed gambas components.

 I attach the package file, if you are brave enough to risk to
   reproduce
the
 error :-)
 (The source is also included, I think)
 Thanks if you have time to have a look on it.

 Regards, Robi


   
You must use at least Gambas 2.14 to be able to add a dependency
 on
gb.db.mysql in your project. The bug has been fixed in that
 release.
   
The package you created will install all the dependencies needed
 to
  run
*your*
program, but not the Gambas IDE. If you want to run the Gambas
 IDE
  on
   the
destination system, you must install the gambas2-ide package.
   
If you have installed the gambas2-ide package, and can't run
 Gambas,
   then
the
package is buggy.
   
Regards,
   
--
Benoît Minisini
   
   
   
  
 
 --
Come build with us! The BlackBerry(R) Developer Conference in SF,
 CA
is the only developer event you need to attend this year.
 

Re: [Gambas-user] packaging

2009-11-13 Thread Fabien Bodard
my gambas2 is the ubuntu one... :/

nothing special

all is working well here

2009/11/13 Robert JUHASZ robert1juh...@gmail.com:
 Good news! Do you mean that you installed and runs normally or tried from
 the source code?

 How can I have installed the gambas-db-mysql on computers where I don't have
 the gambas? (I just started with Ubuntu as well)

 On the PC I develop (Gambas installed) is it possible that this component is
 missing? From the IDE I can fairly acces the mysql.

 I also use Gambas 2.17 but I'm not 100% sure if I installed correcly. Do you
 have a link where can I find a complete version? The links on the wiki are
 broken for me.
 Sorry for the lots of questions..

 Thx, Robi

 2009/11/13 Fabien Bodard gambas...@gmail.com

 no problem here on gambas2.17 with ubuntu 9.10

 please install the gambas-db-mysql package

 2009/11/13 Robert JUHASZ robert1juh...@gmail.com:
  Superb, thanks in advance!
 
  The packed project is attached in a previous mail of this thread (dated
 30
  of October). Can you catch it or should I resend?
  The source is normally included in the package. Starting from the Gambas
 IDE
  it should work.
 
  If installed and started (will appear on the others category) then i
  should show the error message immediately as for the login I use mysql.
 
  The bad message is not that the database doesn't exists (it's normal
 for
  the first connection) but that the driver doesn't exists.
 
  If it can launch and requires login and password, the first time it works
  with administrator and rendszergazda. It created it's database after
 in
  the administrator sheet.
 
  If you meet the same troube as I do then you'll have problem even to use
  Gambas with mysql (same message: no driver for mysql). When removing the
  application with the Janitor and also the dependencies proposed by the
  Janitor then everything becomes normal with Gambas.
 
  Many thank,
  Robi
 
  2009/11/13 Fabien Bodard gambas...@gmail.com
 
  i can  try
 
  2009/11/13 Robert JUHASZ robert1juh...@gmail.com:
    The installation failed also on computers where I had
   - mysql server / client
   - gambas
  
   Could someone pack my project for testing or trying to install the
  package I
   did to identify which end is inproperly done?
  
   Thx,
   Robi
  
   2009/11/12 Fabien Bodard gambas...@gmail.com
  
   the mysql driver does not depend on gambas but on the installation of
   libmysqlclient !!
  
  
  
   2009/11/12 Robert JUHASZ robert1juh...@gmail.com:
     Hello,
   
I'm still suffering with making the correct installation package.
 It
  is
painful as I'd like to share my application with my colleagues.
   
I tried to do the install on an other virgin (gambas-free) ubuntu
 9.04
   but
same problem: it notes that no driver for mysql.
I'd highly appreciate if someone can help.
   
Robi
   
2009/11/2 Robert JUHASZ robert1juh...@gmail.com
   
Hello,
   
I use Gambas 2.16 and 2.17 (I work on two machines).
I installed the application on these machines i.e. the gambas IDE
 was
already on the machine. Is it possible that it was the problem? I
 may
   try to
make an install on a virgin machine.
   
Robi
   
2009/11/1 Benoît Minisini gam...@users.sourceforge.net
   
  Hello Benoît,

 Now the packaging is OK since the fakeroot is added.
 When I run the install file then it works.

 When I start my installed application, it doesn't work (refers
 to
missing
 mysql driver).
 Even worst, when I start gambas it also doesn't work anymore.
 It
   comes
 directly after running the installation package file.
 -
 ERROR: #27: Cannot load component 'gb.form.dialog': cannot find
   library
  file -
 I confirmed the same thing on 2 different PC with ubuntu 9.04
 and
  on
   the
 second with ubuntu 9.10. Always the same.

 Gambas comes back after running the Computer Janitor and
 removing
   first
my
 application and also the proposed gambas components.

 I attach the package file, if you are brave enough to risk to
   reproduce
the
 error :-)
 (The source is also included, I think)
 Thanks if you have time to have a look on it.

 Regards, Robi


   
You must use at least Gambas 2.14 to be able to add a dependency
 on
gb.db.mysql in your project. The bug has been fixed in that
 release.
   
The package you created will install all the dependencies needed
 to
  run
*your*
program, but not the Gambas IDE. If you want to run the Gambas
 IDE
  on
   the
destination system, you must install the gambas2-ide package.
   
If you have installed the gambas2-ide package, and can't run
 Gambas,
   then
the
package is buggy.
   
Regards,
   
--
Benoît Minisini
   
   
   
  
 
 

Re: [Gambas-user] packaging

2009-11-13 Thread Fabien Bodard
Cannot
load component 'gb.form.dialog': cannot find library

you need to install this component too /

2009/11/13 Fabien Bodard gambas...@gmail.com:
 my gambas2 is the ubuntu one... :/

 nothing special

 all is working well here

 2009/11/13 Robert JUHASZ robert1juh...@gmail.com:
 Good news! Do you mean that you installed and runs normally or tried from
 the source code?

 How can I have installed the gambas-db-mysql on computers where I don't have
 the gambas? (I just started with Ubuntu as well)

 On the PC I develop (Gambas installed) is it possible that this component is
 missing? From the IDE I can fairly acces the mysql.

 I also use Gambas 2.17 but I'm not 100% sure if I installed correcly. Do you
 have a link where can I find a complete version? The links on the wiki are
 broken for me.
 Sorry for the lots of questions..

 Thx, Robi

 2009/11/13 Fabien Bodard gambas...@gmail.com

 no problem here on gambas2.17 with ubuntu 9.10

 please install the gambas-db-mysql package

 2009/11/13 Robert JUHASZ robert1juh...@gmail.com:
  Superb, thanks in advance!
 
  The packed project is attached in a previous mail of this thread (dated
 30
  of October). Can you catch it or should I resend?
  The source is normally included in the package. Starting from the Gambas
 IDE
  it should work.
 
  If installed and started (will appear on the others category) then i
  should show the error message immediately as for the login I use mysql.
 
  The bad message is not that the database doesn't exists (it's normal
 for
  the first connection) but that the driver doesn't exists.
 
  If it can launch and requires login and password, the first time it works
  with administrator and rendszergazda. It created it's database after
 in
  the administrator sheet.
 
  If you meet the same troube as I do then you'll have problem even to use
  Gambas with mysql (same message: no driver for mysql). When removing the
  application with the Janitor and also the dependencies proposed by the
  Janitor then everything becomes normal with Gambas.
 
  Many thank,
  Robi
 
  2009/11/13 Fabien Bodard gambas...@gmail.com
 
  i can  try
 
  2009/11/13 Robert JUHASZ robert1juh...@gmail.com:
    The installation failed also on computers where I had
   - mysql server / client
   - gambas
  
   Could someone pack my project for testing or trying to install the
  package I
   did to identify which end is inproperly done?
  
   Thx,
   Robi
  
   2009/11/12 Fabien Bodard gambas...@gmail.com
  
   the mysql driver does not depend on gambas but on the installation of
   libmysqlclient !!
  
  
  
   2009/11/12 Robert JUHASZ robert1juh...@gmail.com:
     Hello,
   
I'm still suffering with making the correct installation package.
 It
  is
painful as I'd like to share my application with my colleagues.
   
I tried to do the install on an other virgin (gambas-free) ubuntu
 9.04
   but
same problem: it notes that no driver for mysql.
I'd highly appreciate if someone can help.
   
Robi
   
2009/11/2 Robert JUHASZ robert1juh...@gmail.com
   
Hello,
   
I use Gambas 2.16 and 2.17 (I work on two machines).
I installed the application on these machines i.e. the gambas IDE
 was
already on the machine. Is it possible that it was the problem? I
 may
   try to
make an install on a virgin machine.
   
Robi
   
2009/11/1 Benoît Minisini gam...@users.sourceforge.net
   
  Hello Benoît,

 Now the packaging is OK since the fakeroot is added.
 When I run the install file then it works.

 When I start my installed application, it doesn't work (refers
 to
missing
 mysql driver).
 Even worst, when I start gambas it also doesn't work anymore.
 It
   comes
 directly after running the installation package file.
 -
 ERROR: #27: Cannot load component 'gb.form.dialog': cannot find
   library
  file -
 I confirmed the same thing on 2 different PC with ubuntu 9.04
 and
  on
   the
 second with ubuntu 9.10. Always the same.

 Gambas comes back after running the Computer Janitor and
 removing
   first
my
 application and also the proposed gambas components.

 I attach the package file, if you are brave enough to risk to
   reproduce
the
 error :-)
 (The source is also included, I think)
 Thanks if you have time to have a look on it.

 Regards, Robi


   
You must use at least Gambas 2.14 to be able to add a dependency
 on
gb.db.mysql in your project. The bug has been fixed in that
 release.
   
The package you created will install all the dependencies needed
 to
  run
*your*
program, but not the Gambas IDE. If you want to run the Gambas
 IDE
  on
   the
destination system, you must install the gambas2-ide package.
   
If you have installed the gambas2-ide package, and can't run
 Gambas,
   then
the
package 

[Gambas-user] 2 forms closing at the same time. Is it a bug?

2009-11-13 Thread Toni

Hi,
I'm not sure whether this is a bug or it's me doing something wrong...

When I want to show two (or more) Forms from a module set as Startup 
class in its main function,  whenever a ME.close is called within one 
of the forms, the other(s) one gets closed too.
To me this isn't the expected behavior... Just one of them should get 
closed (the ME part is what made me expect it).


I attach a simple project to illustrate my point, but basically it's as 
follows:


1st.- Module1 ( as startup class)
PUBLIC FUNCTION Main()

 Form1.Show
 FMain.Show

END

2nd.- In Form1 ME.Close is executed

3th.- The FMain form gets closed too and the application finishes.

Instead I would expect Fmain not being closed and the application left 
running until Fmain gets closed by its own means.


Regards,
Toni


P.S.: I'm testing it in an Ubuntu 8.10 64bits with Gambas version 2.17 
(revision 2415)




Test.tar.gz
Description: GNU Zip compressed data
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] tags

2009-11-13 Thread Jean-Yves F. Barbier
Hi,

Is it possible to recover any kind of widget's value only from
its tag (as far as tags are all numerics 0,1,2...) from into a loop?

-- 
Debian Hint #6: There is no hint #6. Submit a hint today !

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] tags

2009-11-13 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto:
 Hi,

 Is it possible to recover any kind of widget's value only from
 its tag (as far as tags are all numerics 0,1,2...) from into a loop?

   
I am not sure about what you want... anyway...

It seems to me that the TAG property is a variant, so you can assign any 
kind of value to it (at least in code); using the GUI designer seems to 
let you only use strings.

When you later access the TAG property, its value will retain the type 
of data you assigned to it. For example, I just tried this:

PUBLIC SUB Form_Open()
  TextArea1.Tag = listview1
  TextBox1.Text = TextArea1.Tag.name
  TextBox1.Text = TextArea1.Tag
END

The first line shows that you can assign an arbitrary object to the TAG 
field.
The second line shows that you can read what is stored in TAG; having 
you stored a ListView, then you can read its Name property, The text of 
TextBox1 now gets assigned to the string Listview1.
The third line fires an error, but only at runtime; during compilation 
gambas can not know what the content of Textarea1.Tag is, so it can not 
decide if this content is compatible to a string (to be stored in 
TextBox1.text). At runtime, instead, gambas reads the content of 
TextArea1.tag and it finds it is an object: the object ListView1; now, 
it can not assign an object to a string, so it rises an errore (expected 
string, got ListView instead...).

About recover any kind [...] from into a loop, I don't understand. 
Perhaps you want to scan all the controls residing on a form - there is 
the Controls[] property for that. Or you want to stream out all the 
properties of an object, perhaps to a file? This is possible too, I 
think - look at the Object class (or the Class class, can't remember), 
which has method to inspect... objects.

Regards,

-- 
Doriano Blengino

Listen twice before you speak.
This is why we have two ears, but only one mouth.


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user