New submission from Rishikesh K Rajak <risra...@linux.vnet.ibm.com>:
[root@ ~]# python Python 2.6.2 (r262:71600, Aug 21 2009, 12:23:57) [GCC 4.4.1 20090818 (Red Hat 4.4.1-6)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> help() Welcome to Python 2.6! This is the online help utility. If this is your first time using Python, you should definitely check out the tutorial on the Internet at http://docs.python.org/tutorial/. Enter the name of any module, keyword, or topic to get help on writing Python programs and using Python modules. To quit this help utility and return to the interpreter, just type "quit". To get a list of available modules, keywords, or topics, type "modules", "keywords", or "topics". Each module also comes with a one-line summary of what it does; to list the modules whose summaries contain a given word such as "spam", type "modules spam". help> modules spam Here is a list of matching modules. Enter any module name to get more help. ** (.:18352): WARNING **: Trying to register gtype 'WnckWindowState' as flags when in fact it is of type 'GEnum' ** (.:18352): WARNING **: Trying to register gtype 'WnckWindowActions' as flags when in fact it is of type 'GEnum' ** (.:18352): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as flags when in fact it is of type 'GEnum' Adding pauses to default speech formatting strings. Adding pauses to Gecko speech formatting strings. Adding pauses to soffice speech formatting strings. Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib64/python2.6/site.py", line 433, in __call__ return pydoc.help(*args, **kwds) File "/usr/lib64/python2.6/pydoc.py", line 1720, in __call__ self.interact() File "/usr/lib64/python2.6/pydoc.py", line 1738, in interact self.help(request) File "/usr/lib64/python2.6/pydoc.py", line 1757, in help self.listmodules(split(request)[1]) File "/usr/lib64/python2.6/pydoc.py", line 1862, in listmodules apropos(key) File "/usr/lib64/python2.6/pydoc.py", line 1962, in apropos ModuleScanner().run(callback, key) File "/usr/lib64/python2.6/pydoc.py", line 1927, in run for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror): File "/usr/lib64/python2.6/pkgutil.py", line 110, in walk_packages __import__(name) File "/usr/lib/python2.6/site-packages/gdb/__init__.py", line 19, in <module> import gdb.command.require File "/usr/lib/python2.6/site-packages/gdb/command/require.py", line 21, in <module> class RequireCommand (gdb.Command): AttributeError: 'module' object has no attribute 'Command' >>> ---------- assignee: georg.brandl components: Documentation messages: 93253 nosy: georg.brandl, rishikesh severity: normal status: open title: Getting call trace while executing "modules spam" at help prompt type: crash versions: Python 2.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7015> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com