Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6319855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T15:52:30+00:00 2026-05-24T15:52:30+00:00

I have a warning when I run my GTK (Python GObject introspection) application and

  • 0

I have a warning when I run my GTK (Python GObject introspection) application and I can’t figure out its source. When the application is loading and I’m populating a GtkListStore, after the very first time I append a row, I get the following warning:

/usr/lib/python2.7/site-packages/gi/types.py:44: Warning: g_object_set_qdata: assertion `G_IS_OBJECT (object)' failed
  return info.invoke(*args)

The rest of the rows append without any further warnings. In fact, it’s always only raised once, always on the first item to be appended. But, the actual contents of the row don’t seem to matter; it raise the warning no matter what. When the program finishes loading, all of the rows seem to be ok when I browse them in the TreeView.

My list store looks like this:

self.list_store = Gtk.ListStore(bool, str, str, str, str, str, str,
                                str, str, str, str, GdkPixbuf.Pixbuf,
                                str, str, str, object, Pango.Weight)

The last few columns are hidden from the associated GtkTreeView, but the warning occurs before the TreeView is created, so I’m sure it’s coming from the ListStore.Needless to say, I’m sure that all the rows I’m passing are in the correct format since, like I said, the warning is always raised after the first row, no matter which row I add first.

Does anyone have any idea what could be causing this? It’s not preventing my application from running, so it’s not an emergency, but I’d rather not have it spitting out warnings for the end user.


Edit:
I confirmed using Python’s -W all commandline argument that the warning is actually being raised for all rows.

I tried stepping into the append() method using pdb but, interstingly, it gets stuck in a loop in the gi code when it tries setting the value of the column containing the GdkPixbuf, so I never actually see the warning raised when debugging the program. My guess is that the Pixbuf is causing the problem, but I have no idea how to change it to get rid of the warning. The Pixbuf renders correctly in the TreeView, so I’m not sure what is going on.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T15:52:30+00:00Added an answer on May 24, 2026 at 3:52 pm

    Taking a wild guess at this…

    PyGTK seems to be rather talented at creating weird errors – especially ones that send us on wild goose chases. I’ve fought six or seven different such errors that, in the end, are just masking another issue…sometimes even an unrelated one.

    All the same, running a Google search shows that this has been documented, though perhaps not solved…? (One such example: https://bugs.launchpad.net/ubuntu/+source/jockey/+bug/814991)

    If this isn’t throwing any errors, perhaps you should write a catch statement in to silence the error in the final program?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

WARNING: I have been learning Python for all of 10 minutes so apologies for
I have this warning every time I run my CGI-script (output is rendered by
I run CGI script with apache2 and I have this warning lines in error.log
(Warning - asp newbie) I have an aspx file with the tag <%@ Page
I have a function that gives me the following warning: [DCC Warning] filename.pas(6939): W1035
I have the following code, for which I get the error: Warning : mysqli_stmt::bind_result()
Good morning. I have an XML file which contains lists of warning and errors
it seems that Ruby GTK apps are unable to run in nongraphical environment.. while
I have Installed GTK on a Linux machine. I am connecting To Linux Machine
I have the warning message given in the title. I would like to understand

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.