Page 1 of 1

Python pydoc show errors

Posted: Tue Feb 26, 2013 3:39 pm
by rodrigosantellan
Hi I have Linux Mint Xfce 13.

When I try to do:
pydoc modules
The followin error shows:

Code: Select all

Please wait a moment while I gather a list of all available modules...


(pydoc:13235): MateComponent-CRITICAL **: matecomponent_corba_object_type_register_static: assertion `g_type_from_name (name) == 0' failed
/usr/lib/python2.7/dist-packages/gtk-2.0/matecomponent/__init__.py:12: Warning: /build/buildd/glib2.0-2.32.3/./gobject/gsignal.c:1630: parameter 1 of type `<unknown>' for signal "MateComponentObject::system_exception" is not a value type
  from _matecomponent import *
Fatal Python error: (pygame parachute) Segmentation Fault
Aborted
I don't understand where the error is generated, is a mate thing?

Any idea?

Thanks

Re: Python pydoc show errors

Posted: Tue Feb 26, 2013 4:52 pm
by xenopeek
I could reproduce this on both Linux Mint 14 Xfce and Linux Mint 14 MATE. Both die with a segmentation fault, though for a different module. Linux Mint 14 KDE gives a warning, but then does continue and provide the expected out. On Linux Mint 14 Cinnamon this works without problems.

The default pydoc calls pydoc2.7. On all Linux Mint 14 editions I could call "pydoc3 modules" instead and get the output without problems. Perhaps some of the modules are already Python 3 and pydoc2.7 can't handle the truth?

Re: Python pydoc show errors

Posted: Tue Feb 26, 2013 9:21 pm
by rodrigosantellan
My problem is that I want to get the information of all the modules in python 2 to add them in python 3.

Any ideas of how to do that? Can I do something with that error, report somewhere or something?
You get more details about what is happening?

Thanks a lot!!