mailRe: 'relax_disp' branch docstring problem


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

Header


Content

Posted by Edward d'Auvergne on January 28, 2009 - 09:51:
Hi,

I had a feeling that your equations in this docstring were not set up
correctly for the LaTeX conversion.  I would have a look at maybe
diffusion_tensor.init() for ideas.  For this debugging, what you can
do is delete the docstring and add it back bit by bit.  Or delete
parts of it until you find the part that breaks the script.  This
requires a lot of trial and error to find, but you should be able to
track it down like this.  Oh, it might be problematic in a few parts
of this docstring!

Regards,

Edward


On Tue, Jan 27, 2009 at 8:28 PM, Sébastien Morin
<sebastien.morin.1@xxxxxxxxx> wrote:
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.


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-devel mailing list
relax-devel@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel




Related Messages


Powered by MHonArc, Updated Wed Jan 28 10:00:46 2009