mail'relax_disp' branch docstring problem


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Sébastien Morin on January 27, 2009 - 20:29:
Hi,

I just found a bug in the 'relax_disp' branch concernig the docstrings...

If I try to compile the user manual pdf (scons user_manual_pdf), I get
an error message (see belows) complaining about something in
'relax_disp.select_model', I think...

I tried but did not find the cause of this problem... Any ideas ?

Thanks !


Séb   :)

==========================

Function: 'relax_disp.select_model'
Error: Badly formatted list element.
scons: *** [fetch_docstrings] Exception
Traceback (most recent call last):
  File "/usr/lib/scons-1.0.0/SCons/Taskmaster.py", line 222, in execute
    self.targets[0].build()
  File "/usr/lib/scons-1.0.0/SCons/Node/__init__.py", line 372, in build
    apply(self.get_executor(), (self,), kw)
  File "/usr/lib/scons-1.0.0/SCons/Executor.py", line 145, in __call__
    return self.do_execute(target, kw)
  File "/usr/lib/scons-1.0.0/SCons/Executor.py", line 131, in do_execute
    status = apply(act, (self.targets, self.get_sources(), env), kw)
  File "/usr/lib/scons-1.0.0/SCons/Action.py", line 468, in __call__
    stat = self.execute(target, source, env)
  File "/usr/lib/scons-1.0.0/SCons/Action.py", line 849, in execute
    result = self.execfunction(target=target, source=rsources, env=env)
  File
"/home/semor/pse-4/collaborations/relax/relax-1.3--relax_disp/scons/manuals.py",
line 397, in fetch_docstrings
    Fetch_docstrings(env['LATEX_DIR'] + sep + 'docstring.tex')
  File
"/home/semor/pse-4/collaborations/relax/relax-1.3--relax_disp/docs/latex/fetch_docstrings.py",
line 79, in __init__
    self.doc_user_class(name, object)
  File
"/home/semor/pse-4/collaborations/relax/relax-1.3--relax_disp/docs/latex/fetch_docstrings.py",
line 115, in doc_user_class
    self.parse_docstring(parent_name + '.' + name, object)
  File
"/home/semor/pse-4/collaborations/relax/relax-1.3--relax_disp/docs/latex/fetch_docstrings.py",
line 901, in parse_docstring
    sys.stderr.write("The element is: " + `lines[i]` + "\n")
IndexError: list index out of range
scons: building terminated because of errors.




Related Messages


Powered by MHonArc, Updated Wed Jan 28 18:40:39 2009