[Gambas-user] [Gambas Bug Tracker] Bug #1091: MYSQL_OPT_RECONNECT option

2017-06-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1091&from=L21haW4- Comment #7 by hakan UNVER: Hii I try Step by step explain. - We connect Mysql server - user working smoothly. - Any Time Mysql Server Stop or have network problem.. - If the user does something at this time - MYSQL_OPT_RECONNECT

Re: [Gambas-user] Strange behaviour of File.Read

2017-06-21 Thread bill-lancaster via Gambas-user
The directory string was written from a directory chooser, originally via a string variable - this is where the quotes came from. Using a variant produces a string without quotes and presumably without \n Thanks again -- View this message in context: http://gambas.8142.n7.nabble.com/Strange-beh

[Gambas-user] [Gambas Bug Tracker] Bug #1091: MYSQL_OPT_RECONNECT option

2017-06-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1091&from=L21haW4- Benoît MINISINI changed the state of the bug to: NeedsInfo. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Sl

[Gambas-user] [Gambas Bug Tracker] Bug #1118: Button copy report does not work, at the end of creating packages.

2017-06-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1118&from=L21haW4- Comment #2 by Benoît MINISINI: I have just tested on Mint 17.3 Mate + Cinnamon, and the Mate text editor cannot paste the copied. But LibreOffice (for example) can. So I guess the problem is in the Mate text editor. Benoît MIN

[Gambas-user] [Gambas Bug Tracker] Bug #1118: Button copy report does not work, at the end of creating packages.

2017-06-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1118&from=L21haW4- Comment #1 by Benoît MINISINI: It works perfectly there, on KDE / Ubuntu 17.04. -- Check out the vibrant tech community on one of the world's most eng

[Gambas-user] [Gambas Bug Tracker] Bug #1119: Activate and deactivate breakpoints without deleting them

2017-06-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1119&from=L21haW4- Benoît MINISINI changed the state of the bug to: Accepted. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Sla

[Gambas-user] [Gambas Bug Tracker] Bug #1110: Error trying to add event on menu complete

2017-06-21 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1110&from=L21haW4- Benoît MINISINI changed the state of the bug to: NeedsInfo. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Sl

Re: [Gambas-user] Strange behaviour of File.Read

2017-06-21 Thread Jussi Lahtinen
Perhaps more clear this way, maybe your file contains line: "/home/bill/Pictures/Family/Visits/2000-07-29" instead of /home/bill/Pictures/Family/Visits/2000-07-29 . So, the quote marks shouldn't be there... Jussi On Wed, Jun 21, 2017 at 10:47 PM, Jussi Lahtinen wrote: > Is that the literal outp

Re: [Gambas-user] Strange behaviour of File.Read

2017-06-21 Thread Jussi Lahtinen
Is that the literal output? Because if there really are quote marks, then the command is equal to: Print IsDir("\"/home/bill/Pictures/Family/Visits/2000-07-29\"") Which is clearly false. However if it is not literal output, then it is impossible to say what is read from the file to the string...

Re: [Gambas-user] comment docs generatino for class like for variables?

2017-06-21 Thread PICCORO McKAY Lenz
discovered: after the firs commen "Ǵambas class file" put the class comment documentation, as: ' Gambas class file > '' lorem ipsum doc class for generation lorem ipsum doc class... > Export > Inherits GridView > Public Const _Group As String = "Data" > ... and its done.. great! Lenz McKAY G

Re: [Gambas-user] gambas preprocesor can also work in forms?

2017-06-21 Thread PICCORO McKAY Lenz
2017-06-21 11:53 GMT-04:30 adamn...@gmail.com : > > Unknown symbol 'Editor' in class 'FForm' it the error with your test > > attached > > Now you have me confused very. There is no reference to an Editor or > indeed a FForm in the file I attached? > its quite extrange.. i must clean every time i m

Re: [Gambas-user] gambas preprocesor can also work in forms?

2017-06-21 Thread adamn...@gmail.com
(Seeing as we are going`to perpetually top post) On Wed, 21 Jun 2017 10:22:47 -0430 PICCORO McKAY Lenz wrote: > nono..no in the respective class of the form.. i mean specifically for the > form.. I don't understand, a form is just a class with a special metadata file that describes its' layout

[Gambas-user] comment docs generatino for class like for variables?

2017-06-21 Thread PICCORO McKAY Lenz
in gambas when i put double quote in a variable and added a comment this generate a docs for : Public var1 AS String = "variable1" '' public var1 with default string 'variable1' that code in the ide generates me that: Ftest.var1 > PUBLIC var1 as STRING > variable1" '' public var1 with default

Re: [Gambas-user] Strange behaviour of File.Read

2017-06-21 Thread bill-lancaster via Gambas-user
Thanks so much for the insight. IsDir(Trim(s)) still produced False, but I tried saving the path with a Variant instead of a string and now I get True Thanks again -- View this message in context: http://gambas.8142.n7.nabble.com/Strange-behaviour-of-File-Read-tp59467p59481.html Sent from the

Re: [Gambas-user] gambas preprocesor can also work in forms?

2017-06-21 Thread PICCORO McKAY Lenz
nono..no in the respective class of the form.. i mean specifically for the form.. this due sometimes i get errors in forms when i moved to thoer gambas in other computer: Unknown symbol 'Editor' in class 'FForm' it the error with your test attached Lenz McKAY Gerardo (PICCORO) http://qgqlochekon

Re: [Gambas-user] Strange behaviour of File.Read

2017-06-21 Thread Charlie
bill-lancaster wrote > I must be missing something - any ideas Try changing the line *Print IsDir(s) * to *Print IsDir(Trim(s)) * It worked for me. - Check out www.gambas.one -- View this message in context: http://gambas.8142.n7.nabble.com/Strange-behaviour-of-File-Read-tp59467p59479

Re: [Gambas-user] gambas preprocesor can also work in forms?

2017-06-21 Thread adamn...@gmail.com
On Wed, 21 Jun 2017 09:45:27 -0430 PICCORO McKAY Lenz wrote: > the preprocesor are great http://gambaswiki.org/wiki/lang/.if but also can > be used in forms? > > currently i get work in class files, but for forms how can i do that > verifications? > > Lenz McKAY Gerardo (PICCORO) > http://qgqlo

Re: [Gambas-user] "get from VERSION file", where its or where i must put this?

2017-06-21 Thread Benoît Minisini via Gambas-user
Le 21/06/2017 à 16:03, PICCORO McKAY Lenz a écrit : in project, i just chekc project "get from VERSION file" option for version numbering, where its or where i must put this file? directly in DATA, its not getting the value! In a parent directory of the project. -- Benoît Minisini

[Gambas-user] gambas preprocesor can also work in forms?

2017-06-21 Thread PICCORO McKAY Lenz
the preprocesor are great http://gambaswiki.org/wiki/lang/.if but also can be used in forms? currently i get work in class files, but for forms how can i do that verifications? Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com --

Re: [Gambas-user] Strange behaviour of File.Read

2017-06-21 Thread adamn...@gmail.com
On Wed, 21 Jun 2017 06:36:01 -0700 (MST) bill-lancaster via Gambas-user wrote: > I must be missing something - any ideas? > Gambas3.9.2 > Components, gb.form, gb,gui, gb.image > > This is the code:- > > Public Sub Button1_Click() > Dim s As String > s = File.Load(User.Home &/ "Pictures/PhotoF

[Gambas-user] "get from VERSION file", where its or where i must put this?

2017-06-21 Thread PICCORO McKAY Lenz
in project, i just chekc project "get from VERSION file" option for version numbering, where its or where i must put this file? directly in DATA, its not getting the value! Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com -

Re: [Gambas-user] Errors compiling on Ubuntu 17.04 zesty

2017-06-21 Thread PICCORO McKAY Lenz
2017-06-21 8:30 GMT-04:30 Tobias Boege : > I have a very unpleasant memories [1] about the last time I changed the > configure.ac of gb.openssl. Please make sure first that the openssl > development packages are installed. > well without these "unpleasant" commits gambas not work in many embebed d

Re: [Gambas-user] [Gambas Bug Tracker] Bug #1113: ODBC driver problem: driver connects but does not exec query

2017-06-21 Thread PICCORO McKAY Lenz
Cris, the mail was generated from bugtracker, so you must answer here to better follow up of.. and basically u are agree that the patch its "not so ugly", due acepted that if no sql negative return was, can be treated as success and the patch for me are very good way to manage that.. 2017-06-21 9

Re: [Gambas-user] [Gambas Bug Tracker] Bug #1113: ODBC driver problem: driver connects but does not exec query

2017-06-21 Thread Cristiano Guadagnino
This is in no way "bad behavior of the ODBC and SQL standard", nor a problem of Microsoft. It is standard practice (I have encountered it in ALL the dbms with which I have been working through the years) that when a SQL query returns no data the engine return a SQLCODE 100. Negative SQLCODES always

Re: [Gambas-user] Errors compiling on Ubuntu 17.04 zesty

2017-06-21 Thread Gianluigi
Thanks Benoit, I'm going to try and I'll tell you Regards Gianluigi 2017-06-21 15:32 GMT+02:00 Benoît Minisini : > Le 21/06/2017 à 15:29, Benoît Minisini a écrit : > >> Le 21/06/2017 à 15:25, Gianluigi a écrit : >> >>> The libreries you have indicated are the last 5 of the command I >>> suggeste

Re: [Gambas-user] Errors compiling on Ubuntu 17.04 zesty

2017-06-21 Thread Gianluigi
I then attached the log files. I understand, the library is missing Regards Gianluigi 2017-06-21 15:00 GMT+02:00 Tobias Boege : > On Wed, 21 Jun 2017, Gianluigi wrote: > > After the configuration he gets this result: > > || > > || THESE COMPONENTS ARE DISABLED: > > || - gb.jit > > || - gb.openss

[Gambas-user] Strange behaviour of File.Read

2017-06-21 Thread bill-lancaster via Gambas-user
I must be missing something - any ideas? Gambas3.9.2 Components, gb.form, gb,gui, gb.image This is the code:- Public Sub Button1_Click() Dim s As String s = File.Load(User.Home &/ "Pictures/PhotoFolder.txt") Print s Print IsDir(s) Print IsDir("/home/bill/Pictures/Family/Visits/2000-07-29"

Re: [Gambas-user] Errors compiling on Ubuntu 17.04 zesty

2017-06-21 Thread Benoît Minisini via Gambas-user
Le 21/06/2017 à 15:29, Benoît Minisini a écrit : Le 21/06/2017 à 15:25, Gianluigi a écrit : The libreries you have indicated are the last 5 of the command I suggested, which is not wrong. So I just have to let him to add libssl-dev, but I do not think his problem stems from this, right? Why he

Re: [Gambas-user] Errors compiling on Ubuntu 17.04 zesty

2017-06-21 Thread Benoît Minisini via Gambas-user
Le 21/06/2017 à 15:25, Gianluigi a écrit : The libreries you have indicated are the last 5 of the command I suggested, which is not wrong. So I just have to let him to add libssl-dev, but I do not think his problem stems from this, right? Why he can not run Gambas and get these errors from the

Re: [Gambas-user] Errors compiling on Ubuntu 17.04 zesty

2017-06-21 Thread Gianluigi
The libreries you have indicated are the last 5 of the command I suggested, which is not wrong. So I just have to let him to add libssl-dev, but I do not think his problem stems from this, right? Why he can not run Gambas and get these errors from the terminal? Settings.WriteWindow.393: #20: Bad ar

Re: [Gambas-user] Logging errors in apps running as Application.Daemon

2017-06-21 Thread adamn...@gmail.com
On Wed, 21 Jun 2017 13:51:11 +0200 Tobias Boege wrote: > On Wed, 21 Jun 2017, adamn...@gmail.com wrote: > > On Wed, 21 Jun 2017 02:17:27 -0700 (MST) > > alexchernoff wrote: > > > > > Peace to all, > > > > > > I have some Gb projects that are in Application.Daemon mode. But sometimes > > > if p

Re: [Gambas-user] Errors compiling on Ubuntu 17.04 zesty

2017-06-21 Thread Benoît Minisini via Gambas-user
Le 21/06/2017 à 14:58, Benoît Minisini a écrit : Le 21/06/2017 à 14:56, Gianluigi a écrit : He should have followed this path I suggested: sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 /usr/local/bin/gbi3 /usr/local/bin/gbs3 sudo rm -rf /usr/local/lib/gambas3 sudo rm

Re: [Gambas-user] Errors compiling on Ubuntu 17.04 zesty

2017-06-21 Thread Tobias Boege
On Wed, 21 Jun 2017, Gianluigi wrote: > After the configuration he gets this result: > || > || THESE COMPONENTS ARE DISABLED: > || - gb.jit > || - gb.openssl > || > expected for gb.jit but not for gb.openssl. > Gambas installs but he continues to be unable to use it either by clicking > on the icon

Re: [Gambas-user] Errors compiling on Ubuntu 17.04 zesty

2017-06-21 Thread Benoît Minisini via Gambas-user
Le 21/06/2017 à 14:56, Gianluigi a écrit : He should have followed this path I suggested: sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 /usr/local/bin/gbi3 /usr/local/bin/gbs3 sudo rm -rf /usr/local/lib/gambas3 sudo rm -rf /usr/local/share/gambas3 sudo rm -f /usr/local

Re: [Gambas-user] Errors compiling on Ubuntu 17.04 zesty

2017-06-21 Thread Gianluigi
He should have followed this path I suggested: sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 /usr/local/bin/gbi3 /usr/local/bin/gbs3 sudo rm -rf /usr/local/lib/gambas3 sudo rm -rf /usr/local/share/gambas3 sudo rm -f /usr/local/bin/gambas3 sudo rm -f /usr/local/bin/gambas3.

Re: [Gambas-user] Errors compiling on Ubuntu 17.04 zesty

2017-06-21 Thread Gianluigi
Now the terminal has given this error; Settings.WriteWindow.393: #20: Bad argument Settings.WriteWindow.393 Settings.Write.439 FDebugInfo.UpdateView.848 FMain.Form_Open.78 Project.Main.366 Regards Gianluigi 2017-06-21 14:41 GMT+02:00 Gianluigi : > After the configuration he gets this result: >

Re: [Gambas-user] Errors compiling on Ubuntu 17.04 zesty

2017-06-21 Thread Benoît Minisini via Gambas-user
Le 21/06/2017 à 14:41, Gianluigi a écrit : After the configuration he gets this result: || || THESE COMPONENTS ARE DISABLED: || - gb.jit || - gb.openssl || expected for gb.jit but not for gb.openssl. Gambas installs but he continues to be unable to use it either by clicking on the icon or with th

Re: [Gambas-user] Errors compiling on Ubuntu 17.04 zesty

2017-06-21 Thread Gianluigi
After the configuration he gets this result: || || THESE COMPONENTS ARE DISABLED: || - gb.jit || - gb.openssl || expected for gb.jit but not for gb.openssl. Gambas installs but he continues to be unable to use it either by clicking on the icon or with the gambas3 command from the terminal. Any sugg

Re: [Gambas-user] Logging errors in apps running as Application.Daemon

2017-06-21 Thread PICCORO McKAY Lenz
in the case of deamon redirection, for those using Devuan, Debian and VenenuX the correct way to always see what happened to their daemons process it to strting run by the command "start-stop-daemon" as good choice with proper flags to redirect output... this will heppl to redirect the ouptu and s

Re: [Gambas-user] Logging errors in apps running as Application.Daemon

2017-06-21 Thread Tobias Boege
On Wed, 21 Jun 2017, Tobias Boege wrote: > Attached are two scripts -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk #!/usr/bin/gbs3 Public Sub Main() Print "a" Application.Daemon = True Wait 0.1 ' ensure we daemon'd(?) Print "b" Print 1 / 0 Print "c" End #!/usr

Re: [Gambas-user] Logging errors in apps running as Application.Daemon

2017-06-21 Thread Tobias Boege
On Wed, 21 Jun 2017, adamn...@gmail.com wrote: > On Wed, 21 Jun 2017 02:17:27 -0700 (MST) > alexchernoff wrote: > > > Peace to all, > > > > I have some Gb projects that are in Application.Daemon mode. But sometimes > > if process dies for whatever reason, I can't see what the last error was. I >

Re: [Gambas-user] Logging errors in apps running as Application.Daemon

2017-06-21 Thread adamn...@gmail.com
On Wed, 21 Jun 2017 02:17:27 -0700 (MST) alexchernoff wrote: > Peace to all, > > I have some Gb projects that are in Application.Daemon mode. But sometimes > if process dies for whatever reason, I can't see what the last error was. I > have to run it in a console without daemonizing and wait for

Re: [Gambas-user] Logging errors in apps running as Application.Daemon

2017-06-21 Thread adamn...@gmail.com
On Wed, 21 Jun 2017 02:17:27 -0700 (MST) alexchernoff wrote: > Peace to all, > > I have some Gb projects that are in Application.Daemon mode. But sometimes > if process dies for whatever reason, I can't see what the last error was. I > have to run it in a console without daemonizing and wait for

[Gambas-user] Logging errors in apps running as Application.Daemon

2017-06-21 Thread alexchernoff
Peace to all, I have some Gb projects that are in Application.Daemon mode. But sometimes if process dies for whatever reason, I can't see what the last error was. I have to run it in a console without daemonizing and wait for it to die and show last reason (like "#13: Null object" or something).