comp.lang.ada
 help / color / mirror / Atom feed
From: Okasu <oka.sux@gmail.com>
Subject: Re: ZLIB_ERROR with AWS
Date: Sat, 20 Oct 2012 20:46:31 +0000 (UTC)
Date: 2012-10-20T20:46:31+00:00	[thread overview]
Message-ID: <slrnk863bm.cna.oka.sux@localhost.localdomain> (raw)
In-Reply-To: ioj6vmgui47m$.43as04veo40i$.dlg@40tude.net

On 2012-10-20, Dmitry A. Kazakov <mailbox@dmitry-kazakov.de> wrote:
> If you want that and have access to the sources, you could modify the code
> of the offending Finalize (where #2 propagates from) by adding at its
> beginning something like:
>
>    procedure Finalize (...) is
>    begin
>       Ada.Text_IO.Put_Line
>       (  "#1 was:"
>       &  Ada.Exceptions.Exception_Information
>          (  GNAT.Most_Recent_Exception.Occurrence
>       )  );
>       ...
>
> at the end of the Finalize you add:
>
>       ...
>    exception
>       when Error : others =>
>          Ada.Text_IO.Put_Line
>          (  "#2 was:"
>          & Ada.Exceptions.Exception_Information (Error)
>          );
>          raise;
>    end Finalize;
>
> Now in the output there should be lines "#1 was:" followed by "#2 was:",
> which could give a hint what is going on.

I made it (took ~1 hour to recompile AWS),  and here is output:
-----
#1 was:Exception name: PROGRAM_ERROR
Message: SSL not supported.

#2 was:Exception name: PROGRAM_ERROR
Message: SSL not supported.


raised PROGRAM_ERROR : aws-client.adb:290 finalize/adjust raised exception
-----

Why it tells me that SSL not supported?
I have openssl installed.




  reply	other threads:[~2012-10-28  2:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-20  0:35 ZLIB_ERROR with AWS Okasu
2012-10-20  7:23 ` Okasu
2012-10-20  7:47   ` Dmitry A. Kazakov
2012-10-20  8:32     ` Okasu
2012-10-20  9:04       ` Dmitry A. Kazakov
2012-10-20 20:46         ` Okasu [this message]
2012-10-20 20:58           ` Pascal Obry
2012-10-20 21:15             ` Okasu
2012-10-20 21:25               ` Pascal Obry
2012-10-20 21:30                 ` Okasu
2012-10-20 22:26                   ` Okasu
2012-10-21  7:29                     ` Pascal Obry
2012-10-21 10:22                     ` Marius Amado-Alves
2012-10-21 20:44                       ` Okasu
2012-10-22  5:38                         ` Pascal Obry
2012-10-22  8:08                           ` Okasu
2012-10-22 15:39                             ` Pascal Obry
2012-10-21  6:17           ` darkestkhan
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox