Public bug reported: Binary package hint: python2.5
I'm not sure what happened, I'm just starting with python. I was working from the console; entered a (possibly bad) command: $ pydoc -k in and I saw the following output: ============================= __builtin__ - Built-in functions, exceptions, and other objects. posix - This module provides access to operating system functionality that is signal - This module provides mechanisms to use signal handlers in Python. sys - This module provides access to some objects used or maintained by the xxsubtype - xxsubtype is an example module showing how to subtype builtin types from C. zipimport - zipimport provides support for importing Python modules from Zip archives. HTMLgenutils - HTML form utility from Harms and McDonald (Manning, 1999). _gnuplot - Cross-platform handling of Gnuplot. The script accepts the backup - Take backup of files with specified extensions in specified couldfind diff - Command line interface to difflib.py providing diffs in three formats: file2interactive - Execute a Python script and present output such that it seems that floatdiff - Tool for examining diferences of float data in regression tests. gnuplot_thread - Examples on general plotting with Gnuplot in modulecheck - Purpose: import a set of modules. If modules are missing, needmodules - Find the modules required by a Python script. py4cs - Tools associated with the "Python Scripting for Computational Science" book. py4cs.BoxGrid - Class for uniform and non-uniform grid on an interval, rectangle, or box. py4cs.CanvasCoords - Transformation between canvas and physical coordinates. py4cs.DrawFunction - Interactive drawing of y=f(x) functions. py4cs.EfficiencyTable - This module contains a class for managing efficiency/performance py4cs.FuncDependenceViz - Module containing class FuncDependenceViz. py4cs.FunctionSelector - Notebook for selecting functions. py4cs.ParameterInterface - Utilities for holding and displaying data about input parameters. py4cs.StringFunction - Make a string with a mathematical expression behave as a Python function. py4cs.convergencerate - Module for estimating convergence rate of numerical algorithms, py4cs.easyplot - %(easyviz)s is a light-weight interface to curve plotting in Python scripts. Easyviz backend is now gnuplot_ Traceback (most recent call last): File "/usr/bin/pydoc", line 5, in <module> pydoc.cli() File "/usr/lib/python2.5/pydoc.py", line 2195, in cli apropos(val) File "/usr/lib/python2.5/pydoc.py", line 1890, in apropos ModuleScanner().run(callback, key) File "/usr/lib/python2.5/pydoc.py", line 1855, in run for importer, modname, ispkg in pkgutil.walk_packages(): File "/usr/lib/python2.5/pkgutil.py", line 125, in walk_packages for item in walk_packages(path, name+'.', onerror): File "/usr/lib/python2.5/pkgutil.py", line 110, in walk_packages __import__(name) File "/home/jrp/scripting/src/tools/py4cs/easyviz/__init__.py", line 21, in <module> exec('from %s import *' % backend) File "<string>", line 1, in <module> File "/home/jrp/scripting/src/tools/py4cs/easyviz/gnuplot_.py", line 3, in <module> from py4cs.easyviz.numpytools import ones, ravel, shape, NewAxis File "/home/jrp/scripting/src/tools/py4cs/easyviz/numpytools.py", line 367, in <module> LinearAlgebra.eigenvalues = _N.eigenvalues AttributeError: 'module' object has no attribute 'eigenvalues' ================================= Then a dialog box popped up in X11 indicating a python crash, and here we are. It may be that some functions installed in my home directory are not configured properly for python2.5 (they came with the book "Python Scripting for Computation Science", which I am studying. Hope this is helpful. ProblemType: Crash Architecture: i386 Date: Wed May 23 12:51:47 2007 DistroRelease: Ubuntu 7.04 ExecutablePath: /usr/bin/pydoc2.5 InterpreterPath: /usr/bin/python2.5 Package: python2.5 2.5.1~rc1-0ubuntu3 PackageArchitecture: i386 ProcCmdline: /usr/bin/python2.5 /usr/bin/pydoc -k in ProcCwd: /home/jrp/scripting/work/ch2 ProcEnviron: SHELL=/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games LANG=en_US.UTF-8 PythonArgs: ['/usr/bin/pydoc', '-k', 'in'] SourcePackage: python2.5 Uname: Linux edgy 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux ** Affects: python2.5 (Ubuntu) Importance: Undecided Status: Unconfirmed -- [apport] pydoc2.5 crashed with AttributeError in <module>() https://bugs.launchpad.net/bugs/116463 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs