Python pydoc show errors

Questions about applications and software
Forum rules
Before you post please read how to get help

Python pydoc show errors

Postby rodrigosantellan on 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
rodrigosantellan
Level 1
Level 1
 
Posts: 14
Joined: Tue May 03, 2011 10:51 am

Linux Mint is funded by ads and donations.
 

Re: Python pydoc show errors

Postby xenopeek on 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?
User avatar
xenopeek
Level 21
Level 21
 
Posts: 15280
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Python pydoc show errors

Postby rodrigosantellan on 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!!
rodrigosantellan
Level 1
Level 1
 
Posts: 14
Joined: Tue May 03, 2011 10:51 am


Return to Software & Applications

Who is online

Users browsing this forum: Bing [Bot] and 22 guests