Re: [Gambas-user] mediaplayer

2017-08-07 Thread Adrien Prokopowicz
Le Fri, 04 Aug 2017 07:53:50 +0200, Shane a écrit: I think there might be a bug in the mediaplayer as the event mediaplayer_Progress Event is never raised It works correctly for me : I have a label in my app that updates with this event and I use it regularly with the latest builds with

[Gambas-user] QTWebKit

2017-08-07 Thread Moviga Technologies
Until QTWebEngine becomes a viable alternative for QTWebKit (contentEditable and evaluating javascript, 5.9 seems to be getting somwhere??[1] ), there seems to be more hope for keeping gb.gui.qt.webkit alive for still some time to come: https://blogs.gnome.org/mcatanzaro/2017/08/06/endgame-for-we

Re: [Gambas-user] [CRASH REPORT] gbUDisk2

2017-08-07 Thread Adrien Prokopowicz
Le Sun, 06 Aug 2017 17:56:27 +0200, Tony Morehen a écrit: Hello all, Damn, my program crashed Gambas this way : 1) Run the program 2) Plug in a usb drive 3) Click the mount button, mounts OK 4) Click the unmount button Program crashes Aborted(6) Console shows realloc error invalid old size

Re: [Gambas-user] Shell command formating

2017-08-07 Thread T Lee Davidson
On 08/06/2017 09:52 PM, Shane wrote: So again on the shell command I have this code Dim result As String Dim command As String path = File.SetExt(file_name, "ihx") command = "stm8flash -c stlinkv2 -p " & stmdevice & " -w " & path Shell command To result FMain.TextArea1.Text = result but t

Re: [Gambas-user] Shell command

2017-08-07 Thread Tony Morehen
Shane, I can reproduce your crash here on 3.9.2. It's cause is the line: Settings["Options/stmDevice"] = ComboBox1.Current If that line is changed to: Settings["Options/stmDevice"] = ComboBox1.Current.Text or the simpler, and in my mind preferred: Settings["Options/stmDevice"] = ComboBox1.T

Re: [Gambas-user] Shell command formating

2017-08-07 Thread Tony Morehen
Try changing command to: command = "stm8flash -c stlinkv2 -p " & stmdevice & " -w " & path & " 2>1" On 2017-08-06 09:52 PM, Shane wrote: command = "stm8flash -c stlinkv2 -p " & stmdevice & " -w " & path -- Check ou

Re: [Gambas-user] [CRASH REPORT] gbUDisk2

2017-08-07 Thread Tony Morehen
#8173 seems to have fixed everything, including a crash when I enable dbus signalling, which I haven't brought up yet. Now I have to figure out how to install 8173 to all my PCs Some advice please. Currently, I have many calls like DBus["system://org.freedesktop.UDisks2"]["/org/freedesktop/U

[Gambas-user] Packages for Mint 18.2

2017-08-07 Thread Pino Zollo
Please edit the page http://gambas.sourceforge.net/en/main.html# these are the needed packages: sudo apt-get install build-essential g++ automake autoconf libtool libbz2-dev libmysqlclient-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev libglib2.0-dev libgtk2.0-dev libcurl4-gnutls-

Re: [Gambas-user] Shell command

2017-08-07 Thread Shane
of cause missed that looking in wrong place Thanks Tony On 08/08/17 00:17, Tony Morehen wrote: Shane, I can reproduce your crash here on 3.9.2. It's cause is the line: Settings["Options/stmDevice"] = ComboBox1.Current If that line is changed to: Settings["Options/stmDevice"] = ComboBox1.C

Re: [Gambas-user] Shell command formating

2017-08-07 Thread Shane
That worked great T Lee thanks On 08/08/17 00:00, T Lee Davidson wrote: On 08/06/2017 09:52 PM, Shane wrote: So again on the shell command I have this code Dim result As String Dim command As String path = File.SetExt(file_name, "ihx") command = "stm8flash -c stlinkv2 -p " & stmdevice &

Re: [Gambas-user] Shell command formating

2017-08-07 Thread Shane
thanks tony this works just needs the & in front of the 1 On 08/08/17 00:30, Tony Morehen wrote: Try changing command to: command = "stm8flash -c stlinkv2 -p " & stmdevice & " -w " & path & " 2>1" On 2017-08-06 09:52 PM, Shane wrote: command = "stm8flash -c stlinkv2 -p " & stmdevice & " -