[Gtk-sharp-list] UTF8 assertion error at runtime.

Jaime Anguiano Olarra jaime@gnome.org
25 Nov 2002 19:01:44 +0100


--=-K+6D4COelZpIbTJF13G7
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi!

I am writing a little editor using Glade. It uses c# as native language.

It can actually save files but when I try to load a file I always get
this error and can't imagine how to escape of it. What you see is what I
get when trying to load a Makile (the one in gtk-sharp/samples) with it.

I use the Insert method of Gtk.TextBuffer to add the text (I know it's
not finished but they all say the same).

Any ideas?. Need the code?.

Thanks,

Jaime.

The error I get is this:

(Mono Edit:932): Gtk-CRITICAL **: file gtktextbuffer.c: line 476
(gtk_text_buffer_emit_insert): assertion `g_utf8_validate (text, len,
NULL)' failed
 GNOME_PATH=3D-L ../art -L ../gnome

(Mono Edit:932): Gtk-CRITICAL **: file gtktextbuffer.c: line 476
(gtk_text_buffer_emit_insert): assertion `g_utf8_validate (text, len,
NULL)' failed
 GNOME_ASSEMBLY=3D-r art-sharp.dll -r gnome-sharp.dll

(Mono Edit:932): Gtk-CRITICAL **: file gtktextbuffer.c: line 476
(gtk_text_buffer_emit_insert): assertion `g_utf8_validate (text, len,
NULL)' failed
 GNOME_TARGETS=3Dgnome-hello-world.exe canvas-example.exe fifteen.exe=20

(Mono Edit:932): Gtk-CRITICAL **: file gtktextbuffer.c: line 476
(gtk_text_buffer_emit_insert): assertion `g_utf8_validate (text, len,
NULL)' failed


(Mono Edit:932): Gtk-CRITICAL **: file gtktextbuffer.c: line 476
(gtk_text_buffer_emit_insert): assertion `g_utf8_validate (text, len,
NULL)' failed
 GLADE_PATH=3D-L ../glade


--=20
// http://sourceforge.net/projects/monoevo/ Mono Evolutionary. Bringing
AI to GNOME.
// http://www.go-mono.com -- The Mono Project. .NET + freedom.


--=-K+6D4COelZpIbTJF13G7
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA94mWH0ZuGtECkr6cRAiikAJ4rod1EKNgqVCYMNN3C4r69RocCNQCguNFm
h8Bl68ykG1LJVypwJygs16o=
=4gif
-----END PGP SIGNATURE-----

--=-K+6D4COelZpIbTJF13G7--