Python pydoc show errors

Questions about applications and software
Forum rules
Before you post please read how to get help
rodrigosantellan
Level 1
Level 1
Posts: 14
Joined: Tue May 03, 2011 10:51 am

Python pydoc show errors

Postby rodrigosantellan » Tue Feb 26, 2013 3:39 pm

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

User avatar
xenopeek
Level 23
Level 23
Posts: 19216
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Python pydoc show errors

Postby xenopeek » Tue Feb 26, 2013 4:52 pm

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: 14
Joined: Tue May 03, 2011 10:51 am

Re: Python pydoc show errors

Postby rodrigosantellan » Tue Feb 26, 2013 9:21 pm

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


Return to “Software & Applications”

Who is online

Users browsing this forum: Google Feedfetcher, maho and 5 guests