LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Python enum/GFlags WARNING (http://www.linuxquestions.org/questions/slackware-14/python-enum-gflags-warning-4175425343/)

wadsworth 09-02-2012 11:36 PM

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?

volkerdi 09-04-2012 07:38 PM

Quote:

Originally Posted by wadsworth (Post 4771086)
Is it possible to apply this patch to pygobject before 14.0 goes stable?

Yes, and thanks!

wadsworth 09-04-2012 08:03 PM

Awesome. Thank you for your hard work Patrick.
It's very much appreciated. :D


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