[Gambas-user] Postgres connection problem since upgrading to 3.11 form 3.9.2

Richard Terry richard.h.terry at gmail.com
Thu May 17 00:24:08 CEST 2018


Hi,

The upgrade was just whatever package was brought in by my linux mint - 
I think its 17.3 but its off-line now so I can't look it up this 
instance, so just via the normal package manager

Can you explain how to test the connection with 'debuger trace'.

Thanks

On 16/05/18 22:10, PICCORO McKAY Lenz wrote:
> what method are you using for upgrade?
>
> where from do you upgrade?
>
> what proceduure was using for upgrade?
>
> please test the connection with debbuger trace also!
>
> Lenz McKAY Gerardo (PICCORO)
> http://qgqlochekone.blogspot.com
>
> 2018-05-16 1:12 GMT-04:00 Richard Terry <richard.h.terry at gmail.com 
> <mailto:richard.h.terry at gmail.com>>:
>
>     Hi list
>
>     I upgraded one machine accidentally to gambas 3.11 and now my
>     medical software won't run
>
>     As far as I can ascertain it dies one of our subs (part of which
>     is listed below). If I put a breakpoint in it gets to the
>     .Type='postresql' then errors out. If I step through the code line
>     by line I get a seg-fault on the line *$hconn = New Connection.
>     *We have used this code since 2008 without problems.
>
>     ?any ideas, pointers.
>
>
>     Thanks in advance.
>
>     Richard
>
>
>
>     Private Function Actual_Connect() As String
>
>       Dim ssh_path As String
>       Dim n As Integer = 0
>       Dim evt As Collection
>       Dim s As String
>
>       Try $hconn.Close
>       Try pg_socket_file.Close()
>       If Not IsNull(inferior_ssh) Then Try inferior_ssh.Kill()
>     *$hconn = New Connection*
>       With $hconn
>     *    .Type = "postgresql"   << seems to die here*
>         .Login = conninfo!username
>         .Password = conninfo!password
>         .Name = conninfo!dbname
>       End With
>
>
>     etc
>
>
>
>     --------------------------------------------------
>
>     This is the Gambas Mailing List:
>     https://lists.gambas-basic.org/listinfo/user
>     <https://lists.gambas-basic.org/listinfo/user>
>
>     Search the list:
>     https://lists.gambas-basic.org/cgi-bin/search.cgi
>     <https://lists.gambas-basic.org/cgi-bin/search.cgi>
>
>     Hosted by https://www.hostsharing.net
>
>
>
>
> --------------------------------------------------
>
> This is the Gambas Mailing List:
> https://lists.gambas-basic.org/listinfo/user
>
> Search the list:
> https://lists.gambas-basic.org/cgi-bin/search.cgi
>
> Hosted by https://www.hostsharing.net


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20180517/37705280/attachment.html>


More information about the User mailing list