Python pydoc show errors

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
rodrigosantellan
Level 1
Level 1
Posts: 31
Joined: Tue May 03, 2011 10:51 am

Python pydoc show errors

Post 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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
xenopeek
Level 25
Level 25
Posts: 29612
Joined: Wed Jul 06, 2011 3:58 am

Re: Python pydoc show errors

Post 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?
Image
rodrigosantellan
Level 1
Level 1
Posts: 31
Joined: Tue May 03, 2011 10:51 am

Re: Python pydoc show errors

Post 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!!
Locked

Return to “Software & Applications”