Problem in linux

Hi All,

I am having an app that runs on both Windows and Linux.
In windows itz running properly…but in linux the app is aborted after a certain time…
It is showing different errors at differnt point of time…
I don’t know whether i should post this ques in wxPython mailing list or in some other list…
The errors that i get are:

  1. Gtk-ERROR **: file gtktextlayout.c: line 1117 (get_style): assertion failed: (layout->one_style_cache == NULL)
  2. (python:12170): Gtk-WARNING **: Invalid text buffer iterator: either
    the iterator is uninitialized, or the characters/pixbufs/widgets in the
    buffer have been modified since the iterator was created.
    You must use marks, character numbers, or line numbers to preserve a position across buffer modifications.
    You can apply tags and insert marks without invalidating your iterators,
    but any mutation that affects ‘indexable’ buffer contents (contents
    that can be referred to by character offset)will invalidate all
    outstanding iterators
    Segmentation fault
  3. Gtk-ERROR **: file gtktextlayout.c: line 1253 (set_para_values): should not be reached
    aborting…
    Aborted
  4. Gtk-ERROR **: file gtktextlayout.c: line 1117 (get_style): assertion failed: (layout->one_style_cache == NULL)
    aborting…
    Aborted
  5. PANGO-ERROR

Does anyone know what the problem could be?
if not, can anyone tell from where can i find a solution to this prob?

···


Regards,

Shine Anne

You should really post some of your code because errors by themselves don’t mean much. Also post your system info (versions): wxPython, python, gtk, linux os.
I have encountered Gtk-ERRORs before and it was almost exclusively my fault so I suggest you start commenting out some lines and see which ones fix it. It looks like the culprit is some tex-related control.

Ratko

···

On 4/17/06, Shine Anne m2ids2005@gmail.com wrote:

Hi All,

I am having an app that runs on both Windows and Linux.

In windows itz running properly…but in linux the app is aborted after a certain time…

It is showing different errors at differnt point of time…

I don’t know whether i should post this ques in wxPython mailing list or in some other list…

The errors that i get are:

  1. Gtk-ERROR **: file gtktextlayout.c: line 1117 (get_style): assertion failed: (layout->one_style_cache == NULL)

  2. (python:12170): Gtk-WARNING **: Invalid text buffer iterator: either
    the iterator is uninitialized, or the characters/pixbufs/widgets in the
    buffer have been modified since the iterator was created.

You must use marks, character numbers, or line numbers to preserve a position across buffer modifications.

You can apply tags and insert marks without invalidating your iterators,

but any mutation that affects ‘indexable’ buffer contents (contents
that can be referred to by character offset)will invalidate all
outstanding iterators

Segmentation fault

  1. Gtk-ERROR **: file gtktextlayout.c: line 1253 (set_para_values): should not be reached

aborting…

Aborted

  1. Gtk-ERROR **: file gtktextlayout.c: line 1117 (get_style): assertion failed: (layout->one_style_cache == NULL)

aborting…

Aborted

  1. PANGO-ERROR

Does anyone know what the problem could be?

if not, can anyone tell from where can i find a solution to this prob?


Regards,

Shine Anne

Shine Anne wrote:

Hi All,

I am having an app that runs on both Windows and Linux.
In windows itz running properly..but in linux the app is aborted after a certain time...
It is showing different errors at differnt point of time...
I don't know whether i should post this ques in wxPython mailing list or in some other list..

Does anyone know what the problem could be?

Please try to create a small app that demonstrates the problem so that we can experiment with it. It sounds like GTK doesn't like something you are doing with a textctrl, so I would focus your sample on that.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!