Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-14-2006, 12:32 PM   #1
Registered: Jul 2005
Distribution: RHEL, Mint, Ubuntu
Posts: 32

Rep: Reputation: 15
Gimp/GTK error in script-fu

I'm trying to upgrade a script-fu script (written by someone else) that worked in Gimp 1.2 to Gimp 2.0 after upgrading the operating system from Redhat Enterprise LInux AS 2.1 to RHEL AS 4. The script is supposed to make a bar graph from an input file. When I ran it from the Script-Fu menu, it didn't give any errors, but it didn't produce anything, either. I entered the main function call in the Script-Fu console, and the following error message appeared on the command line:

(script-fu:10545): Gtk-CRITICAL **: file gtktextbuffer.c: line 557 (gtk_text_buffer_emit_insert): assertion `g_utf8_validate (text, len, NULL)' failed

Again the graph wasn't produced, and there weren't any errors in the console. Has anybody encountered this problem before? Is there something wrong with my GTK installation? This Gimp version is the default that came with the operating system.
Old 04-14-2006, 02:50 PM   #2
Registered: Jul 2005
Distribution: RHEL, Mint, Ubuntu
Posts: 32

Original Poster
Rep: Reputation: 15
The error is only occurring when get-text is called on a string that contains special characters like the degree sign for latitude and longitude. I have no idea how to fix this!
Old 04-14-2006, 03:59 PM   #3
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Why don't you look on the GTK mailing list for info on this and maybe post a question there.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GIMP Toolkit - Glib/GTK+ Version Problem lucky6969b Programming 1 01-05-2006 05:16 PM
GIMP thinks I have two versions of GTK, but I don't Belboz99 Linux - Software 4 06-19-2005 01:43 PM
GTK+ for Gimp 2.0.6 vharishankar Linux - Software 4 12-07-2004 09:41 PM
Gimp...pango....gtk....glib....uhhhhh....... TheMusicGuy Linux - Software 27 06-23-2004 07:44 AM
Newbie Needs Help w/ Gimp/GTK compile alxdotnet Linux - Software 4 04-21-2004 11:47 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration