pylab warning during import

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

pylab warning during import

Postby pradhanphy » Jul 29th, '12, 11:48

Hi,
I am having trouble using pylab in pythom whenever i try to import it showing some
error massages...

Code: Select all
sonar|~/books| $ python
Python 2.7.3 (default, Jul 10 2012, 00:03:43)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylab

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

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

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

i don't know why this is happening ...
there is a similar bug in fedor.
https://bugzilla.redhat.com/show_bug.cgi?id=790053
Can anyone please help me .. :?
Regards.
pradhanphy
 
Posts: 5
Joined: Sep 16th, '11, 21:30

Re: pylab warning during import

Postby tom_ » Jul 29th, '12, 17:09

you
pradhanphy wrote:** (process:8091): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

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

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


these are warning, not errors.

This means that there is some minor problem,
but you should be able to do your work.

However it would be nice if you reports these warnings and the link to the Fedora discussion
in a bug report, following these guidelines
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest