[gtkada] GtkAda: Storage Error

Frode Tennebø frode at tennebo.com
Sun Feb 23 15:09:06 CET 2003


Trying to 'gate' an old 1.2.10 project-file (enclosed) using the CVS 
version:

[ft at leia gimdbob.bak]$ gate gimdbob.glade
Generating Ada files...
Couldn't generate Ada code. Exiting.

Looking here:

/home/ft/ada/gimdbob.bak/src/.gate/gimdbob/tmp

[ft at leia tmp]$ more gate.ada
with Gtk; use Gtk;
with Gtk.Main;
with Gtk.Widget; use Gtk.Widget;
with Main_Window_Pkg; use Main_Window_Pkg;
with Search_Widget_Pkg; use Search_Widget_Pkg;

procedure Gimdbob is
   Main_Window : Main_Window_Access;
   Search_Widget : Search_Widget_Access;

begin
   Gtk.Main.Set_Locale;
   Gtk.Main.Init;
   Gtk_New (Main_Window);
   Show_All (Main_Window);
   Gtk_New (Search_Widget);
   Show_All (Search_Widget);
   Gtk.Main.Main;
end Gimdbob;
Exception = STORAGE_ERROR
GATE: Internal error. Please send a bug report with the XML
file /home/ft/ada/gimdbob.bak/gimdbob.glade and the GtkAda version to 
gtkada at lists.act-europe.fr

dgate seems to iterprete the file correctly.

On a similar note - the testgtk program fails for the file selection 
widtget like this:

[ft at leia testgtk]$ ./testgtk
GLib: Cannot convert message: Conversion from character set 'UTF-8' to 
'ANSI_X3.4-1968' is not supported

(testgtk:10798): GLib-CRITICAL **: file gconvert.c: line 497 
(g_convert): assertion `str != NULL' failed

raised STORAGE_ERROR : stack overflow (or erroneous memory access)

 -Frode
-- 
^ Frode Tennebø | email: frode at tennebo.com | Frode at IRC ^
|  with Standard.Disclaimer; use Standard.Disclaimer;  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gimdbob.glade
Type: text/xml
Size: 13836 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20030223/30b9cb7f/attachment.bin 


More information about the gtkada mailing list