Re: [Gambas-user] Pre-release of Gambas 3.9.0 (episode II) - BUG!!

2016-08-26 Thread Christof Thalhofer
Am 27.08.2016 um 00:48 schrieb Jussi Lahtinen:
> Well then I guess the feature has a bug.

Ok thank you, I'll write a bug.

Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

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


Re: [Gambas-user] Pre-release of Gambas 3.9.0 (episode II) - BUG!!

2016-08-26 Thread Jussi Lahtinen
Well then I guess the feature has a bug.


Jussi

On Fri, Aug 26, 2016 at 9:23 PM, Christof Thalhofer 
wrote:

> Am 26.08.2016 um 20:02 schrieb Jussi Lahtinen:
> > Quickly looking the only difference is with indentation..?
>
> Yes, thank you, seems to be so. And it seems to be only in the function
> LagerAddiereLieferungProduktinLager
>
> > I guess your IDE preferences say format code at load
>
> Yes. With tab as 4 spaces.
>
> > Whether the
> > code is beautified properly or not is job for someone else to judge.
>
> In the function LagerAddiereLieferungProduktinLager after the first
> "Else" the indentation goes wrong.
>
> Strange. It is only in this module and the project has over 25000 loc.
>
>
> Alles Gute
>
> Christof Thalhofer
>
> --
> Dies ist keine Signatur
>
> 
> --
> ___
> 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


Re: [Gambas-user] Pre-release of Gambas 3.9.0 (episode II) - BUG!!

2016-08-26 Thread Christof Thalhofer
Am 26.08.2016 um 20:02 schrieb Jussi Lahtinen:
> Quickly looking the only difference is with indentation..?

Yes, thank you, seems to be so. And it seems to be only in the function
LagerAddiereLieferungProduktinLager

> I guess your IDE preferences say format code at load 

Yes. With tab as 4 spaces.

> Whether the
> code is beautified properly or not is job for someone else to judge.

In the function LagerAddiereLieferungProduktinLager after the first
"Else" the indentation goes wrong.

Strange. It is only in this module and the project has over 25000 loc.


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

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


Re: [Gambas-user] Pre-release of Gambas 3.9.0 (episode II) - BUG!!

2016-08-26 Thread Jussi Lahtinen
Quickly looking the only difference is with indentation..?
I guess your IDE preferences say format code at load Whether the
code is beautified properly or not is job for someone else to judge.


Jussi

On Fri, Aug 26, 2016 at 12:48 PM, Christof Thalhofer 
wrote:

> Hi,
>
> I installed Gambas Beta from Launchpad and tested it with my projects.
> By opening one of them gambas3 destroys a module.
>
> I attach them, the original is MLagerverwaltung.module, the destroyed
> one is MLagerverwaltung.module.destroyed.
>
> Shall I write a bug?
>
> Alles Gute
>
> Christof Thalhofer
>
> --
> Dies ist keine Signatur
>
> 
> --
>
> ___
> 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


Re: [Gambas-user] Pre-release of Gambas 3.9.0 (episode II) - BUG!!

2016-08-26 Thread Christof Thalhofer
Am 26.08.2016 um 12:22 schrieb Christof Thalhofer:
> Ahrgh!
> 
> After I removed Gambas Beta and reinstalled Gambas 3.8.4 from Stable it
> does not start any more, instead throws this error:

Ok, this problem is gone, had some 3.9.0.90 relicts on the computer
after removement of 3.9


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

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


Re: [Gambas-user] Pre-release of Gambas 3.9.0 (episode II) - BUG!!

2016-08-26 Thread Christof Thalhofer
Ahrgh!

After I removed Gambas Beta and reinstalled Gambas 3.8.4 from Stable it
does not start any more, instead throws this error:

--8<
This application has raised an unexpected
error and must abort.

[13] Null object.
Picture._get.85
--8<

Now I cannot work anymore ... :/

Nice weather here, so I'll go swimming for a while :-)


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

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


Re: [Gambas-user] Pre-release of Gambas 3.9.0 (episode II) - BUG!!

2016-08-26 Thread Christof Thalhofer
Hi,

I installed Gambas Beta from Launchpad and tested it with my projects.
By opening one of them gambas3 destroys a module.

I attach them, the original is MLagerverwaltung.module, the destroyed
one is MLagerverwaltung.module.destroyed.

Shall I write a bug?

Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur
' Gambas module file

Export

'' Nimmt eine neue Charge auf und liefert
'' den Primarykey der Charge

Public Function ChargeInLagerAufnehmen(PkRohproduktBestand As Long, sCharge As 
String, Lnr As Long, menge As Float) As Long

Dim qry, msg As String
Dim res As Result
Dim pkcharge As Long

'testen, ob das Rohprodukt bei diesem hersteller
'bereits eingerichtet ist
pkcharge = GetPkCharge(sCharge, Lnr, PkRohproduktBestand)

' If GefundeneAlteCharge <> Null And GefundeneAlteCharge <> Charge Then
If pkcharge > 0 Then
msg = "Diese Charge ist schon registriert, aber mit einer " &
"anders geschriebenen Chargennummer. Bitte diese verwenden." '& 
gb.lf & GefundeneAlteCharge
Message.Warning(msg)
Goto raus_ChargeInLagerAufnehmen
End If

qry = "SELECT fkproduktroh_bestand from tblieprod where Lnr = " &
Lnr & " and fkproduktroh_bestand = " & PkRohproduktBestand & ";"

res = DBs.Deg.Exec(qry)

If res.Count = 0 Then
msg = "Bei dem gewählten Hersteller ist das Rohprodukt nicht 
eingerichtet. " &
"Bitte erst in den Produkten des Herstellers anlegen."
Message.Warning(qry)
Goto raus_ChargeInLagerAufnehmen
End If

' - Charge speichern
'nächste chargennummer
qry = "SELECT nextval('tbproduktcharge_pkproduktcharge_seq');"
res = DBs.Deg.Exec(qry)
pkcharge = res[0]

'neue charge erstellen
qry = "INSERT INTO tbproduktcharge (pkproduktcharge, " &
"bestand, Lnr, herstellercharge, fkproduktroh_bestand, " &
"herstellercharge_komp)VALUES " &
"(" & pkcharge & "," & menge & "," &
Lnr & ",'" & sCharge & "'," &
PkRohproduktBestand & ", '" & DegString.LowerCompact(sCharge) & "');"
DBs.Deg.Exec(qry)

raus_ChargeInLagerAufnehmen:
Return pkcharge

End

'' testet, ob die eingegebene Chargennummer schon einmal vorhanden ist
'' sorgt dafür mit einer Postgres-Regex für entfernung von space und 
sonderzeichen
'' liefert den primarykey der charge oder 0 wenn nicht gefunden

Public Function GetPkCharge(Charge As String, Lnr As Long, PkProduktrohBestand 
As Long) As Long

Dim origchargename As String
Dim qry As String
Dim res As Result

origchargename = DegString.LowerCompact(Charge)

qry = "select pkproduktcharge from tbproduktcharge " &
"where Lnr = " & Lnr & " and herstellercharge_komp = '" & 
origchargename &
"' and fkproduktroh_bestand = " & PkProduktrohBestand & ";"
res = Dbs.Deg.Exec(qry)

If res.Count > 0 Then
Return res!pkproduktcharge
Else
Return 0
End If

End

'' testet, ob ein gegebener Mengenname (Stück, l, 10erPack...) für ein
'' Rohprodukt in der Lagerverwaltung richtig ist

Function TesteMengennameFuerRohprodukt(fkproduktroh_bestand As Long, mengenname 
As String) As Boolean

Dim ergebnis As Boolean

Dim res As Result
Dim qry As String
Dim lagermengenname As String
Dim inttest As Integer

qry = "select mengenname from tbproduktroh_bestand where 
pkproduktroh_bestand = " & fkproduktroh_bestand & ";"
res = DBs.Deg.Exec(qry)
lagermengenname = res!mengenname

'Schauen, ob der übergebene Mengenname zum Lagermengennamen passt
qry = "select count (*) as anzahl from tbmengenfaktor where vergleichname = 
'" &
lagermengenname & "' AND mengenname = '" & mengenname & "';"
res = DBs.Deg.Exec(qry)
inttest = res!anzahl

If inttest > 0 Then
ergebnis = True
Else
ergebnis = False
End If

Return ergebnis

End

'' Übernimmt ein Rohprodukt eines Herstellers in das Lager.
'' Reduziert, falls vorhanden, Kontrakte.
''
'' Achtung diese Funktion übernimmt nur
'' Grundmengen, wie Stück, L, m, etc.
'' Faktoren, wie 6erPack etc müssen vorher umgerechnet worden sein
'' Liefert cancel = false bei erfolg
''
'' Charge kann Null oder "" sein

Public Function LagerAddiereLieferungProduktinLager(Lnr As Long, 
PkLiebestellDetail As Long, PkRohproduktBestand As Long, Menge As Float, 
Optional sCharge As String) As Boolean

Dim cancel As Boolean = True
Dim res As Result
Dim qry As String
Dim strmenge As String
Dim sql As New SqlWrapper(DBs.Deg)
Dim PkCharge As Long

strmenge = DegString.KommaZuPunkt(Menge)

'spiele die verschiedenen fälle durch
'1. es gibt keine Charge
'hier werden keine kontrakte upgedatet - kein kontrakt ohne charge!

If sCharge = Null Then
' - Produkt ohne Charge

' - Test ob Charge 

Re: [Gambas-user] Pre-release of Gambas 3.9.0 (episode II)

2016-08-25 Thread Sebastian Kulesz
It will be available in the Beta PPA
 in a
few hours, Launchpad has half of its build farm offline for some reason...

On Thu, Aug 25, 2016 at 9:41 PM, Benoît Minisini <
gam...@users.sourceforge.net> wrote:

> Hi,
>
> Here is a new pre-release of Gambas 3.9. Download it at:
>
> https://sourceforge.net/projects/gambas/files/gambas3/
> gambas3-3.9.0.tar.bz2/download
>
> This new pre-relase package has the following fixes:
>
> * TerminalView is refreshed correctly even if data is coming slowly.
> * Packager now supports PNG icons up to 1024x1024 pixels in Debian &
> Ubuntu packages.
> * Shell.RmDir() works correctly now.
> * The Window.Resizable property works correctly in gb.gtk3.
> * Some bug fixes in gb.gtk and gb.gtk3.
> * Some bug fixes in MenuButton.
>
> I couldn't reproduce the Process.Wait problem reported by Jussi
> Lahtinen. If someone else has the same problem, please tell!
>
> Otherwise, report any other problem you have with this package, even
> those you already have reported forgotten by me.
>
> Regards,
>
> --
> Benoît Minisini
>
> 
> --
> ___
> 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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-22 Thread Ron
I can reproduce a signal 11 crash with gambas 3.9, so it seems related
to gtk_text_buffer code.

See
BUG REPORT 979

Kind Regards,
Ron.

2016-08-22 0:27 GMT+02:00 PICCORO McKAY Lenz :
> openssl version are 0.9.8o
>
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
>
> 2016-08-21 12:15 GMT-04:00 Tobias Boege :
>
>> On Sun, 21 Aug 2016, PICCORO McKAY Lenz wrote:
>> > i have error compiling, agains openssl 0.X not 1.X
>> >
>> >   CC gb_openssl_la-main.lo
>> > CC gb_openssl_la-c_digest.lo
>> > c_digest.c: In function ‘get_dlist’:
>> > c_digest.c:51: warning: implicit declaration of function
>> ‘EVP_MD_do_all’
>> > c_digest.c: In function ‘EVP_MD_CTX_reset’:
>> > c_digest.c:174: warning: implicit declaration of function
>> > ‘EVP_PKEY_CTX_free’
>> > c_digest.c:174: error: ‘EVP_MD_CTX’ has no member named ‘pctx’
>> >
>>
>> Apparently that member was introduced on 22 May 2006 (apparently OpenSSL
>> 0.9.7k) and removed again on 27 Nov 2015 (according to git tags, the
>> versions
>> 1.0.2e, 1.0.1q, 0.9.8zh and 1.1.0pre1 all are the first tags in their
>> respective version numbers which contain this commit).
>>
>> The use of the pctx member there is for forward compatibility with OpenSSL
>> 1.1, which makes its structs opaque. So either you have a version from
>> before
>> 2006 or after 2015 which has opaque structures already but still a version
>> macro
>>
>> OPENSSL_VERSION_NUMBER < 0x1010L
>>
>> which I was told was an indicator of the API change.
>>
>> So, in any case you need to be more specific about your OpenSSL version.
>> 0.x could be anything between 1998 and 2015.
>>
>> Regards,
>> Tobi
>>
>> --
>> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>>
>> 
>> --
>> ___
>> 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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-21 Thread PICCORO McKAY Lenz
openssl version are 0.9.8o

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2016-08-21 12:15 GMT-04:00 Tobias Boege :

> On Sun, 21 Aug 2016, PICCORO McKAY Lenz wrote:
> > i have error compiling, agains openssl 0.X not 1.X
> >
> >   CC gb_openssl_la-main.lo
> > CC gb_openssl_la-c_digest.lo
> > c_digest.c: In function ‘get_dlist’:
> > c_digest.c:51: warning: implicit declaration of function
> ‘EVP_MD_do_all’
> > c_digest.c: In function ‘EVP_MD_CTX_reset’:
> > c_digest.c:174: warning: implicit declaration of function
> > ‘EVP_PKEY_CTX_free’
> > c_digest.c:174: error: ‘EVP_MD_CTX’ has no member named ‘pctx’
> >
>
> Apparently that member was introduced on 22 May 2006 (apparently OpenSSL
> 0.9.7k) and removed again on 27 Nov 2015 (according to git tags, the
> versions
> 1.0.2e, 1.0.1q, 0.9.8zh and 1.1.0pre1 all are the first tags in their
> respective version numbers which contain this commit).
>
> The use of the pctx member there is for forward compatibility with OpenSSL
> 1.1, which makes its structs opaque. So either you have a version from
> before
> 2006 or after 2015 which has opaque structures already but still a version
> macro
>
> OPENSSL_VERSION_NUMBER < 0x1010L
>
> which I was told was an indicator of the API change.
>
> So, in any case you need to be more specific about your OpenSSL version.
> 0.x could be anything between 1998 and 2015.
>
> Regards,
> Tobi
>
> --
> "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>
> 
> --
> ___
> 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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-21 Thread Tobias Boege
On Sun, 21 Aug 2016, PICCORO McKAY Lenz wrote:
> i have error compiling, agains openssl 0.X not 1.X
> 
>   CC gb_openssl_la-main.lo
> CC gb_openssl_la-c_digest.lo
> c_digest.c: In function ‘get_dlist’:
> c_digest.c:51: warning: implicit declaration of function ‘EVP_MD_do_all’
> c_digest.c: In function ‘EVP_MD_CTX_reset’:
> c_digest.c:174: warning: implicit declaration of function
> ‘EVP_PKEY_CTX_free’
> c_digest.c:174: error: ‘EVP_MD_CTX’ has no member named ‘pctx’
> 

Apparently that member was introduced on 22 May 2006 (apparently OpenSSL
0.9.7k) and removed again on 27 Nov 2015 (according to git tags, the versions
1.0.2e, 1.0.1q, 0.9.8zh and 1.1.0pre1 all are the first tags in their
respective version numbers which contain this commit).

The use of the pctx member there is for forward compatibility with OpenSSL
1.1, which makes its structs opaque. So either you have a version from before
2006 or after 2015 which has opaque structures already but still a version
macro

OPENSSL_VERSION_NUMBER < 0x1010L

which I was told was an indicator of the API change.

So, in any case you need to be more specific about your OpenSSL version.
0.x could be anything between 1998 and 2015.

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-21 Thread PICCORO McKAY Lenz
i have error compiling, agains openssl 0.X not 1.X

  CC gb_openssl_la-main.lo
CC gb_openssl_la-c_digest.lo
c_digest.c: In function ‘get_dlist’:
c_digest.c:51: warning: implicit declaration of function ‘EVP_MD_do_all’
c_digest.c: In function ‘EVP_MD_CTX_reset’:
c_digest.c:174: warning: implicit declaration of function
‘EVP_PKEY_CTX_free’
c_digest.c:174: error: ‘EVP_MD_CTX’ has no member named ‘pctx’


Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2016-08-20 19:38 GMT-04:00 Benoît Minisini :

> Le 20/08/2016 à 18:22, Benoît Minisini a écrit :
> > Le 20/08/2016 à 17:46, Jussi Lahtinen a écrit :
> >> You have ignored my report of the unreliability of Process.Wait method.
> >> Have you forgotten it or is there some other reason?
> >
> > Mmm... No, I forgot it. No other reason!
> >
> >> Run the attached project few times and you will see that the
> process.wait
> >> doesn't always wait for the process to complete (at least on Linux Mint,
> >> details below).
> >>
> >>
> >> Jussi
> >
> > I will look at it. Anyway, it does not matter if I fix it in 3.8.4 or
> > 3.9.0. What matters is -when-.
> >
>
> I tried on a Mint VirtualBox VM, and still have "Test passed!" as
> result. Can you tell me exactly where it fails in the code?
>
> --
> Benoît Minisini
>
> 
> --
> ___
> 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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-21 Thread Benoît Minisini
Le 21/08/2016 à 02:56, Jussi Lahtinen a écrit :
>> I tried on a Mint VirtualBox VM, and still have "Test passed!" as
>> result. Can you tell me exactly where it fails in the code?
>>
>
> Randomly in module mTest at lines 1685, 1694, 1704 and 1714. So at every
> occurrence of code 'If sTest <> "test" & gb.NewLine Then'.
> Every time it fails the string sTest is empty, this should never occur if
> the process has been ran. Or why else the string is empty?
>
> See attached screenshot.
>
> Now I realize that there is property "Blocking", which is false... so could
> it be that the process is read too early and process.wait only waits for
> some input..?

No. Blocking is for stream read & write methods. The Wait() method does 
not take them into account. It just waits for the process end. The 
problem is that on your system the input stream from the process is not 
flushed.

If 'sTest' is empty, that means that the Read event is never called, 
i.e. either the process output file descriptor is never ready to be 
read, or is ready to be read but is void (it is theoritically possible).

I have run the four problematic tests thousands of time, and everything 
works there.

Normally, when I (the interpreter) catch the process end, I carefully 
send process Read events until the received pipe is flushed. So I don't 
understand the behaviour on your system.

If other people could run the same four tests, it may help fix the 
problem...

-- 
Benoît Minisini

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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-21 Thread Ron
When using hGet.Auth = Net.AuthDigestIE in a http post request, I get
error that it's not a unknown authentication method.
Also have some strange crashes (sig 11) when rerunning same request
(without above line) need to get more info.

[System]
Gambas=3.9
OperatingSystem=Linux
Kernel=4.4.0-34-generic
Architecture=x86_64
Distribution=Ubuntu 16.04.1 LTS
Desktop=UNITY
Theme=Gtk
Language=en_US.UTF-8
Memory=16015M

[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.802.0
GTK+2=libgtk-x11-2.0.so.0.2400.30
GTK+3=libgtk-3.so.0.1800.9
OpenGL=libGL.so.1.0.0
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.58.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.5.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6


Regards,
Ron.

2016-08-21 2:56 GMT+02:00 Jussi Lahtinen :
>> I tried on a Mint VirtualBox VM, and still have "Test passed!" as
>> result. Can you tell me exactly where it fails in the code?
>>
>
> Randomly in module mTest at lines 1685, 1694, 1704 and 1714. So at every
> occurrence of code 'If sTest <> "test" & gb.NewLine Then'.
> Every time it fails the string sTest is empty, this should never occur if
> the process has been ran. Or why else the string is empty?
>
> See attached screenshot.
>
> Now I realize that there is property "Blocking", which is false... so could
> it be that the process is read too early and process.wait only waits for
> some input..?
>
>
> Jussi
>
> --
>
> ___
> 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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-20 Thread Jussi Lahtinen
> I tried on a Mint VirtualBox VM, and still have "Test passed!" as
> result. Can you tell me exactly where it fails in the code?
>

Randomly in module mTest at lines 1685, 1694, 1704 and 1714. So at every
occurrence of code 'If sTest <> "test" & gb.NewLine Then'.
Every time it fails the string sTest is empty, this should never occur if
the process has been ran. Or why else the string is empty?

See attached screenshot.

Now I realize that there is property "Blocking", which is false... so could
it be that the process is read too early and process.wait only waits for
some input..?


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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-20 Thread Benoît Minisini
Le 20/08/2016 à 18:22, Benoît Minisini a écrit :
> Le 20/08/2016 à 17:46, Jussi Lahtinen a écrit :
>> You have ignored my report of the unreliability of Process.Wait method.
>> Have you forgotten it or is there some other reason?
>
> Mmm... No, I forgot it. No other reason!
>
>> Run the attached project few times and you will see that the process.wait
>> doesn't always wait for the process to complete (at least on Linux Mint,
>> details below).
>>
>>
>> Jussi
>
> I will look at it. Anyway, it does not matter if I fix it in 3.8.4 or
> 3.9.0. What matters is -when-.
>

I tried on a Mint VirtualBox VM, and still have "Test passed!" as 
result. Can you tell me exactly where it fails in the code?

-- 
Benoît Minisini

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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-20 Thread PICCORO McKAY Lenz
i will compile in few hours, for older linux that are in older machines

the 3.8.4 have a prblem with editor, the editor area when cursor goes to
limit of, the editor screen dont follow the cursor, until 3 or 4 columns..
then it follow and editor show the rest of colums if have a long write
line..

i'll paste a sceeenshot later if persist in 3.9

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com

2016-08-20 18:04 GMT-04:00 Benoît Minisini :

> Le 20/08/2016 à 18:48, Ron a écrit :
> > Compiles and runs (first tests) fine on Ubuntu 16.04 LTS 64 bit.
> >
> > Although I get a lot of gtk and gnome-keyring related deprecated
> > warnings during make, see attached logs.
> > It's not a big problem.
> >
> > llvm needs to be downgraded from 3.8 to 3.5 to be found.
> >
> > Regards,
> > Ron.
> >
>
> You don't have to downgrade llvm. You can install both llvm 3.5 and the
> latest version on your system, provided that you set the LLVM_CONFIG
> environmental variable to llvm-config-3.5.
>
> In another word, compile Gambas that way;
>
> $ ./reconf
> $ LLVM_CONFIG=llvm-config-3.5 ./configure -C
> $ make
>
> Regards,
>
> --
> Benoît Minisini
>
> 
> --
> ___
> 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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-20 Thread Benoît Minisini
Le 20/08/2016 à 18:48, Ron a écrit :
> Compiles and runs (first tests) fine on Ubuntu 16.04 LTS 64 bit.
>
> Although I get a lot of gtk and gnome-keyring related deprecated
> warnings during make, see attached logs.
> It's not a big problem.
>
> llvm needs to be downgraded from 3.8 to 3.5 to be found.
>
> Regards,
> Ron.
>

You don't have to downgrade llvm. You can install both llvm 3.5 and the 
latest version on your system, provided that you set the LLVM_CONFIG 
environmental variable to llvm-config-3.5.

In another word, compile Gambas that way;

$ ./reconf
$ LLVM_CONFIG=llvm-config-3.5 ./configure -C
$ make

Regards,

-- 
Benoît Minisini

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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-20 Thread Ron
Compiles and runs (first tests) fine on Ubuntu 16.04 LTS 64 bit.

Although I get a lot of gtk and gnome-keyring related deprecated
warnings during make, see attached logs.
It's not a big problem.

llvm needs to be downgraded from 3.8 to 3.5 to be found.

Regards,
Ron.

2016-08-20 17:59 GMT+02:00 Fabien Bodard :
> is the problem of compilation of gb.git on archlinux is resolved ?
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user


logs.tar.gz
Description: GNU Zip compressed data
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-20 Thread Christof Thalhofer
Hi,

Am 20.08.2016 um 16:45 schrieb Benoît Minisini:

> Finally, here is the initial source package of Gambas 3.9.0!

Here it seems to run without caveats. Just a question about libraries:

When I build and install my project on Debian/Ubuntu, my libraries will
install in /usr/bin as it was usual before. Right?

There is no installation of libraries in /usr/lib/gambas3/vendor

While programming, libs are in
~/.local/share/gambas3/lib/vendor

Is that right?


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-20 Thread Christof Thalhofer
Am 20.08.2016 um 17:55 schrieb Sebastian Kulesz:

> I'm updating it now. It will be live in a few hours.
> Anyway, for the Daily PPA it will just be a version bump, you already have
> all the changes there. :P

ok, great! Thank you! So I can test.

Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-20 Thread Benoît Minisini
Le 20/08/2016 à 17:46, Jussi Lahtinen a écrit :
> You have ignored my report of the unreliability of Process.Wait method.
> Have you forgotten it or is there some other reason?

Mmm... No, I forgot it. No other reason!

> Run the attached project few times and you will see that the process.wait
> doesn't always wait for the process to complete (at least on Linux Mint,
> details below).
>
>
> Jussi

I will look at it. Anyway, it does not matter if I fix it in 3.8.4 or 
3.9.0. What matters is -when-.

-- 
Benoît Minisini

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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-20 Thread Sebastian Kulesz
Benoît, beware that the version number was only updated on the 3.9 branch.
On trunk, the version is still 3.8.90!

On Sat, Aug 20, 2016 at 12:59 PM, Fabien Bodard  wrote:

> is the problem of compilation of gb.git on archlinux is resolved ?
>
> 
> --
> ___
> 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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-20 Thread Fabien Bodard
is the problem of compilation of gb.git on archlinux is resolved ?

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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-20 Thread Sebastian Kulesz
On Sat, Aug 20, 2016 at 12:31 PM, Christof Thalhofer 
wrote:

> Hi,
>
> Am 20.08.2016 um 16:45 schrieb Benoît Minisini:
>
> > Finally, here is the initial source package of Gambas 3.9.0!
> >
> > https://sourceforge.net/projects/gambas/files/gambas3/
> gambas3-3.9.0.tar.bz2/download
> >
> > Please compile and install it as much as you can, and report any
> > problem. Before I make it official of course. :-)
> >
> > I have to write the changelog now...
>
> Very cool! Is the Gambas daily in Launchpad a current version?
>
>
I'm updating it now. It will be live in a few hours.
Anyway, for the Daily PPA it will just be a version bump, you already have
all the changes there. :P


>
> Alles Gute
>
> Christof Thalhofer
>
> --
> Dies ist keine Signatur
>
> 
> --
> ___
> 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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-20 Thread Christof Thalhofer
Hi,

Am 20.08.2016 um 16:45 schrieb Benoît Minisini:

> Finally, here is the initial source package of Gambas 3.9.0!
> 
> https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.9.0.tar.bz2/download
> 
> Please compile and install it as much as you can, and report any 
> problem. Before I make it official of course. :-)
> 
> I have to write the changelog now...

Very cool! Is the Gambas daily in Launchpad a current version?


Alles Gute

Christof Thalhofer

-- 
Dies ist keine Signatur

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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-20 Thread Jussi Lahtinen
You have ignored my report of the unreliability of Process.Wait method.
Have you forgotten it or is there some other reason?
Run the attached project few times and you will see that the process.wait
doesn't always wait for the process to complete (at least on Linux Mint,
details below).


Jussi

[System]
Gambas=3.8.90 r7858
OperatingSystem=Linux
Kernel=3.19.0-32-generic
Architecture=x86_64
Distribution=Linux Mint 17.3 Rosa
Desktop=CINNAMON
Theme=Gtk
Language=en_US.UTF-8
Memory=7984M

[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+2=libgtk-x11-2.0.so.0.2400.23
GTK+3=libgtk-3.so.0.1000.8
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
QT4=libQtCore.so.4.8.6
QT5=libQt5Core.so.5.2.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CLUTTER_BACKEND=x11
CLUTTER_IM_MODULE=xim
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-Z9Ej6whv2f,guid=ebb64f5d7153632512a957b8521d
DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path
DESKTOP_SESSION=cinnamon
DISPLAY=:0.0
GB_GUI=gb.qt4
GB_PROFILE_MAX=1000
GDMSESSION=cinnamon
GDM_XSERVER_LOCATION=local
GIO_LAUNCHED_DESKTOP_FILE=/Desktop/Gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=2932
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-ZRAMRF
GPG_AGENT_INFO=/run/user/1000/keyring-ZRAMRF/gpg:0:1
GTK_IM_MODULE=xim
HOME=
INSIDE_NEMO_PYTHON=
LANG=en_US.UTF-8
LC_ADDRESS=fi_FI.UTF-8
LC_IDENTIFICATION=fi_FI.UTF-8
LC_MEASUREMENT=fi_FI.UTF-8
LC_MONETARY=fi_FI.UTF-8
LC_NAME=fi_FI.UTF-8
LC_NUMERIC=fi_FI.UTF-8
LC_PAPER=fi_FI.UTF-8
LC_TELEPHONE=fi_FI.UTF-8
LC_TIME=en_US.UTF-8
LOGNAME=
MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path
MDMSESSION=cinnamon
MDM_LANG=en_US.UTF-8
MDM_XSERVER_LOCATION=local
PAPERSIZE=letter
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=
QT4_IM_MODULE=xim
QT_STYLE_OVERRIDE=gtk
SESSION_MANAGER=local/:@/tmp/.ICE-unix/1633,unix/:/tmp/.ICE-unix/1633
SHELL=/bin/bash
SSH_AGENT_PID=1699
SSH_AUTH_SOCK=/run/user/1000/keyring-ZRAMRF/ssh
TEXTDOMAIN=im-config
TEXTDOMAINDIR=/usr/share/locale/
TZ=:/etc/localtime
USER=
USERNAME=
WINDOWPATH=8
XAUTHORITY=/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg
XDG_CURRENT_DESKTOP=X-Cinnamon
XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/usr/local/share/:/usr/share/:/usr/share/mdm/
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_COOKIE=5a45fa29109f0ee2389b1b0355283726-1471697437.492558-2108773485
XDG_SESSION_DESKTOP=cinnamon
XDG_SESSION_ID=c1
XDG_VTNR=8
XMODIFIERS=@im=none



On Sat, Aug 20, 2016 at 5:45 PM, Benoît Minisini <
gam...@users.sourceforge.net> wrote:

> Hi,
>
> Finally, here is the initial source package of Gambas 3.9.0!
>
> https://sourceforge.net/projects/gambas/files/gambas3/gambas
> 3-3.9.0.tar.bz2/download
>
> Please compile and install it as much as you can, and report any
> problem. Before I make it official of course. :-)
>
> I have to write the changelog now...
>
> Best regards,
>
> --
> Benoît Minisini
>
> 
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


GambasTestercmd-0.9.49.tar.gz
Description: GNU Zip compressed data
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-20 Thread Benoît Minisini
Le 20/08/2016 à 17:01, Karl Reinl a écrit :
> Am Samstag, den 20.08.2016, 16:45 +0200 schrieb Benoît Minisini:
>> Hi,
>>
>> Finally, here is the initial source package of Gambas 3.9.0!
>>
>> https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.9.0.tar.bz2/download
>>
>> Please compile and install it as much as you can, and report any
>> problem. Before I make it official of course. :-)
>>
>> I have to write the changelog now...
>>
>> Best regards,
>>
>
> Salut Benoît,
>
> compiled and installed fine, missed statusicon
> gbi3: warning: component gb.dbus.statusicon not found
>

There is no 'gb.dbus.statusicon' component in the sources. Is it a rest 
of an old Gambas installation?

-- 
Benoît Minisini

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


Re: [Gambas-user] Pre-release of Gambas 3.9.0

2016-08-20 Thread Karl Reinl
Am Samstag, den 20.08.2016, 16:45 +0200 schrieb Benoît Minisini:
> Hi,
> 
> Finally, here is the initial source package of Gambas 3.9.0!
> 
> https://sourceforge.net/projects/gambas/files/gambas3/gambas3-3.9.0.tar.bz2/download
> 
> Please compile and install it as much as you can, and report any 
> problem. Before I make it official of course. :-)
> 
> I have to write the changelog now...
> 
> Best regards,
> 

Salut Benoît,

compiled and installed fine, missed statusicon
gbi3: warning: component gb.dbus.statusicon not found
 
[System]
Gambas=3.8.90 r7858
OperatingSystem=Linux
Kernel=3.2.0-101-generic
Architecture=x86
Distribution=Ubuntu 14.04.5 LTS
Desktop=UNITY
Theme=Plastique
Language=de_DE.UTF-8
Memory=3025M

[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+2=libgtk-x11-2.0.so.0.2400.23
GTK+3=libgtk-3.so.0.1000.8
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
QT4=libQtCore.so.4.8.6
QT5=libQt5Core.so.5.2.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-zGxJlDxII0
DEFAULTS_PATH=/usr/share/gconf/gnome-fallback-compiz.default.path
DESKTOP_SESSION=gnome-fallback-compiz
DISPLAY=:0.0
GB_GUI=gb.qt4
GDMSESSION=gnome-fallback-compiz
GDM_LANG=de_DE
GIO_LAUNCHED_DESKTOP_FILE=/.local/share/applications/Gambas
III.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=6090
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-3MpmaK
GNOME_KEYRING_PID=3256
GPG_AGENT_INFO=/run/user/1000/keyring-3MpmaK/gpg:0:1
GTK_MODULES=canberra-gtk-module:overlay-scrollbar:unity-gtk-module
HOME=
IM_CONFIG_PHASE=1
INSTANCE=
JOB=dbus
LANG=de_DE.UTF-8
LANGUAGE=de_DE:en
LC_MESSAGES=de_DE.UTF-8
LOGNAME=
MANDATORY_PATH=/usr/share/gconf/gnome-fallback-compiz.mandatory.path
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:/usr/local/games
PWD=
QT_NO_GLIB=1
QT_QPA_PLATFORMTHEME=appmenu-qt5
SELINUX_INIT=YES
SESSION=gnome-fallback-compiz
SESSIONTYPE=gnome-session
SESSION_MANAGER=local/:@/tmp/.ICE-unix/3664,unix/:/tmp/.ICE-unix/3664
SHELL=/bin/bash
SHLVL=0
SPEECHD_PORT=7560
SSH_AUTH_SOCK=/run/user/1000/keyring-3MpmaK/ssh
TEXTDOMAIN=im-config
TEXTDOMAINDIR=/usr/share/locale/
TZ=:/etc/localtime
UBUNTU_MENUPROXY=0
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/3258
USER=
USERNAME=
WINDOWPATH=7
XAUTHORITY=/var/run/gdm/auth-for--0RnnM6/database
XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome-fallback-compiz:/usr/share/upstart/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=Unity
XDG_DATA_DIRS=/usr/share/gnome-fallback-compiz:/usr/share/gnome:/usr/local/share/:/usr/share/
XDG_MENU_PREFIX=gnome-flashback-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_ID=c2
XDG_VTNR=7


-- 
Amicalement
Charlie


gambas3_rev_7858.logs.tar.gz
Description: application/compressed-tar
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user