LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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-03-2012, 12:36 AM   #1
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 215

Rep: Reputation: 65
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, 08:38 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 876

Rep: Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826Reputation: 1826
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, 09:03 PM   #3
wadsworth
Member
 
Registered: Aug 2007
Distribution: Slackware64 13.37
Posts: 215

Original Poster
Rep: Reputation: 65
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 10:56 AM
Python Twisted Warning kushalkoolwal Debian 1 07-10-2009 08:11 PM
Python warning:incomplete entry line 43 /etc/mailcap kinematic Debian 1 01-22-2007 03:56 AM
Questions about enum. What would be a good use of enum? RHLinuxGUY Programming 5 06-11-2006 02:13 PM
getmail/python 2.4 warning - after upgrade Andy Alkaline Slackware 3 04-13-2005 10:13 AM


All times are GMT -5. The time now is 05:06 AM.

Main Menu
Advertisement
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