URL: <http://gna.org/bugs/?9390> Summary: Failure of the manual compilation - inspect.getargspec() TypeError in Python 2.5 Project: relax Submitted by: bugman Submitted on: Sunday 06/24/2007 at 20:12 Category: Scons build system Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Name: Originator Email: Open/Closed: Open Discussion Lock: Any Release: Repository: 1.2 line Operating System: GNU/Linux _______________________________________________________ Details: When attempting to compile the relax manual, specifically the Scons target 'scons fetch_docstrings', a TypeError is thrown in Python 2.5. The error is: [edward@localhost relax-1.2]$ scons fetch_docstrings scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... fetch_docstrings(["fetch_docstrings"], []) ############################################### # Fetching the relax user function docstrings # ############################################### Function: 'Scientific' scons: *** [fetch_docstrings] Exception Traceback (most recent call last): File "/usr/lib/scons-0.96.93/SCons/Taskmaster.py", line 171, in execute self.targets[0].build() File "/usr/lib/scons-0.96.93/SCons/Node/__init__.py", line 297, in build apply(executor, (self, exitstatfunc), kw) File "/usr/lib/scons-0.96.93/SCons/Executor.py", line 125, in __call__ self.do_execute(target, exitstatfunc, kw) File "/usr/lib/scons-0.96.93/SCons/Executor.py", line 118, in do_execute kw) File "/usr/lib/scons-0.96.93/SCons/Action.py", line 342, in __call__ stat = self.execute(target, source, env) File "/usr/lib/scons-0.96.93/SCons/Action.py", line 674, in execute result = self.execfunction(target=target, source=rsources, env=env) File "/home/edward/relax/relax-1.2/scons/manuals.py", line 390, in fetch_docstrings Fetch_docstrings(env['LATEX_DIR'] + sep + 'docstring.tex') File "/home/edward/relax/relax-1.2/docs/latex/fetch_docstrings.py", line 86, in __init__ self.parse_docstring(name, object) File "/home/edward/relax/relax-1.2/docs/latex/fetch_docstrings.py", line 676, in parse_docstring args, varargs, varkw, defaults = getargspec(object) File "/usr/lib64/python2.5/inspect.py", line 728, in getargspec raise TypeError('arg is not a Python function') TypeError: arg is not a Python function scons: building terminated because of errors. [edward@localhost relax-1.2]$ _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?9390> _______________________________________________ Message sent via/by Gna! http://gna.org/