LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-02-2012, 11:36 PM   #1
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 214

Rep: Reputation: 64
Python enum/GFlags WARNING


While testing a possible auto-mount replacement (udiskie) I've been getting these warnings:
Code:
** (process:4791): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:4791): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:4791): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Found a similar bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=790053

That linked to a patch for pygobject:
http://bugzilla-attachments.gnome.or....cgi?id=209543

Which does eliminate the warnings.

Is it possible to apply this patch to pygobject before 14.0 goes stable?
 
Old 09-04-2012, 07:38 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 861

Rep: Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685Reputation: 1685
Quote:
Originally Posted by wadsworth View Post
Is it possible to apply this patch to pygobject before 14.0 goes stable?
Yes, and thanks!
 
Old 09-04-2012, 08:03 PM   #3
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 214

Original Poster
Rep: Reputation: 64
Awesome. Thank you for your hard work Patrick.
It's very much appreciated.
 
  


Reply


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
[SOLVED] [gst-python] Python warning with gstreamer Snark1994 Programming 2 01-09-2011 09:56 AM
Python Twisted Warning kushalkoolwal Debian 1 07-10-2009 07:11 PM
Python warning:incomplete entry line 43 /etc/mailcap kinematic Debian 1 01-22-2007 02:56 AM
Questions about enum. What would be a good use of enum? RHLinuxGUY Programming 5 06-11-2006 01:13 PM
getmail/python 2.4 warning - after upgrade Andy Alkaline Slackware 3 04-13-2005 09:13 AM


All times are GMT -5. The time now is 07:43 AM.

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