Re: [Gambas-user] Problem running Gambas on Pi touch screen

2017-08-18 Thread Benoît Minisini via Gambas-user

Le 18/08/2017 à 16:33, Brian Childs a écrit :
I am trying to run gambas on a pi with a 640x800 size touch screen. My 
problem is that when I start Gambas up the splash screen is larger than 
the resolution of the touch screen and therefore I cannot click any of 
its controls and therefore I can go no further.


Can you help me please?
Cheers
Brian


Try to define a smaller default font size with the qtconfig utility. The 
size of the interface is a multiple of the font height.


Regards,

--
Benoît Minisini

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with Gambas 3.4 and Skiptaskbar

2013-10-12 Thread Benoît Minisini
Le 09/10/2013 20:09, herberth guzman a écrit :
 hello, I have a question, I have a form that does not want to display on
 the taskbar panel, change the skiptaskbar property to true, but pressing
 (alt + tab) still appears in the task manager of windows manager.
 How do I NOT display in the taskbar and pressing Alt-Tab is
 desactivate.

I think it's impossible, because Alt+Tab browse all opened windows and 
has nothing to do with what is in the task bar.

-- 
Benoît Minisini

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Problem with Gambas 3.4 and Skiptaskbar

2013-10-09 Thread herberth guzman
hello, I have a question, I have a form that does not want to display on
the taskbar panel, change the skiptaskbar property to true, but pressing
(alt + tab) still appears in the task manager of windows manager.
How do I NOT display in the taskbar and pressing Alt-Tab is
desactivate.
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with Gambas and MySql

2013-10-06 Thread Fernando Martins
On 10/06/2013 12:37 AM, Willy Raets wrote:
 But the problem is solved (see other post) using a 'SELECT  limit 1' 
I didn't know about this trick (DELETE LIMIT 1), does this work with 
other DBMS, e.g., PostgreSQL? LIMIT is not even standard.

Fernando

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread Fernando Martins
On 10/05/2013 01:25 AM, Willy Raets wrote:
 On Fri, 2013-10-04 at 22:53 +0200, Willy Raets wrote:

 Nando, Fernando and Caveat,

 Thanks for your responses.

 Content in 'ICzakgewicht' can be like this:
 | ID | Gewicht |
 345 100
 345 100
 345 50
 347 200
 347 200
 347 200
 347 200
 @ Fernando and Caveat

 Above you can see that more than one record can be exactly the same.
 At any time only one of them needs to be removed.
 With Gambas this can be done, looking for the first record meeting the
 criteria, delete it, next update and leave the table.

 With SQL DELETE all records that meet the criteria will be deleted
 instead of only one.

 That is why this is not an option.


duplicate rows are and always were a mistake in SQL, C.J.Date

http://books.google.nl/books?id=y_eVBB5qdwMCpg=PA159lpg=PA159dq=c+j+date+duplicate+recordssource=blots=DjN-LDuU2Bsig=5-vlJ8itEkC7h6aFMt2PxHkT-ughl=ensa=Xei=1cdPUtjSCcHH0QWvooGQCwredir_esc=y#v=onepageq=c%20j%20date%20duplicate%20recordsf=false

In my experience, most often there is a design problem with the database 
allowing for duplicates. With duplicates, you step out of the set theory 
behind relational dbs and enter into trouble. I admit I have done it 
myself, but best be avoided.

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread Willy Raets
On Sat, 2013-10-05 at 10:08 +0200, Fernando Martins wrote:
 On 10/05/2013 01:25 AM, Willy Raets wrote:
  On Fri, 2013-10-04 at 22:53 +0200, Willy Raets wrote:
 
  Nando, Fernando and Caveat,
 
  Thanks for your responses.
 
  Content in 'ICzakgewicht' can be like this:
  | ID | Gewicht |
  345 100
  345 100
  345 50
  347 200
  347 200
  347 200
  347 200
  @ Fernando and Caveat
 
  Above you can see that more than one record can be exactly the same.
  At any time only one of them needs to be removed.
  With Gambas this can be done, looking for the first record meeting the
  criteria, delete it, next update and leave the table.
 
  With SQL DELETE all records that meet the criteria will be deleted
  instead of only one.
 
  That is why this is not an option.
 
 
 duplicate rows are and always were a mistake in SQL, C.J.Date
 
 http://books.google.nl/books?id=y_eVBB5qdwMCpg=PA159lpg=PA159dq=c+j+date+duplicate+recordssource=blots=DjN-LDuU2Bsig=5-vlJ8itEkC7h6aFMt2PxHkT-ughl=ensa=Xei=1cdPUtjSCcHH0QWvooGQCwredir_esc=y#v=onepageq=c%20j%20date%20duplicate%20recordsf=false
 
 In my experience, most often there is a design problem with the database 
 allowing for duplicates. With duplicates, you step out of the set theory 
 behind relational dbs and enter into trouble. I admit I have done it 
 myself, but best be avoided.
 
Then adding a primary key should solve that problem.

-- 
Kind regards,

Willy (aka gbWilly)

http://gambasshowcase.org/
http://howtogambas.org
http://gambos.org





--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread nando
What is the table format?


-- Original Message ---
From: Fernando Martins ferna...@cmartins.nl
To: gambas-user@lists.sourceforge.net
Sent: Sat, 05 Oct 2013 10:08:12 +0200
Subject: Re: [Gambas-user] Problem with Gambas and MySql

 On 10/05/2013 01:25 AM, Willy Raets wrote:
  On Fri, 2013-10-04 at 22:53 +0200, Willy Raets wrote:
 
  Nando, Fernando and Caveat,
 
  Thanks for your responses.
 
  Content in 'ICzakgewicht' can be like this:
  | ID | Gewicht |
  345 100
  345 100
  345 50
  347 200
  347 200
  347 200
  347 200
  @ Fernando and Caveat
 
  Above you can see that more than one record can be exactly the same.
  At any time only one of them needs to be removed.
  With Gambas this can be done, looking for the first record meeting the
  criteria, delete it, next update and leave the table.
 
  With SQL DELETE all records that meet the criteria will be deleted
  instead of only one.
 
  That is why this is not an option.
 
 
 duplicate rows are and always were a mistake in SQL, C.J.Date
 

http://books.google.nl/books?id=y_eVBB5qdwMCpg=PA159lpg=PA159dq=c+j+date+duplicate+recordssource=blots=DjN-LDuU2Bsig=5-vlJ8itEkC7h6aFMt2PxHkT-ughl=ensa=Xei=1cdPUtjSCcHH0QWvooGQCwredir_esc=y#v=onepageq=c%20j%20date%20duplicate%20recordsf=false
 
 In my experience, most often there is a design problem with the database 
 allowing for duplicates. With duplicates, you step out of the set theory 
 behind relational dbs and enter into trouble. I admit I have done it 
 myself, but best be avoided.
 
 --
 October Webinars: Code for Performance
 Free Intel webinars can help you accelerate application performance.
 Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
 the latest Intel processors and coprocessors. See abstracts and register 
 http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user
--- End of Original Message ---


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread nando
This isn't really a Gambas issue.
The table is poorly created without a primary key with auto-increment.
If you wanted to delete one row with values 347 200, then which row would it be?
Without the primary key, you're asking MySQL to guess, and it wont.
Whatever your 'row pointer' is in Gambas, MySQL knows nothing of it.
-Nando


-- Original Message ---
From: Willy Raets wi...@earthshipbelgium.be
To: mailing list for gambas users gambas-user@lists.sourceforge.net
Sent: Sat, 05 Oct 2013 14:08:27 +0200
Subject: Re: [Gambas-user] Problem with Gambas and MySql

 On Sat, 2013-10-05 at 10:08 +0200, Fernando Martins wrote:
  On 10/05/2013 01:25 AM, Willy Raets wrote:
   On Fri, 2013-10-04 at 22:53 +0200, Willy Raets wrote:
  
   Nando, Fernando and Caveat,
  
   Thanks for your responses.
  
   Content in 'ICzakgewicht' can be like this:
   | ID | Gewicht |
   345 100
   345 100
   345 50
   347 200
   347 200
   347 200
   347 200
   @ Fernando and Caveat
  
   Above you can see that more than one record can be exactly the same.
   At any time only one of them needs to be removed.
   With Gambas this can be done, looking for the first record meeting the
   criteria, delete it, next update and leave the table.
  
   With SQL DELETE all records that meet the criteria will be deleted
   instead of only one.
  
   That is why this is not an option.
  
  
  duplicate rows are and always were a mistake in SQL, C.J.Date
  
 
http://books.google.nl/books?id=y_eVBB5qdwMCpg=PA159lpg=PA159dq=c+j+date+duplicate+recordssource=blots=DjN-LDuU2Bsig=5-vlJ8itEkC7h6aFMt2PxHkT-ughl=ensa=Xei=1cdPUtjSCcHH0QWvooGQCwredir_esc=y#v=onepageq=c%20j%20date%20duplicate%20recordsf=false
  
  In my experience, most often there is a design problem with the database 
  allowing for duplicates. With duplicates, you step out of the set theory 
  behind relational dbs and enter into trouble. I admit I have done it 
  myself, but best be avoided.
  
 Then adding a primary key should solve that problem.
 
 -- 
 Kind regards,
 
 Willy (aka gbWilly)
 
 http://gambasshowcase.org/
 http://howtogambas.org
 http://gambos.org
 
 --
 October Webinars: Code for Performance
 Free Intel webinars can help you accelerate application performance.
 Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
 the latest Intel processors and coprocessors. See abstracts and register 
 http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user
--- End of Original Message ---


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread Fernando Martins
On 10/05/2013 02:08 PM, Willy Raets wrote:

 Then adding a primary key should solve that problem.

Indeed, that is the practical solution, but it is an artificial solution 
because in _theory_ each tuple should represent a unique entity. In the 
UI, how do you distinguish one record from the other? it's like the UI 
has some information about the record which does not exist in the table.

Regards,
Fernando

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread Caveat
MySQL itself doesn't mind about having no primary key:

mysql desc test_table;
+---+-+--+-+-+---+
| Field| Type| Null  | Key | Default | Extra |
+---+-+--+-+-+---+
| Actual ID | varchar(20) | YES  | | NULL|   |
+---+-+--+-+-+---+

mysql select * from test_table where `Actual ID` = 'My actual ID';
+--+
| Actual ID|
+--+
| My actual ID |
| My actual ID |
| My actual ID |
| My actual ID |
| My actual ID |
| My actual ID |
+--+
6 rows in set (0.00 sec)

mysql delete from test_table where `Actual ID` = 'My actual ID' limit 2;
Query OK, 2 rows affected (0.13 sec)

mysql select * from test_table where `Actual ID` = 'My actual ID';
+--+
| Actual ID|
+--+
| My actual ID |
| My actual ID |
| My actual ID |
| My actual ID |
+--+
4 rows in set (0.00 sec)

If the records are *identical*, it *can't* matter which ones you 
actually delete!

Even in Gambas, I don't run into any problems specifically to do with 
having no Primary Key:

   Try myDB.Open
   If Error Then
 Message(Cannot Open database:  Error.Text)
 Return False
   End If
   myDB.Exec(delete from test_table)
   For n = 1 To 6
 myDB.Exec(insert into test_table values ('My actual ID'))
   Next
   res = myDB.Exec(select * from test_table)
   counter = 0
   res.MoveFirst
   While res.Available
 counter += 1
 Print Str(counter)  :   res[Actual ID]
 res.MoveNext
   Wend
   myDB.Exec(delete from test_table where `Actual ID` = 'My actual ID' 
limit 2)
   res = myDB.Exec(select * from test_table)
   counter = 0
   res.MoveFirst
   While res.Available
 counter += 1
 Print Str(counter)  :   res[Actual ID]
 res.MoveNext
   Wend

The above code works perfectly, giving the expected results:

1: My actual ID
2: My actual ID
3: My actual ID
4: My actual ID
5: My actual ID
6: My actual ID
1: My actual ID
2: My actual ID
3: My actual ID
4: My actual ID

Willy, can you explain again EXACTLY what your problem is?  What error 
do you get, where, and when... ?

Kind regards,
Caveat



On 05/10/13 14:08, Willy Raets wrote:
 On Sat, 2013-10-05 at 10:08 +0200, Fernando Martins wrote:
 On 10/05/2013 01:25 AM, Willy Raets wrote:
 On Fri, 2013-10-04 at 22:53 +0200, Willy Raets wrote:

 Nando, Fernando and Caveat,

 Thanks for your responses.

 Content in 'ICzakgewicht' can be like this:
 | ID | Gewicht |
 345 100
 345 100
 345 50
 347 200
 347 200
 347 200
 347 200
 @ Fernando and Caveat

 Above you can see that more than one record can be exactly the same.
 At any time only one of them needs to be removed.
 With Gambas this can be done, looking for the first record meeting the
 criteria, delete it, next update and leave the table.

 With SQL DELETE all records that meet the criteria will be deleted
 instead of only one.

 That is why this is not an option.


 duplicate rows are and always were a mistake in SQL, C.J.Date

 http://books.google.nl/books?id=y_eVBB5qdwMCpg=PA159lpg=PA159dq=c+j+date+duplicate+recordssource=blots=DjN-LDuU2Bsig=5-vlJ8itEkC7h6aFMt2PxHkT-ughl=ensa=Xei=1cdPUtjSCcHH0QWvooGQCwredir_esc=y#v=onepageq=c%20j%20date%20duplicate%20recordsf=false

 In my experience, most often there is a design problem with the database
 allowing for duplicates. With duplicates, you step out of the set theory
 behind relational dbs and enter into trouble. I admit I have done it
 myself, but best be avoided.

 Then adding a primary key should solve that problem.



--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread Willy Raets
On Sat, 2013-10-05 at 23:11 +0200, Caveat wrote:
 MySQL itself doesn't mind about having no primary key:
 
 mysql desc test_table;
 +---+-+--+-+-+---+
 | Field| Type| Null  | Key | Default | Extra |
 +---+-+--+-+-+---+
 | Actual ID | varchar(20) | YES  | | NULL|   |
 +---+-+--+-+-+---+
 
 mysql select * from test_table where `Actual ID` = 'My actual ID';
 +--+
 | Actual ID|
 +--+
 | My actual ID |
 | My actual ID |
 | My actual ID |
 | My actual ID |
 | My actual ID |
 | My actual ID |
 +--+
 6 rows in set (0.00 sec)
 
 mysql delete from test_table where `Actual ID` = 'My actual ID' limit 2;
 Query OK, 2 rows affected (0.13 sec)
 

Yes, this (the limit option) is what I was missing. All I need to be
able is delete 1 of the several identical records.
So I only need to execute a SQL SELECT and use Limit 1.

 mysql select * from test_table where `Actual ID` = 'My actual ID';
 +--+
 | Actual ID|
 +--+
 | My actual ID |
 | My actual ID |
 | My actual ID |
 | My actual ID |
 +--+
 4 rows in set (0.00 sec)
 
 If the records are *identical*, it *can't* matter which ones you 
 actually delete!
 
 Even in Gambas, I don't run into any problems specifically to do with 
 having no Primary Key:
 
Try myDB.Open
If Error Then
  Message(Cannot Open database:  Error.Text)
  Return False
End If
myDB.Exec(delete from test_table)
For n = 1 To 6
  myDB.Exec(insert into test_table values ('My actual ID'))
Next
res = myDB.Exec(select * from test_table)
counter = 0
res.MoveFirst
While res.Available
  counter += 1
  Print Str(counter)  :   res[Actual ID]
  res.MoveNext
Wend
myDB.Exec(delete from test_table where `Actual ID` = 'My actual ID' 
 limit 2)
res = myDB.Exec(select * from test_table)
counter = 0
res.MoveFirst
While res.Available
  counter += 1
  Print Str(counter)  :   res[Actual ID]
  res.MoveNext
Wend
 
 The above code works perfectly, giving the expected results:
 
 1: My actual ID
 2: My actual ID
 3: My actual ID
 4: My actual ID
 5: My actual ID
 6: My actual ID
 1: My actual ID
 2: My actual ID
 3: My actual ID
 4: My actual ID
 
 Willy, can you explain again EXACTLY what your problem is?  What error 
 do you get, where, and when... ?

With your solution, there is no more problem. This is exactly what I
needed. Didn't use the SELECT because it removed all the record that
where identical, but wasn't aware of the fact you could use limit to
limit the number of records to remove.

So I tried it with opening a SELECT for the proper records for edit in
Gambas and then using .MoveNext until first record that meets criteria
and delete it, to next update and leave.
That is where the primary key problem arose.
But the 'SELECT ... limit 1' will do the job.

Thanks,

-- 
Kind regards,

Willy (aka gbWilly)

http://gambasshowcase.org/
http://howtogambas.org
http://gambos.org





--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread Willy Raets
On Sat, 2013-10-05 at 10:33 -0400, nando wrote:
 This isn't really a Gambas issue.
 The table is poorly created without a primary key with auto-increment.
 If you wanted to delete one row with values 347 200, then which row would it 
 be?
 Without the primary key, you're asking MySQL to guess, and it wont.
 Whatever your 'row pointer' is in Gambas, MySQL knows nothing of it.


So, in other words, if in Gambas I open a table for edit, issue
a .MoveNext in a loop, until I find the needed record, next do a .Delete
and .Update, MySql has no idea what record to delete?



-- 
Kind regards,

Willy (aka gbWilly)

http://gambasshowcase.org/
http://howtogambas.org
http://gambos.org





--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread Fernando Martins
On 10/05/2013 11:44 PM, Willy Raets wrote:
 On Sat, 2013-10-05 at 10:33 -0400, nando wrote:
 This isn't really a Gambas issue.
 The table is poorly created without a primary key with auto-increment.
 If you wanted to delete one row with values 347 200, then which row would it 
 be?
 Without the primary key, you're asking MySQL to guess, and it wont.
 Whatever your 'row pointer' is in Gambas, MySQL knows nothing of it.

 So, in other words, if in Gambas I open a table for edit, issue
 a .MoveNext in a loop, until I find the needed record, next do a .Delete
 and .Update, MySql has no idea what record to delete?



IIRC, ms access had the concept of a record number (for JET dbs) which 
it would/could use independently of a pkey. Maybe your application was 
relying on it. MySQL does not have this concept, therefore it needs a 
criteria that uniquely identifies a record if you want to delete a 
single record.

Fernando

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with Gambas and MySql

2013-10-05 Thread Willy Raets
On Sat, 2013-10-05 at 17:23 +0200, Fernando Martins wrote:
 On 10/05/2013 02:08 PM, Willy Raets wrote:
 
  Then adding a primary key should solve that problem.
 
 Indeed, that is the practical solution, but it is an artificial solution 
 because in _theory_ each tuple should represent a unique entity. In the 
 UI, how do you distinguish one record from the other? it's like the UI 
 has some information about the record which does not exist in the table.

There is no need to distinguish on record from another. Only thing that
is important is that the number of records with the same ID are the same
as the number mentioned in the main table with this ID.

But the problem is solved (see other post) using a 'SELECT  limit 1'

-- 
Kind regards,

Willy (aka gbWilly)

http://gambasshowcase.org/
http://howtogambas.org
http://gambos.org





--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Problem with Gambas and MySql

2013-10-04 Thread Willy Raets
Hi All,

In a bigger project where creating, editing and deleting records works
as a charm, only one table is giving me trouble and just won't delete a
record with reason 'No primary key'.

Now the table in question 'ICzakgewichten' was migrated from an Access
database to MySql and in Access it was no problem to delete a record
from a Windows VB client.

I'm in the process, next to the existing Windows VB-clients, writing
Linux Gambas-clients. Hence the move of data from Access to MySql. The
VB-clients get connected to the tables in MySql and will co-exist with
the Gambas written clients for a while, until migration complete on all
client PCs. 

The table has a one to many releation (being at the many side) with a
'mother' table 'IC' that holds (amongst others) following relevant
fields:
| ID |  | NumItems | 
ID is a primary key

The table ICzakgewichten looks like this:
| ID | Gewicht |

Note: gewicht (Dutch) means weight.

Content in 'ICzakgewicht' can be like this:
| ID | Gewicht |
345 100
345 100
345 50
347 200
347 200
347 200
347 200

In IC the records would look like:
| ID |  | NumItems | 
345 . 3
347 . 4
NumItems holds the number of corresponding records in ICzakgewicht.

Now along the road the NumItems decrements until it reaches 0.
Corresponding records in ICzakgewicht need to be deleted as well.

And this is where stuff won't work, as I am not allowed to delete the
records because of no primary key in tabe 'ICzakgewicht'.

I could add a primary key, but that would mean adapting the VB-clients
to the new table format and I don't really want to go there as they are
on their way out.

I have created a small example project and exported 'ICzakgewichten'
from MySql.

To make example work you need:
1. A working MySql server
2. A empty database named 'test'
3. A user account and password to the database

In database test import the added 'ICzakgewichten.sql'
It was exported from MySql Server version: 5.5.31

In the Gambas added example, change user and password (and all else that
might be needed) to meet your needs.

You will find the code in following procedure:

Public Procedure Connect()
   
   MyConn.Close()
   MyConn.Type = MySQL
   MyConn.Host = 127.0.0.1
   MyConn.Login = willy'- change to your situation
   MyConn.Port = 3306
   MyConn.Name = test
   MyConn.Password = 9876  '- change to your situation
   MyConn.Open()
   If Error Then
  Message(Can't open database:   Error.Text)
  Return
   Endif
   
End

Next run the application, select an ID in the combobox and add a
corresponding weight (in example no check if weight exist in table, in
real project there is, so pick one that exists!).
Next click button 'Delete' to get the error.

My question, how to prevent this error from happening, preferably
without having to add a primary key to the table?


-- 
Kind regards,

Willy (aka gbWilly)

http://gambasshowcase.org/
http://howtogambas.org
http://gambos.org



-- phpMyAdmin SQL Dump
-- version 3.4.11.1deb2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Oct 02, 2013 at 07:28 PM
-- Server version: 5.5.31
-- PHP Version: 5.4.4-14+deb7u4

SET SQL_MODE=NO_AUTO_VALUE_ON_ZERO;
SET time_zone = +00:00;


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `test`
--

-- 

--
-- Table structure for table `ICzakgewichten`
--

CREATE TABLE IF NOT EXISTS `ICzakgewichten` (
  `ID` int(11) DEFAULT NULL,
  `Gewicht` decimal(18,2) DEFAULT NULL,
  KEY `ID` (`ID`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dumping data for table `ICzakgewichten`
--

INSERT INTO `ICzakgewichten` (`ID`, `Gewicht`) VALUES
(662, 100.00),
(662, 100.00),
(662, 100.00),
(645, 500.00),
(645, 500.00),
(645, 500.00),
(645, 500.00),
(645, 500.00),
(645, 322.00),
(645, 300.00),
(647, 250.00),
(647, 254.00),
(648, 100.00),
(648, 100.00),
(648, 100.00),
(648, 100.00),
(648, 100.00),
(648, 100.00),
(648, 100.00),
(648, 100.00),
(648, 100.00),
(648, 100.00),
(648, 100.00),
(649, 100.00),
(649, 100.00),
(649, 100.00),
(649, 100.00),
(649, 100.00),
(649, 100.00),
(649, 100.00),
(649, 100.00),
(649, 100.00),
(649, 100.00),
(650, 500.00),
(650, 500.00),
(650, 500.00),
(650, 500.00),
(650, 500.00),
(651, 500.00),
(651, 250.00),
(651, 233.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(652, 100.00),
(653, 100.00),
(653, 100.00),
(653, 100.00),
(653, 100.00),
(653, 100.00),
(653, 100.00),
(653, 100.00),
(653, 100.00),
(653, 100.00),
(653, 

Re: [Gambas-user] Problem with Gambas and MySql

2013-10-04 Thread Fernando Martins
Hello Willy

forgive me, I haven't really tried your application, but why can't you 
send a SQL DELETE statement?

Fernando

On 10/04/2013 10:53 PM, Willy Raets wrote:
 Hi All,

 In a bigger project where creating, editing and deleting records works
 as a charm, only one table is giving me trouble and just won't delete a
 record with reason 'No primary key'.

 Now the table in question 'ICzakgewichten' was migrated from an Access
 database to MySql and in Access it was no problem to delete a record
 from a Windows VB client.

 I'm in the process, next to the existing Windows VB-clients, writing
 Linux Gambas-clients. Hence the move of data from Access to MySql. The
 VB-clients get connected to the tables in MySql and will co-exist with
 the Gambas written clients for a while, until migration complete on all
 client PCs.

 The table has a one to many releation (being at the many side) with a
 'mother' table 'IC' that holds (amongst others) following relevant
 fields:
 | ID |  | NumItems | 
 ID is a primary key

 The table ICzakgewichten looks like this:
 | ID | Gewicht |

 Note: gewicht (Dutch) means weight.

 Content in 'ICzakgewicht' can be like this:
 | ID | Gewicht |
 345 100
 345 100
 345 50
 347 200
 347 200
 347 200
 347 200

 In IC the records would look like:
 | ID |  | NumItems | 
 345 . 3
 347 . 4
 NumItems holds the number of corresponding records in ICzakgewicht.

 Now along the road the NumItems decrements until it reaches 0.
 Corresponding records in ICzakgewicht need to be deleted as well.

 And this is where stuff won't work, as I am not allowed to delete the
 records because of no primary key in tabe 'ICzakgewicht'.

 I could add a primary key, but that would mean adapting the VB-clients
 to the new table format and I don't really want to go there as they are
 on their way out.

 I have created a small example project and exported 'ICzakgewichten'
 from MySql.

 To make example work you need:
 1. A working MySql server
 2. A empty database named 'test'
 3. A user account and password to the database

 In database test import the added 'ICzakgewichten.sql'
 It was exported from MySql Server version: 5.5.31

 In the Gambas added example, change user and password (and all else that
 might be needed) to meet your needs.

 You will find the code in following procedure:

 Public Procedure Connect()
 
 MyConn.Close()
 MyConn.Type = MySQL
 MyConn.Host = 127.0.0.1
 MyConn.Login = willy'- change to your situation
 MyConn.Port = 3306
 MyConn.Name = test
 MyConn.Password = 9876  '- change to your situation
 MyConn.Open()
 If Error Then
Message(Can't open database:   Error.Text)
Return
 Endif
 
 End

 Next run the application, select an ID in the combobox and add a
 corresponding weight (in example no check if weight exist in table, in
 real project there is, so pick one that exists!).
 Next click button 'Delete' to get the error.

 My question, how to prevent this error from happening, preferably
 without having to add a primary key to the table?




 --
 October Webinars: Code for Performance
 Free Intel webinars can help you accelerate application performance.
 Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
 the latest Intel processors and coprocessors. See abstracts and register 
 http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk


 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with Gambas and MySql

2013-10-04 Thread nando
For MySQL to operate properly, you MUST have a column which is a primary key.
A good table will always have one column set as Primary Key.
If you don't have one, make one as INT(9) AutoIncrement, Not NULL
Name the column 'recid' and use 'recid' to delete a particular row


-- Original Message ---
From: Willy Raets wi...@earthshipbelgium.be
To: gambas-user@lists.sourceforge.net
Sent: Fri, 04 Oct 2013 22:53:41 +0200
Subject: [Gambas-user] Problem with Gambas and MySql

 Hi All,
 
 In a bigger project where creating, editing and deleting records works
 as a charm, only one table is giving me trouble and just won't delete a
 record with reason 'No primary key'.
 
 Now the table in question 'ICzakgewichten' was migrated from an Access
 database to MySql and in Access it was no problem to delete a record
 from a Windows VB client.
 
 I'm in the process, next to the existing Windows VB-clients, writing
 Linux Gambas-clients. Hence the move of data from Access to MySql. The
 VB-clients get connected to the tables in MySql and will co-exist with
 the Gambas written clients for a while, until migration complete on all
 client PCs.
 
 The table has a one to many releation (being at the many side) with a
 'mother' table 'IC' that holds (amongst others) following relevant
 fields:
 | ID |  | NumItems | 
 ID is a primary key
 
 The table ICzakgewichten looks like this:
 | ID | Gewicht |
 
 Note: gewicht (Dutch) means weight.
 
 Content in 'ICzakgewicht' can be like this:
 | ID | Gewicht |
 345 100
 345 100
 345 50
 347 200
 347 200
 347 200
 347 200
 
 In IC the records would look like:
 | ID |  | NumItems | 
 345 . 3
 347 . 4
 NumItems holds the number of corresponding records in ICzakgewicht.
 
 Now along the road the NumItems decrements until it reaches 0.
 Corresponding records in ICzakgewicht need to be deleted as well.
 
 And this is where stuff won't work, as I am not allowed to delete the
 records because of no primary key in tabe 'ICzakgewicht'.
 
 I could add a primary key, but that would mean adapting the VB-clients
 to the new table format and I don't really want to go there as they are
 on their way out.
 
 I have created a small example project and exported 'ICzakgewichten'
 from MySql.
 
 To make example work you need:
 1. A working MySql server
 2. A empty database named 'test'
 3. A user account and password to the database
 
 In database test import the added 'ICzakgewichten.sql'
 It was exported from MySql Server version: 5.5.31
 
 In the Gambas added example, change user and password (and all else that
 might be needed) to meet your needs.
 
 You will find the code in following procedure:
 
 Public Procedure Connect()
 
MyConn.Close()
MyConn.Type = MySQL
MyConn.Host = 127.0.0.1
MyConn.Login = willy'- change to your situation
MyConn.Port = 3306
MyConn.Name = test
MyConn.Password = 9876  '- change to your situation
MyConn.Open()
If Error Then
   Message(Can't open database:   Error.Text)
   Return
Endif
 
 End
 
 Next run the application, select an ID in the combobox and add a
 corresponding weight (in example no check if weight exist in table, in
 real project there is, so pick one that exists!).
 Next click button 'Delete' to get the error.
 
 My question, how to prevent this error from happening, preferably
 without having to add a primary key to the table?
 
 -- 
 Kind regards,
 
 Willy (aka gbWilly)
 
 http://gambasshowcase.org/
 http://howtogambas.org
 http://gambos.org
--- End of Original Message ---


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with Gambas and MySql

2013-10-04 Thread Caveat
Hi Willy

Me again!

Either use LIMIT row_count on your delete statement as per 
http://dev.mysql.com/doc/refman/5.0/en/delete.html

Or use an auto-incrementing primary key that your VB clients don't need 
to worry about as per 
http://dev.mysql.com/doc/refman/5.0/en/example-auto-increment.html

Kind regards,
Caveat

On 04/10/13 22:53, Willy Raets wrote:
 Hi All,

 In a bigger project where creating, editing and deleting records works
 as a charm, only one table is giving me trouble and just won't delete a
 record with reason 'No primary key'.

 Now the table in question 'ICzakgewichten' was migrated from an Access
 database to MySql and in Access it was no problem to delete a record
 from a Windows VB client.

 I'm in the process, next to the existing Windows VB-clients, writing
 Linux Gambas-clients. Hence the move of data from Access to MySql. The
 VB-clients get connected to the tables in MySql and will co-exist with
 the Gambas written clients for a while, until migration complete on all
 client PCs.

 The table has a one to many releation (being at the many side) with a
 'mother' table 'IC' that holds (amongst others) following relevant
 fields:
 | ID |  | NumItems | 
 ID is a primary key

 The table ICzakgewichten looks like this:
 | ID | Gewicht |

 Note: gewicht (Dutch) means weight.

 Content in 'ICzakgewicht' can be like this:
 | ID | Gewicht |
 345 100
 345 100
 345 50
 347 200
 347 200
 347 200
 347 200

 In IC the records would look like:
 | ID |  | NumItems | 
 345 . 3
 347 . 4
 NumItems holds the number of corresponding records in ICzakgewicht.

 Now along the road the NumItems decrements until it reaches 0.
 Corresponding records in ICzakgewicht need to be deleted as well.

 And this is where stuff won't work, as I am not allowed to delete the
 records because of no primary key in tabe 'ICzakgewicht'.

 I could add a primary key, but that would mean adapting the VB-clients
 to the new table format and I don't really want to go there as they are
 on their way out.

 I have created a small example project and exported 'ICzakgewichten'
 from MySql.

 To make example work you need:
 1. A working MySql server
 2. A empty database named 'test'
 3. A user account and password to the database

 In database test import the added 'ICzakgewichten.sql'
 It was exported from MySql Server version: 5.5.31

 In the Gambas added example, change user and password (and all else that
 might be needed) to meet your needs.

 You will find the code in following procedure:

 Public Procedure Connect()
 
 MyConn.Close()
 MyConn.Type = MySQL
 MyConn.Host = 127.0.0.1
 MyConn.Login = willy'- change to your situation
 MyConn.Port = 3306
 MyConn.Name = test
 MyConn.Password = 9876  '- change to your situation
 MyConn.Open()
 If Error Then
Message(Can't open database:   Error.Text)
Return
 Endif
 
 End

 Next run the application, select an ID in the combobox and add a
 corresponding weight (in example no check if weight exist in table, in
 real project there is, so pick one that exists!).
 Next click button 'Delete' to get the error.

 My question, how to prevent this error from happening, preferably
 without having to add a primary key to the table?




 --
 October Webinars: Code for Performance
 Free Intel webinars can help you accelerate application performance.
 Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
 the latest Intel processors and coprocessors. See abstracts and register 
 http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk


 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with Gambas and MySql

2013-10-04 Thread Willy Raets
On Fri, 2013-10-04 at 22:53 +0200, Willy Raets wrote:

Nando, Fernando and Caveat,

Thanks for your responses.

 
 Content in 'ICzakgewicht' can be like this:
 | ID | Gewicht |
 345 100
 345 100
 345 50
 347 200
 347 200
 347 200
 347 200

@ Fernando and Caveat

Above you can see that more than one record can be exactly the same.
At any time only one of them needs to be removed.
With Gambas this can be done, looking for the first record meeting the
criteria, delete it, next update and leave the table.

With SQL DELETE all records that meet the criteria will be deleted
instead of only one.

That is why this is not an option.

 
 My question, how to prevent this error from happening, preferably
 without having to add a primary key to the table?
 
@ Nando and Caveat

Seems adding a primary key can't be circumvented, so a primary key will
be the solution.
I'll see what that will do on the VB-client side, but according to
Caveat, that might be not such a problem :)

Thanks guys,

-- 
Kind regards,

Willy (aka gbWilly)

http://gambasshowcase.org/
http://howtogambas.org
http://gambos.org





--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem during Gambas 2.19 installation on Ubuntu 9.10

2010-01-12 Thread matteo.l...@engicam.com
Hi !

Not work yet !

I redid an installation and I saw that the the ./configure
output show

gb.qte disabled

why ?

After the installation I did:

 cd /usr/src/gambas2-2.19.0/main
 sudo make uninstall
 make clean
 /reconf
 /configure -C
 make
 sudo make install
 gbi3

(gbi2 instead of gbi3) and the gambas2 output remain the
same:
ERROR: #27: Cannot load component 'gb.qt': cannot find
library file

P.S.
I update my system and the libtool library at the last
version.
Is it possible to have a problem here ?



- Original Message -
Da : Fabien Bodard gambas...@gmail.com
A : mailing list for gambas users
gambas-user@lists.sourceforge.net
Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
installation on Ubuntu 9.10
Data : Mon, 11 Jan 2010 21:10:25 +0100

 ok
 
 you try that :
 
 cd /usr/src/gambas2-2.19.0/main
 sudo make uninstall
 make clean
 /reconf
 /configure -C
 make
 sudo make install
 gbi3
 
 2010/1/11 matteo.l...@engicam.com
  matteo.l...@engicam.com: this is my gbi2 output:
 
  mat...@matteo-laptop:/usr/src/gambas2-2.19.0$ sudo gbi2
  gb.qt.ext
  gb.db.form
  gb.gtk
  gbi2: warning: component gb.draw not found
  gb.qt
  gbi2: warning: component gb.draw not found
  gb.xml.xslt
  gb.xml
  gb.opengl
  gb.desktop
  gb.qt.kde
  gb.xml.rpc
  gb.compress
  gb.pdf
  gb.report
  gb.gui
  gbi2: warning: component gb.draw not found
  gb.sdl
  gb.pcre
  gb.gtk.ext
  gb.vb
  gb.net.curl
  gb.form.mdi
  gb.form.dialog
  gb.chart
  gb.form
  gb.v4l
  gb.info
  gb.qt.kde.html
  gb.settings
  gb.sdl.sound
  gb.image
  gb.qt.opengl
  gb.web
  gb.db
  gb.crypt
 
  thanks
 
 
 
 
  - Original Message -
  Da : Fabien Bodard gambas...@gmail.com
  A : mailing list for gambas users
  gambas-user@lists.sourceforge.net
  Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
  installation on Ubuntu 9.10
  Data : Mon, 11 Jan 2010 13:54:32 +0100
 
  give me the output of gbi2
 
 
 
 
 
  2010/1/11 matteo.l...@engicam.com
   matteo.l...@engicam.com: Hi Fabien..
  
   nothing is changed:
  
   ERROR: #27: Cannot load component 'gb.debug': cannot
   find library file
  
   Have you any tips ?
  
  
   - Original Message -
   Da : Fabien Bodard gambas...@gmail.com
   A : mailing list for gambas users
   gambas-user@lists.sourceforge.net
   Oggetto : Re: [Gambas-user] Problem during Gambas
 2.19   installation on Ubuntu 9.10
   Data : Mon, 11 Jan 2010 12:06:42 +0100
  
   2010/1/11 matteo.l...@engicam.com
   matteo.l...@engicam.com: 
Hi Fabien and thanks for your reply
   
I update my Ubuntu (Before my last reply I used
 theapt-get string on the installation page) with
 your  last   apt-get string and something is changed:
   
now when I launch gambas2 I obtain:
   
mat...@matteo-laptop:/usr/src/gambas2-2.19.0$
 gambas2ERROR: #27: Cannot load component
 'gb.debug': cannotfind library file
  
   Try a
   make uninstall
   make clean
   make -j4
   make install
  
  
  
   make -j4 allow to accellerate de compilation time by
   create multiple instance of the process (a so can
 use   multiple processor capabilities)
  
  
   
any tips ?
   
   
Thanks in advice
   
   
mat...@matteo-laptop:/usr/src/gambas2-2.19.0$ sudo
gambas2 ERROR: #27: Cannot load component
 'gb.debug':cannot find library file
   
   
- Original Message -
Da : Fabien Bodard gambas...@gmail.com
A : mailing list for gambas users
gambas-user@lists.sourceforge.net
Oggetto : Re: [Gambas-user] Problem during Gambas
  2.19   installation on Ubuntu 9.10
Data : Mon, 11 Jan 2010 09:51:11 +0100
   
More upto date ... and i've updated on the wiki
 too  ..  so  gb3 can compile Too with all
 components.   
   
sudo apt-get install build-essential autoconf
   libbz2-dev  libfbclient2 libmysqlclient15-dev
   unixodbc-dev libpq-dev  libsqlite0-dev
 libsqlite3-dev   libgtk2.0-dev libldap2-dev 
 libcurl4-gnutls-dev   libgtkglext1-dev libpcre3-dev 
 libsdl-sound1.2-dev   libsdl-mixer1.2-dev 
 libsdl-image1.2-dev libsage-dev   libxml2-dev
 libxslt1-dev  libbonobo2-dev libcos4-dev  
 libomniorb4-dev librsvg2-dev  libpoppler-dev  
 libpoppler-glib-dev libasound2-dev  libesd0-dev  
 libesd-alsa0 libdirectfb-dev libaa1-dev  libxtst-dev 
  libffi-dev kdelibs4-dev firebird2.1-dev  libqt4-dev
   libglew1.5-dev libimlib2-dev libv4l-dev   
 libsdl-ttf2.0-dev 2010/1/11 Ricardo Díaz
 Martín oceanosoftlapa...@gmail.com: On
before
 gambasinstallation on ubuntu 9.10 you must to do
 this:  sudo apt-get install build-essential
 autoconf   libbz2-dev   libfbclient2
 libmysqlclient15-dev   unixodbc-dev libpq-dev  
 libsqlite0-dev  libsqlite3-dev  libgtk2.0-dev
 libldap2-devlibcurl4-gnutls-dev 
 libgtkglext1-dev libpcre3-devlibsdl-sound1.2-dev
  libsdl-mixer1.2-devlibsdl-image1.2-dev
 libsage-dev  libxml2-dev  libxslt1-dev 
 libbonobo2-dev libcos4-dev   libomniorb4-dev
 librsvg2-dev   libpoppler-dev   libpoppler-glib-dev
 libasound2-dev   libesd0-dev   libesd

Re: [Gambas-user] Problem during Gambas 2.19 installation on Ubuntu 9.10

2010-01-11 Thread Ricardo Díaz Martín
On before gambas installation on ubuntu 9.10 you must to do this:

sudo apt-get install build-essential autoconf libbz2-dev libfbclient2
libmysqlclient15-dev unixodbc-dev libpq-dev libsqlite0-dev
libsqlite3-dev libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev
libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev
libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev
libbonobo2-dev libcos4-dev libomniorb4-dev librsvg2-dev libpoppler-dev
libpoppler-glib-dev libasound2-dev libesd0-dev libesd-alsa0
libdirectfb-dev libaa1-dev libxtst-dev libffi-dev kdelibs4-dev
firebird2.1-dev libqt4-dev libglew1.5-dev


Please, visit http://gambasdoc.org/help/install/ubuntu?view

I hope this works for you.

Regards,

2010/1/10 matteo.l...@engicam.com matteo.l...@engicam.com

 Yes libqt3-mt-dev is installed

 thanks for your reply !


 - Original Message -
 Da : Fabien Bodard gambas...@gmail.com
 A : mailing list for gambas users
 gambas-user@lists.sourceforge.net
 Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
 installation on Ubuntu 9.10
 Data : Sun, 10 Jan 2010 19:51:21 +0100

  IS libqt3-mt-dev installed ?
 
 
  if not install it and do a reconf-all
 
  2010/1/10 matteo.l...@engicam.com
   matteo.l...@engicam.com: Ok
  
   I checked all library installed on my ubuntu and redid
   the installation from the beginning.
  
   Somethings is changed:
  
   When I launch gambas2 I have:
  
   ERROR: #27: Cannot load component 'gb.qt': cannot find
   library file
  
   The ./configure disable the gb.qte packet and the make /
   make install seems to return without error...
  
   Do you need some output to understand what I wrong ?
  
   Tnx a lot!
  
   - Original Message -
   Da : Benoît Minisini gam...@users.sourceforge.net
   A : mailing list for gambas users
   gambas-user@lists.sourceforge.net
   Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
   installation on Ubuntu 9.10
   Data : Sun, 10 Jan 2010 14:59:51 +0100
  
Hi to All !  I'm trying to install last gambas2
   version on my ubuntu 9.10 but I had some error:  1)
  I  launch the configuration script with:  sudo
  /configure  --enable-net=yes --enable-curl=yes
   --enable-smtp=yes 
   but at the end I receive the following report:  THESE
   COMPONENTS ARE DISABLED: [..] - gb.net.curl -
   gb.net.smtp [..]  Why this components are disabled
  ?  Because some libraries or development packages are
  not  installed. You see it by reading the ./configure
  output.  2) I launched the: sudo make sudo make
  install  All  the make is done without errors but when
  I execute the:   gambas2  I receive this error:
  ERROR: #27: Cannot load  component 'gb.qt': cannot find
  library file Are you sure  that you didn't get error
  messages during make  install?Anyway, you need to
  provide the full output of  the entire configuration,
  compilation and installation  process, otherwise nobody
  will be able to help you.Regards  ,-- Benoît
  
  Minisini--
   --- -This SF.Net email is 
  sponsored by the Verizon Developer CommunityTake advantage
   of Verizon's best-in-class app development supportA 
  streamlined, 14 day to market process makes app 
  distribution fast and easyJoin now and get one step closer
   to millions of Verizon 
  customershttp://p.sf.net/sfu/verizon-dev2dev 
  ___Gambas-user
   mailing 
  listgambas-u...@lists.sourceforge.nethttps://lists.sourcef
   orge.net/lists/listinfo/gambas-user 
  
  --
    This SF.Net email is sponsored by
   the Verizon Developer Community Take advantage of
   Verizon's best-in-class app development support A
  streamlined, 14 day to market process makes app
   distribution fast and easy Join now and get one step
   closer to millions of Verizon customers
   http://p.sf.net/sfu/verizon-dev2dev
   ___
   Gambas-user mailing list
   Gambas-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/gambas-user 
 
  --
   This SF.Net email is sponsored by the
  Verizon Developer Community Take advantage of Verizon's
  best-in-class app development support A streamlined, 14
  day to market process makes app distribution fast and easy
  Join now and get one step closer to millions of Verizon
  customers http://p.sf.net/sfu/verizon-dev2dev
  ___
  Gambas-user mailing list
  Gambas-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/gambas-user


 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes

Re: [Gambas-user] Problem during Gambas 2.19 installation on Ubuntu 9.10

2010-01-11 Thread Fabien Bodard
More upto date ... and i've updated on the wiki too ... so gb3 can
compile Too with all components.


sudo apt-get install build-essential autoconf libbz2-dev libfbclient2
libmysqlclient15-dev unixodbc-dev libpq-dev libsqlite0-dev
libsqlite3-dev libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev
libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev
libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev
libbonobo2-dev libcos4-dev libomniorb4-dev librsvg2-dev libpoppler-dev
libpoppler-glib-dev libasound2-dev libesd0-dev libesd-alsa0
libdirectfb-dev libaa1-dev libxtst-dev libffi-dev kdelibs4-dev
firebird2.1-dev libqt4-dev libglew1.5-dev libimlib2-dev libv4l-dev
libsdl-ttf2.0-dev

2010/1/11 Ricardo Díaz Martín oceanosoftlapa...@gmail.com:
 On before gambas installation on ubuntu 9.10 you must to do this:

 sudo apt-get install build-essential autoconf libbz2-dev libfbclient2
 libmysqlclient15-dev unixodbc-dev libpq-dev libsqlite0-dev
 libsqlite3-dev libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev
 libgtkglext1-dev libpcre3-dev libsdl-sound1.2-dev libsdl-mixer1.2-dev
 libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev
 libbonobo2-dev libcos4-dev libomniorb4-dev librsvg2-dev libpoppler-dev
 libpoppler-glib-dev libasound2-dev libesd0-dev libesd-alsa0
 libdirectfb-dev libaa1-dev libxtst-dev libffi-dev kdelibs4-dev
 firebird2.1-dev libqt4-dev libglew1.5-dev


 Please, visit http://gambasdoc.org/help/install/ubuntu?view

 I hope this works for you.

 Regards,

 2010/1/10 matteo.l...@engicam.com matteo.l...@engicam.com

 Yes libqt3-mt-dev is installed

 thanks for your reply !


 - Original Message -
 Da : Fabien Bodard gambas...@gmail.com
 A : mailing list for gambas users
 gambas-user@lists.sourceforge.net
 Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
 installation on Ubuntu 9.10
 Data : Sun, 10 Jan 2010 19:51:21 +0100

  IS libqt3-mt-dev installed ?
 
 
  if not install it and do a reconf-all
 
  2010/1/10 matteo.l...@engicam.com
   matteo.l...@engicam.com: Ok
  
   I checked all library installed on my ubuntu and redid
   the installation from the beginning.
  
   Somethings is changed:
  
   When I launch gambas2 I have:
  
   ERROR: #27: Cannot load component 'gb.qt': cannot find
   library file
  
   The ./configure disable the gb.qte packet and the make /
   make install seems to return without error...
  
   Do you need some output to understand what I wrong ?
  
   Tnx a lot!
  
   - Original Message -
   Da : Benoît Minisini gam...@users.sourceforge.net
   A : mailing list for gambas users
   gambas-user@lists.sourceforge.net
   Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
   installation on Ubuntu 9.10
   Data : Sun, 10 Jan 2010 14:59:51 +0100
  
Hi to All !  I'm trying to install last gambas2
   version on my ubuntu 9.10 but I had some error:  1)
  I  launch the configuration script with:  sudo
  /configure  --enable-net=yes --enable-curl=yes
   --enable-smtp=yes 
   but at the end I receive the following report:  THESE
   COMPONENTS ARE DISABLED: [..] - gb.net.curl -
   gb.net.smtp [..]  Why this components are disabled
  ?  Because some libraries or development packages are
  not  installed. You see it by reading the ./configure
  output.  2) I launched the: sudo make sudo make
  install  All  the make is done without errors but when
  I execute the:   gambas2  I receive this error:
  ERROR: #27: Cannot load  component 'gb.qt': cannot find
  library file Are you sure  that you didn't get error
  messages during make  install?Anyway, you need to
  provide the full output of  the entire configuration,
  compilation and installation  process, otherwise nobody
  will be able to help you.Regards  ,-- Benoît
  
  Minisini--
   --- -This SF.Net email is 
  sponsored by the Verizon Developer CommunityTake advantage
   of Verizon's best-in-class app development supportA 
  streamlined, 14 day to market process makes app 
  distribution fast and easyJoin now and get one step closer
   to millions of Verizon 
  customershttp://p.sf.net/sfu/verizon-dev2dev 
  ___Gambas-user
   mailing 
  listgambas-u...@lists.sourceforge.nethttps://lists.sourcef
   orge.net/lists/listinfo/gambas-user 
  
  --
    This SF.Net email is sponsored by
   the Verizon Developer Community Take advantage of
   Verizon's best-in-class app development support A
  streamlined, 14 day to market process makes app
   distribution fast and easy Join now and get one step
   closer to millions of Verizon customers
   http://p.sf.net/sfu/verizon-dev2dev
   ___
   Gambas-user mailing list
   Gambas-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/gambas-user

Re: [Gambas-user] Problem during Gambas 2.19 installation on Ubuntu 9.10

2010-01-11 Thread matteo.l...@engicam.com

Hi Fabien and thanks for your reply

I update my Ubuntu (Before my last reply I used the apt-get
string on the installation page) with your last apt-get
string and something is changed:

now when I launch gambas2 I obtain:

mat...@matteo-laptop:/usr/src/gambas2-2.19.0$ gambas2
ERROR: #27: Cannot load component 'gb.debug': cannot find
library file

any tips ?


Thanks in advice


mat...@matteo-laptop:/usr/src/gambas2-2.19.0$ sudo gambas2
ERROR: #27: Cannot load component 'gb.debug': cannot find
library file


- Original Message -
Da : Fabien Bodard gambas...@gmail.com
A : mailing list for gambas users
gambas-user@lists.sourceforge.net
Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
installation on Ubuntu 9.10
Data : Mon, 11 Jan 2010 09:51:11 +0100

 More upto date ... and i've updated on the wiki too ... so
 gb3 can compile Too with all components.
 
 
 sudo apt-get install build-essential autoconf libbz2-dev
 libfbclient2 libmysqlclient15-dev unixodbc-dev libpq-dev
 libsqlite0-dev libsqlite3-dev libgtk2.0-dev libldap2-dev
 libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev
 libsdl-sound1.2-dev libsdl-mixer1.2-dev
 libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev
 libbonobo2-dev libcos4-dev libomniorb4-dev librsvg2-dev
 libpoppler-dev libpoppler-glib-dev libasound2-dev
 libesd0-dev libesd-alsa0 libdirectfb-dev libaa1-dev
 libxtst-dev libffi-dev kdelibs4-dev firebird2.1-dev
 libqt4-dev libglew1.5-dev libimlib2-dev libv4l-dev
 libsdl-ttf2.0-dev
 
 2010/1/11 Ricardo Díaz Martín
  oceanosoftlapa...@gmail.com: On before gambas
 installation on ubuntu 9.10 you must to do this: 
  sudo apt-get install build-essential autoconf libbz2-dev
  libfbclient2 libmysqlclient15-dev unixodbc-dev libpq-dev
  libsqlite0-dev libsqlite3-dev libgtk2.0-dev libldap2-dev
  libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev
  libsdl-sound1.2-dev libsdl-mixer1.2-dev
  libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev
 libbonobo2-dev libcos4-dev libomniorb4-dev librsvg2-dev
  libpoppler-dev libpoppler-glib-dev libasound2-dev
  libesd0-dev libesd-alsa0 libdirectfb-dev libaa1-dev
  libxtst-dev libffi-dev kdelibs4-dev firebird2.1-dev
 libqt4-dev libglew1.5-dev 
 
  Please, visit
 http://gambasdoc.org/help/install/ubuntu?view 
  I hope this works for you.
 
  Regards,
 
  2010/1/10 matteo.l...@engicam.com
 matteo.l...@engicam.com 
  Yes libqt3-mt-dev is installed
 
  thanks for your reply !
 
 
  - Original Message -
  Da : Fabien Bodard gambas...@gmail.com
  A : mailing list for gambas users
  gambas-user@lists.sourceforge.net
  Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
  installation on Ubuntu 9.10
  Data : Sun, 10 Jan 2010 19:51:21 +0100
 
   IS libqt3-mt-dev installed ?
  
  
   if not install it and do a reconf-all
  
   2010/1/10 matteo.l...@engicam.com
matteo.l...@engicam.com: Ok
   
I checked all library installed on my ubuntu and
 redidthe installation from the beginning.
   
Somethings is changed:
   
When I launch gambas2 I have:
   
ERROR: #27: Cannot load component 'gb.qt': cannot
 findlibrary file
   
The ./configure disable the gb.qte packet and the
 make /make install seems to return without
 error...   
Do you need some output to understand what I wrong
 ?   
Tnx a lot!
   
- Original Message -
Da : Benoît Minisini
 gam...@users.sourceforge.netA : mailing list for
 gambas usersgambas-user@lists.sourceforge.net
Oggetto : Re: [Gambas-user] Problem during Gambas
 2.19installation on Ubuntu 9.10
Data : Sun, 10 Jan 2010 14:59:51 +0100
   
 Hi to All !  I'm trying to install last
 gambas2version on my ubuntu 9.10 but I had some
 error:  1)   I  launch the configuration script
 with:  sudo   /configure  --enable-net=yes
 --enable-curl=yes--enable-smtp=yes 
but at the end I receive the following report: 
 THESECOMPONENTS ARE DISABLED: [..] -
 gb.net.curl -gb.net.smtp [..]  Why this
 components are disabled   ?  Because some libraries
 or development packages are   not  installed. You see
 it by reading the ./configure   output.  2) I
 launched the: sudo make sudo make   install  All 
 the make is done without errors but when   I execute
 the:   gambas2  I receive this error:   ERROR:
 #27: Cannot load  component 'gb.qt': cannot find  
 library file Are you sure  that you didn't get error 
  messages during make  install?Anyway, you need to 
  provide the full output of  the entire configuration,
   compilation and installation  process, otherwise
 nobody   will be able to help you.Regards  ,--
 Benoît   
  
 Minisini--
--- -This SF.Net email is
sponsored by the Verizon Developer CommunityTake
 advantageof Verizon's best-in-class app
 development supportAstreamlined, 14 day to market
 process makes appdistribution fast and easyJoin
 now and get one step closerto millions

Re: [Gambas-user] Problem during Gambas 2.19 installation on Ubuntu 9.10

2010-01-11 Thread Fabien Bodard
2010/1/11 matteo.l...@engicam.com matteo.l...@engicam.com:

 Hi Fabien and thanks for your reply

 I update my Ubuntu (Before my last reply I used the apt-get
 string on the installation page) with your last apt-get
 string and something is changed:

 now when I launch gambas2 I obtain:

 mat...@matteo-laptop:/usr/src/gambas2-2.19.0$ gambas2
 ERROR: #27: Cannot load component 'gb.debug': cannot find
 library file

Try a
make uninstall
make clean
make -j4
make install



make -j4 allow to accellerate de compilation time by create multiple
instance of the process (a so can use multiple processor capabilities)



 any tips ?


 Thanks in advice


 mat...@matteo-laptop:/usr/src/gambas2-2.19.0$ sudo gambas2
 ERROR: #27: Cannot load component 'gb.debug': cannot find
 library file


 - Original Message -
 Da : Fabien Bodard gambas...@gmail.com
 A : mailing list for gambas users
 gambas-user@lists.sourceforge.net
 Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
 installation on Ubuntu 9.10
 Data : Mon, 11 Jan 2010 09:51:11 +0100

 More upto date ... and i've updated on the wiki too ... so
 gb3 can compile Too with all components.


 sudo apt-get install build-essential autoconf libbz2-dev
 libfbclient2 libmysqlclient15-dev unixodbc-dev libpq-dev
 libsqlite0-dev libsqlite3-dev libgtk2.0-dev libldap2-dev
 libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev
 libsdl-sound1.2-dev libsdl-mixer1.2-dev
 libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev
 libbonobo2-dev libcos4-dev libomniorb4-dev librsvg2-dev
 libpoppler-dev libpoppler-glib-dev libasound2-dev
 libesd0-dev libesd-alsa0 libdirectfb-dev libaa1-dev
 libxtst-dev libffi-dev kdelibs4-dev firebird2.1-dev
 libqt4-dev libglew1.5-dev libimlib2-dev libv4l-dev
 libsdl-ttf2.0-dev

 2010/1/11 Ricardo Díaz Martín
  oceanosoftlapa...@gmail.com: On before gambas
 installation on ubuntu 9.10 you must to do this: 
  sudo apt-get install build-essential autoconf libbz2-dev
  libfbclient2 libmysqlclient15-dev unixodbc-dev libpq-dev
  libsqlite0-dev libsqlite3-dev libgtk2.0-dev libldap2-dev
  libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev
  libsdl-sound1.2-dev libsdl-mixer1.2-dev
  libsdl-image1.2-dev libsage-dev libxml2-dev libxslt1-dev
 libbonobo2-dev libcos4-dev libomniorb4-dev librsvg2-dev
  libpoppler-dev libpoppler-glib-dev libasound2-dev
  libesd0-dev libesd-alsa0 libdirectfb-dev libaa1-dev
  libxtst-dev libffi-dev kdelibs4-dev firebird2.1-dev
 libqt4-dev libglew1.5-dev 
 
  Please, visit
 http://gambasdoc.org/help/install/ubuntu?view 
  I hope this works for you.
 
  Regards,
 
  2010/1/10 matteo.l...@engicam.com
 matteo.l...@engicam.com 
  Yes libqt3-mt-dev is installed
 
  thanks for your reply !
 
 
  - Original Message -
  Da : Fabien Bodard gambas...@gmail.com
  A : mailing list for gambas users
  gambas-user@lists.sourceforge.net
  Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
  installation on Ubuntu 9.10
  Data : Sun, 10 Jan 2010 19:51:21 +0100
 
   IS libqt3-mt-dev installed ?
  
  
   if not install it and do a reconf-all
  
   2010/1/10 matteo.l...@engicam.com
matteo.l...@engicam.com: Ok
   
I checked all library installed on my ubuntu and
 redidthe installation from the beginning.
   
Somethings is changed:
   
When I launch gambas2 I have:
   
ERROR: #27: Cannot load component 'gb.qt': cannot
 findlibrary file
   
The ./configure disable the gb.qte packet and the
 make /make install seems to return without
 error...   
Do you need some output to understand what I wrong
 ?   
Tnx a lot!
   
- Original Message -
Da : Benoît Minisini
 gam...@users.sourceforge.netA : mailing list for
 gambas usersgambas-user@lists.sourceforge.net
Oggetto : Re: [Gambas-user] Problem during Gambas
 2.19installation on Ubuntu 9.10
Data : Sun, 10 Jan 2010 14:59:51 +0100
   
 Hi to All !  I'm trying to install last
 gambas2version on my ubuntu 9.10 but I had some
 error:  1)   I  launch the configuration script
 with:  sudo   /configure  --enable-net=yes
 --enable-curl=yes--enable-smtp=yes 
but at the end I receive the following report: 
 THESECOMPONENTS ARE DISABLED: [..] -
 gb.net.curl -gb.net.smtp [..]  Why this
 components are disabled   ?  Because some libraries
 or development packages are   not  installed. You see
 it by reading the ./configure   output.  2) I
 launched the: sudo make sudo make   install  All 
 the make is done without errors but when   I execute
 the:   gambas2  I receive this error:   ERROR:
 #27: Cannot load  component 'gb.qt': cannot find  
 library file Are you sure  that you didn't get error 
  messages during make  install?Anyway, you need to 
  provide the full output of  the entire configuration,
   compilation and installation  process, otherwise
 nobody   will be able to help you.Regards  ,--
 Benoît   
  
 Minisini

Re: [Gambas-user] Problem during Gambas 2.19 installation on Ubuntu 9.10

2010-01-11 Thread matteo.l...@engicam.com
Hi Fabien..

nothing is changed:

ERROR: #27: Cannot load component 'gb.debug': cannot find
library file

Have you any tips ?


- Original Message -
Da : Fabien Bodard gambas...@gmail.com
A : mailing list for gambas users
gambas-user@lists.sourceforge.net
Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
installation on Ubuntu 9.10
Data : Mon, 11 Jan 2010 12:06:42 +0100

 2010/1/11 matteo.l...@engicam.com
 matteo.l...@engicam.com: 
  Hi Fabien and thanks for your reply
 
  I update my Ubuntu (Before my last reply I used the
  apt-get string on the installation page) with your last
  apt-get string and something is changed:
 
  now when I launch gambas2 I obtain:
 
  mat...@matteo-laptop:/usr/src/gambas2-2.19.0$ gambas2
  ERROR: #27: Cannot load component 'gb.debug': cannot
  find library file
 
 Try a
 make uninstall
 make clean
 make -j4
 make install
 
 
 
 make -j4 allow to accellerate de compilation time by
 create multiple instance of the process (a so can use
 multiple processor capabilities)
 
 
 
  any tips ?
 
 
  Thanks in advice
 
 
  mat...@matteo-laptop:/usr/src/gambas2-2.19.0$ sudo
  gambas2 ERROR: #27: Cannot load component 'gb.debug':
  cannot find library file
 
 
  - Original Message -
  Da : Fabien Bodard gambas...@gmail.com
  A : mailing list for gambas users
  gambas-user@lists.sourceforge.net
  Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
  installation on Ubuntu 9.10
  Data : Mon, 11 Jan 2010 09:51:11 +0100
 
  More upto date ... and i've updated on the wiki too ...
 so  gb3 can compile Too with all components.
 
 
  sudo apt-get install build-essential autoconf
 libbz2-dev  libfbclient2 libmysqlclient15-dev
 unixodbc-dev libpq-dev  libsqlite0-dev libsqlite3-dev
 libgtk2.0-dev libldap2-dev  libcurl4-gnutls-dev
 libgtkglext1-dev libpcre3-dev  libsdl-sound1.2-dev
 libsdl-mixer1.2-dev  libsdl-image1.2-dev libsage-dev
 libxml2-dev libxslt1-dev  libbonobo2-dev libcos4-dev
 libomniorb4-dev librsvg2-dev  libpoppler-dev
 libpoppler-glib-dev libasound2-dev  libesd0-dev
 libesd-alsa0 libdirectfb-dev libaa1-dev  libxtst-dev
 libffi-dev kdelibs4-dev firebird2.1-dev  libqt4-dev
 libglew1.5-dev libimlib2-dev libv4l-dev 
 libsdl-ttf2.0-dev 
  2010/1/11 Ricardo Díaz Martín
   oceanosoftlapa...@gmail.com: On before gambas
  installation on ubuntu 9.10 you must to do this: 
   sudo apt-get install build-essential autoconf
 libbz2-dev   libfbclient2 libmysqlclient15-dev
 unixodbc-dev libpq-dev   libsqlite0-dev libsqlite3-dev
 libgtk2.0-dev libldap2-dev   libcurl4-gnutls-dev
 libgtkglext1-dev libpcre3-dev   libsdl-sound1.2-dev
 libsdl-mixer1.2-dev   libsdl-image1.2-dev libsage-dev
 libxml2-dev libxslt1-dev  libbonobo2-dev libcos4-dev
 libomniorb4-dev librsvg2-dev   libpoppler-dev
 libpoppler-glib-dev libasound2-dev   libesd0-dev
 libesd-alsa0 libdirectfb-dev libaa1-dev   libxtst-dev
 libffi-dev kdelibs4-dev firebird2.1-dev  libqt4-dev
 libglew1.5-dev   
   Please, visit
  http://gambasdoc.org/help/install/ubuntu?view 
   I hope this works for you.
  
   Regards,
  
   2010/1/10 matteo.l...@engicam.com
  matteo.l...@engicam.com 
   Yes libqt3-mt-dev is installed
  
   thanks for your reply !
  
  
   - Original Message -
   Da : Fabien Bodard gambas...@gmail.com
   A : mailing list for gambas users
   gambas-user@lists.sourceforge.net
   Oggetto : Re: [Gambas-user] Problem during Gambas
 2.19   installation on Ubuntu 9.10
   Data : Sun, 10 Jan 2010 19:51:21 +0100
  
IS libqt3-mt-dev installed ?
   
   
if not install it and do a reconf-all
   
2010/1/10 matteo.l...@engicam.com
 matteo.l...@engicam.com: Ok

 I checked all library installed on my ubuntu and
  redidthe installation from the beginning.

 Somethings is changed:

 When I launch gambas2 I have:

 ERROR: #27: Cannot load component 'gb.qt':
 cannot  findlibrary file

 The ./configure disable the gb.qte packet and
 the  make /make install seems to return without
  error...   
 Do you need some output to understand what I
 wrong  ?   
 Tnx a lot!

 - Original Message -
 Da : Benoît Minisini
  gam...@users.sourceforge.netA : mailing list
 for  gambas users   
 gambas-user@lists.sourceforge.net Oggetto :
 Re: [Gambas-user] Problem during Gambas  2.19   
 installation on Ubuntu 9.10 Data : Sun, 10 Jan
 2010 14:59:51 +0100
  Hi to All !  I'm trying to install last
  gambas2version on my ubuntu 9.10 but I had
 some  error:  1)   I  launch the configuration
 script  with:  sudo   /configure 
 --enable-net=yes  --enable-curl=yes   
 --enable-smtp=yes  but at the end I receive
 the following report:   THESECOMPONENTS ARE
 DISABLED: [..] -  gb.net.curl -gb.net.smtp
 [..]  Why this  components are disabled   ? 
 Because some libraries  or development packages are  
 not  installed. You see  it by reading the ./configure
   output.  2) I  launched the: sudo make sudo
 make   install

Re: [Gambas-user] Problem during Gambas 2.19 installation on Ubuntu 9.10

2010-01-11 Thread Fabien Bodard
give me the output of gbi2





2010/1/11 matteo.l...@engicam.com matteo.l...@engicam.com:
 Hi Fabien..

 nothing is changed:

 ERROR: #27: Cannot load component 'gb.debug': cannot find
 library file

 Have you any tips ?


 - Original Message -
 Da : Fabien Bodard gambas...@gmail.com
 A : mailing list for gambas users
 gambas-user@lists.sourceforge.net
 Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
 installation on Ubuntu 9.10
 Data : Mon, 11 Jan 2010 12:06:42 +0100

 2010/1/11 matteo.l...@engicam.com
 matteo.l...@engicam.com: 
  Hi Fabien and thanks for your reply
 
  I update my Ubuntu (Before my last reply I used the
  apt-get string on the installation page) with your last
  apt-get string and something is changed:
 
  now when I launch gambas2 I obtain:
 
  mat...@matteo-laptop:/usr/src/gambas2-2.19.0$ gambas2
  ERROR: #27: Cannot load component 'gb.debug': cannot
  find library file

 Try a
 make uninstall
 make clean
 make -j4
 make install



 make -j4 allow to accellerate de compilation time by
 create multiple instance of the process (a so can use
 multiple processor capabilities)


 
  any tips ?
 
 
  Thanks in advice
 
 
  mat...@matteo-laptop:/usr/src/gambas2-2.19.0$ sudo
  gambas2 ERROR: #27: Cannot load component 'gb.debug':
  cannot find library file
 
 
  - Original Message -
  Da : Fabien Bodard gambas...@gmail.com
  A : mailing list for gambas users
  gambas-user@lists.sourceforge.net
  Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
  installation on Ubuntu 9.10
  Data : Mon, 11 Jan 2010 09:51:11 +0100
 
  More upto date ... and i've updated on the wiki too ...
 so  gb3 can compile Too with all components.
 
 
  sudo apt-get install build-essential autoconf
 libbz2-dev  libfbclient2 libmysqlclient15-dev
 unixodbc-dev libpq-dev  libsqlite0-dev libsqlite3-dev
 libgtk2.0-dev libldap2-dev  libcurl4-gnutls-dev
 libgtkglext1-dev libpcre3-dev  libsdl-sound1.2-dev
 libsdl-mixer1.2-dev  libsdl-image1.2-dev libsage-dev
 libxml2-dev libxslt1-dev  libbonobo2-dev libcos4-dev
 libomniorb4-dev librsvg2-dev  libpoppler-dev
 libpoppler-glib-dev libasound2-dev  libesd0-dev
 libesd-alsa0 libdirectfb-dev libaa1-dev  libxtst-dev
 libffi-dev kdelibs4-dev firebird2.1-dev  libqt4-dev
 libglew1.5-dev libimlib2-dev libv4l-dev 
 libsdl-ttf2.0-dev 
  2010/1/11 Ricardo Díaz Martín
   oceanosoftlapa...@gmail.com: On before gambas
  installation on ubuntu 9.10 you must to do this: 
   sudo apt-get install build-essential autoconf
 libbz2-dev   libfbclient2 libmysqlclient15-dev
 unixodbc-dev libpq-dev   libsqlite0-dev libsqlite3-dev
 libgtk2.0-dev libldap2-dev   libcurl4-gnutls-dev
 libgtkglext1-dev libpcre3-dev   libsdl-sound1.2-dev
 libsdl-mixer1.2-dev   libsdl-image1.2-dev libsage-dev
 libxml2-dev libxslt1-dev  libbonobo2-dev libcos4-dev
 libomniorb4-dev librsvg2-dev   libpoppler-dev
 libpoppler-glib-dev libasound2-dev   libesd0-dev
 libesd-alsa0 libdirectfb-dev libaa1-dev   libxtst-dev
 libffi-dev kdelibs4-dev firebird2.1-dev  libqt4-dev
 libglew1.5-dev   
   Please, visit
  http://gambasdoc.org/help/install/ubuntu?view 
   I hope this works for you.
  
   Regards,
  
   2010/1/10 matteo.l...@engicam.com
  matteo.l...@engicam.com 
   Yes libqt3-mt-dev is installed
  
   thanks for your reply !
  
  
   - Original Message -
   Da : Fabien Bodard gambas...@gmail.com
   A : mailing list for gambas users
   gambas-user@lists.sourceforge.net
   Oggetto : Re: [Gambas-user] Problem during Gambas
 2.19   installation on Ubuntu 9.10
   Data : Sun, 10 Jan 2010 19:51:21 +0100
  
IS libqt3-mt-dev installed ?
   
   
if not install it and do a reconf-all
   
2010/1/10 matteo.l...@engicam.com
 matteo.l...@engicam.com: Ok

 I checked all library installed on my ubuntu and
  redidthe installation from the beginning.

 Somethings is changed:

 When I launch gambas2 I have:

 ERROR: #27: Cannot load component 'gb.qt':
 cannot  findlibrary file

 The ./configure disable the gb.qte packet and
 the  make /make install seems to return without
  error...   
 Do you need some output to understand what I
 wrong  ?   
 Tnx a lot!

 - Original Message -
 Da : Benoît Minisini
  gam...@users.sourceforge.netA : mailing list
 for  gambas users   
 gambas-user@lists.sourceforge.net Oggetto :
 Re: [Gambas-user] Problem during Gambas  2.19   
 installation on Ubuntu 9.10 Data : Sun, 10 Jan
 2010 14:59:51 +0100
  Hi to All !  I'm trying to install last
  gambas2version on my ubuntu 9.10 but I had
 some  error:  1)   I  launch the configuration
 script  with:  sudo   /configure 
 --enable-net=yes  --enable-curl=yes   
 --enable-smtp=yes  but at the end I receive
 the following report:   THESECOMPONENTS ARE
 DISABLED: [..] -  gb.net.curl -gb.net.smtp
 [..]  Why this  components are disabled   ? 
 Because some libraries  or development packages are  
 not  installed. You see

[Gambas-user] Problem during Gambas 2.19 installation on Ubuntu 9.10

2010-01-10 Thread matteo.l...@engicam.com
Hi to All !

I'm trying to install last gambas2 version on my ubuntu 9.10
but I had some error:

1) I launch the configuration script with:

sudo ./configure  --enable-net=yes --enable-curl=yes
--enable-smtp=yes

but at the end I receive the following report:

THESE COMPONENTS ARE DISABLED:
[..]
- gb.net.curl
- gb.net.smtp
[..]

Why this components are disabled ?

2) I launched the:
sudo make 
sudo make install

All the make is done without errors but when I execute the:

gambas2 

I receive this error:
ERROR: #27: Cannot load component 'gb.qt': cannot find
library file


Thanks to all !


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem during Gambas 2.19 installation on Ubuntu 9.10

2010-01-10 Thread Benoît Minisini
 Hi to All !
 
 I'm trying to install last gambas2 version on my ubuntu 9.10
 but I had some error:
 
 1) I launch the configuration script with:
 
 sudo ./configure  --enable-net=yes --enable-curl=yes
 --enable-smtp=yes
 
 but at the end I receive the following report:
 
 THESE COMPONENTS ARE DISABLED:
 [..]
 - gb.net.curl
 - gb.net.smtp
 [..]
 
 Why this components are disabled ?
 

Because some libraries or development packages are not installed. You see it 
by reading the ./configure output.

 2) I launched the:
 sudo make
 sudo make install
 
 All the make is done without errors but when I execute the:
 
 gambas2
 
 I receive this error:
 ERROR: #27: Cannot load component 'gb.qt': cannot find
 library file
 

Are you sure that you didn't get error messages during make install?

Anyway, you need to provide the full output of the entire configuration, 
compilation and installation process, otherwise nobody will be able to help 
you.

Regards,

-- 
Benoît Minisini

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem during Gambas 2.19 installation on Ubuntu 9.10

2010-01-10 Thread matteo.l...@engicam.com
Ok 

I checked all library installed on my ubuntu and redid the
installation from the beginning.

Somethings is changed:

When I launch gambas2 I have:

ERROR: #27: Cannot load component 'gb.qt': cannot find
library file

The ./configure disable the gb.qte packet and the make /
make install seems to return without error...

Do you need some output to understand what I wrong ?

Tnx a lot!

- Original Message -
Da : Benoît Minisini gam...@users.sourceforge.net
A : mailing list for gambas users
gambas-user@lists.sourceforge.net
Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
installation on Ubuntu 9.10
Data : Sun, 10 Jan 2010 14:59:51 +0100

  Hi to All !  I'm trying to install last gambas2
 version on my ubuntu 9.10 but I had some error:  1) I
 launch the configuration script with:  sudo ./configure 
 --enable-net=yes --enable-curl=yes
--enable-smtp=yes 
 but at the end I receive the following report:  THESE
 COMPONENTS ARE DISABLED: [..] - gb.net.curl -
 gb.net.smtp [..]  Why this components are disabled ?
 Because some libraries or development packages are not
 installed. You see it by reading the ./configure output.
 2) I launched the: sudo make sudo make install  All
 the make is done without errors but when I execute the: 
 gambas2  I receive this error: ERROR: #27: Cannot load
 component 'gb.qt': cannot find library file Are you sure
 that you didn't get error messages during make
 install?Anyway, you need to provide the full output of
 the entire configuration, compilation and installation
 process, otherwise nobody will be able to help you.Regards
 ,-- Benoît
 Minisini--
 --- -This SF.Net email is
 sponsored by the Verizon Developer CommunityTake advantage
 of Verizon's best-in-class app development supportA
 streamlined, 14 day to market process makes app
 distribution fast and easyJoin now and get one step closer
 to millions of Verizon
 customershttp://p.sf.net/sfu/verizon-dev2dev
 ___Gambas-user
 mailing
 listgambas-u...@lists.sourceforge.nethttps://lists.sourcef
 orge.net/lists/listinfo/gambas-user

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem during Gambas 2.19 installation on Ubuntu 9.10

2010-01-10 Thread Fabien Bodard
IS libqt3-mt-dev installed ?


if not install it and do a reconf-all

2010/1/10 matteo.l...@engicam.com matteo.l...@engicam.com:
 Ok

 I checked all library installed on my ubuntu and redid the
 installation from the beginning.

 Somethings is changed:

 When I launch gambas2 I have:

 ERROR: #27: Cannot load component 'gb.qt': cannot find
 library file

 The ./configure disable the gb.qte packet and the make /
 make install seems to return without error...

 Do you need some output to understand what I wrong ?

 Tnx a lot!

 - Original Message -
 Da : Benoît Minisini gam...@users.sourceforge.net
 A : mailing list for gambas users
 gambas-user@lists.sourceforge.net
 Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
 installation on Ubuntu 9.10
 Data : Sun, 10 Jan 2010 14:59:51 +0100

  Hi to All !  I'm trying to install last gambas2
 version on my ubuntu 9.10 but I had some error:  1) I
 launch the configuration script with:  sudo ./configure
 --enable-net=yes --enable-curl=yes
 --enable-smtp=yes 
 but at the end I receive the following report:  THESE
 COMPONENTS ARE DISABLED: [..] - gb.net.curl -
 gb.net.smtp [..]  Why this components are disabled ?
 Because some libraries or development packages are not
 installed. You see it by reading the ./configure output.
 2) I launched the: sudo make sudo make install  All
 the make is done without errors but when I execute the: 
 gambas2  I receive this error: ERROR: #27: Cannot load
 component 'gb.qt': cannot find library file Are you sure
 that you didn't get error messages during make
 install?Anyway, you need to provide the full output of
 the entire configuration, compilation and installation
 process, otherwise nobody will be able to help you.Regards
 ,-- Benoît
 Minisini--
 --- -This SF.Net email is
 sponsored by the Verizon Developer CommunityTake advantage
 of Verizon's best-in-class app development supportA
 streamlined, 14 day to market process makes app
 distribution fast and easyJoin now and get one step closer
 to millions of Verizon
 customershttp://p.sf.net/sfu/verizon-dev2dev
 ___Gambas-user
 mailing
 listgambas-u...@lists.sourceforge.nethttps://lists.sourcef
 orge.net/lists/listinfo/gambas-user

 --
 This SF.Net email is sponsored by the Verizon Developer Community
 Take advantage of Verizon's best-in-class app development support
 A streamlined, 14 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon customers
 http://p.sf.net/sfu/verizon-dev2dev
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem during Gambas 2.19 installation on Ubuntu 9.10

2010-01-10 Thread matteo.l...@engicam.com
Yes libqt3-mt-dev is installed

thanks for your reply !


- Original Message -
Da : Fabien Bodard gambas...@gmail.com
A : mailing list for gambas users
gambas-user@lists.sourceforge.net
Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
installation on Ubuntu 9.10
Data : Sun, 10 Jan 2010 19:51:21 +0100

 IS libqt3-mt-dev installed ?
 
 
 if not install it and do a reconf-all
 
 2010/1/10 matteo.l...@engicam.com
  matteo.l...@engicam.com: Ok
 
  I checked all library installed on my ubuntu and redid
  the installation from the beginning.
 
  Somethings is changed:
 
  When I launch gambas2 I have:
 
  ERROR: #27: Cannot load component 'gb.qt': cannot find
  library file
 
  The ./configure disable the gb.qte packet and the make /
  make install seems to return without error...
 
  Do you need some output to understand what I wrong ?
 
  Tnx a lot!
 
  - Original Message -
  Da : Benoît Minisini gam...@users.sourceforge.net
  A : mailing list for gambas users
  gambas-user@lists.sourceforge.net
  Oggetto : Re: [Gambas-user] Problem during Gambas 2.19
  installation on Ubuntu 9.10
  Data : Sun, 10 Jan 2010 14:59:51 +0100
 
   Hi to All !  I'm trying to install last gambas2
  version on my ubuntu 9.10 but I had some error:  1)
 I  launch the configuration script with:  sudo
 /configure  --enable-net=yes --enable-curl=yes
  --enable-smtp=yes 
  but at the end I receive the following report:  THESE
  COMPONENTS ARE DISABLED: [..] - gb.net.curl -
  gb.net.smtp [..]  Why this components are disabled
 ?  Because some libraries or development packages are
 not  installed. You see it by reading the ./configure
 output.  2) I launched the: sudo make sudo make
 install  All  the make is done without errors but when
 I execute the:   gambas2  I receive this error:
 ERROR: #27: Cannot load  component 'gb.qt': cannot find
 library file Are you sure  that you didn't get error
 messages during make  install?Anyway, you need to
 provide the full output of  the entire configuration,
 compilation and installation  process, otherwise nobody
 will be able to help you.Regards  ,-- Benoît
 
 Minisini--
  --- -This SF.Net email is 
 sponsored by the Verizon Developer CommunityTake advantage
  of Verizon's best-in-class app development supportA 
 streamlined, 14 day to market process makes app 
 distribution fast and easyJoin now and get one step closer
  to millions of Verizon 
 customershttp://p.sf.net/sfu/verizon-dev2dev 
 ___Gambas-user
  mailing 
 listgambas-u...@lists.sourceforge.nethttps://lists.sourcef
  orge.net/lists/listinfo/gambas-user 
 
 --
   This SF.Net email is sponsored by
  the Verizon Developer Community Take advantage of
  Verizon's best-in-class app development support A
 streamlined, 14 day to market process makes app
  distribution fast and easy Join now and get one step
  closer to millions of Verizon customers
  http://p.sf.net/sfu/verizon-dev2dev
  ___
  Gambas-user mailing list
  Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user 
 
 --
  This SF.Net email is sponsored by the
 Verizon Developer Community Take advantage of Verizon's
 best-in-class app development support A streamlined, 14
 day to market process makes app distribution fast and easy
 Join now and get one step closer to millions of Verizon
 customers http://p.sf.net/sfu/verizon-dev2dev 
 ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with gambas..

2009-03-27 Thread Mike Keehan
Carlos Humberto Llumiquinga Hidalgo wrote:
 Hi all
 
 I have a problem with a code on gambas..
 
 I'm trying.. this code.. EXEC [rm, application.Path  /imagenes/*.*]
 ... just I wanna erase the content of images folder.
 
 But I got an error.. on console... rm: can't erase
 «/home/carlosh/Prueba/imagenes/*.*»: File don't exists
 
 Help Please.. what's wrong.. 
 

Hi Carlos,

Try using SHELL instead of EXEC.  The *.* expression gets expanded by 
the Shell not by individual programs like rm.

Mike.


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with gambas..

2009-03-27 Thread Rolf Schmidt
Hi Carlos

 I have a problem with a code on gambas..

 I'm trying.. this code.. EXEC [rm, application.Path  /imagenes/*.*]
 ... just I wanna erase the content of images folder.

 But I got an error.. on console... rm: can't erase
 «/home/carlosh/Prueba/imagenes/*.*»: File don't exists

The exex comand runs without a shell and so there is no envrionment and rm 
will not be found in the local directory.

Either you use rm with a full path or use the shell command.

HTH
Rolf


signature.asc
Description: This is a digitally signed message part.
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Problem with gambas..

2009-03-26 Thread richard terry
On Fri, 27 Mar 2009 02:13:27 pm Carlos Humberto Llumiquinga Hidalgo wrote:
 Hi Dimitris... the folder exist.. and the spell is correctly... that was
 the first what I checked..
 By the way it's not empty...

 2009/3/26 Dimitris Anogiatis dos...@gmail.com

  You either are trying to delete a folder that doesn't exist or it exists
  but
  you didn't spell it correctly
 
  try the isDIR function to determine if the folder you're looking exists
  indeed
 
  Documentation for the isDIR function is located here:
  http://gambasdoc.org/help/lang/isdir?v3
 
  Hope that helps.
  Dimitris
 
  On Thu, Mar 26, 2009 at 6:29 PM, Carlos Humberto Llumiquinga Hidalgo 
 
  carlitos.h...@gmail.com wrote:
   Hi all
  
   I have a problem with a code on gambas..
  
   I'm trying.. this code.. EXEC [rm, application.Path 
   /imagenes/*.*] ... just I wanna erase the content of images folder.
  
   But I got an error.. on console... rm: can't erase
   «/home/carlosh/Prueba/imagenes/*.*»: File don't exists
  
   Help Please.. what's wrong.. 

Try putting a print statement in there e.g

PRINT rmapplication.Path  /imagenes/*.*


copy the terminal output from this into a real linux terminal and see what 
error message you get.

or  try your exact command out first in a terminal before putting it into a 
gambas string.  Also check the file permissions on the files in that 
directory.

Just a suggestion in case you've not tried it.


richard
.
  
   Thanks...
   Carlos H.
 
  -
 -
 
   ___
   Gambas-user mailing list
   Gambas-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/gambas-user
 
  -
 - ___
  Gambas-user mailing list
  Gambas-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/gambas-user

 ---
--- ___
 Gambas-user mailing list
 Gambas-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/gambas-user



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Problem with gambas wiki web site

2008-12-12 Thread Benoit Minisini
Hi all,

Apparently gambasdoc.org does not answer anymore, nor kudla.org, the domain 
where you can write to Rob Kudla, the gambasdoc.org server owner.

If you read that Rob, please tell us what happens!

-- 
Benoit Minisini

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user