From: Olive <enc...@ya...> - 2005-04-14 23:47:16
|
Hello, I've juste downloaded the last version (0.8) of matplotlib and successfully built it on SunOS 5.8 with GTK backend (gcc 3.2.2). "import matplolib" is OK but typing "from matplotlib.pylab import *" result in a core dumped ! without any error message or exception... "import gtk", "import pygtk", and "import wx" works OK. I've tried with version 0.72, same error : Python 2.4.1 (#3, Apr 14 2005, 10:58:02) [GCC 3.2.2] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> from matplotlib.pylab import * Bus Error (core dumped) One more thing is that after importing matplotlib, I got an error when using help : python Python 2.4.1 (#3, Apr 14 2005, 10:58:02) [GCC 3.2.2] on sunos5 Type "help", "copyright", "credits" or "license" for more information. >>> import matplotlib >>> help(matplotlib) Traceback (most recent call last): File "<stdin>", line 1, in ? File "/opt/SunOS/5.8/lib/python2.4/site.py", line 328, in__call__ return pydoc.help(*args, **kwds) File "/opt/SunOS/5.8/lib/python2.4/pydoc.py", line 1647, in __call__ self.help(request) File "/opt/SunOS/5.8/lib/python2.4/pydoc.py", line 1691, in help else: doc(request, 'Help on %s:') File "/opt/SunOS/5.8/lib/python2.4/pydoc.py", line 1475, in doc pager(title % desc + '\n\n' + text.document(object, name)) File "/opt/SunOS/5.8/lib/python2.4/pydoc.py", line 295, in document if inspect.ismodule(object): return self.docmodule(*args) File "/opt/SunOS/5.8/lib/python2.4/pydoc.py", line 1069, in docmodule contents.append(self.document(value, key, name)) File "/opt/SunOS/5.8/lib/python2.4/pydoc.py", line 296, in document if inspect.isclass(object): return self.docclass(*args) File "/opt/SunOS/5.8/lib/python2.4/pydoc.py", line 1193, in docclass lambda t: t[1] == 'method') File "/opt/SunOS/5.8/lib/python2.4/pydoc.py", line 1143, in spill name, mod, object)) File "/opt/SunOS/5.8/lib/python2.4/pydoc.py", line 297, in document if inspect.isroutine(object): return self.docroutine(*args) File "/opt/SunOS/5.8/lib/python2.4/pydoc.py", line 1254, in docroutine doc = getdoc(object) or '' File "/opt/SunOS/5.8/lib/python2.4/pydoc.py", line 75, in getdoc result = inspect.getdoc(object) or inspect.getcomments(object) File "/opt/SunOS/5.8/lib/python2.4/inspect.py", line 448, in getcomments lines, lnum = findsource(object) File "/opt/SunOS/5.8/lib/python2.4/inspect.py", line 437, in findsource if pat.match(lines[lnum]): break IndexError: list index out of range I really don't know where to begin to isolate the problem. Do I missed an option in the build process to have some kind of debug ? What can I do to help you better understand the problem ? Thank you in advance for your help, |