mail[bug #14464] Scons problem for user manual


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

Header


Content

Posted by Sébastien Morin on October 07, 2009 - 17:53:

URL:
  <http://gna.org/bugs/?14464>

                 Summary: Scons problem for user manual
                 Project: relax
            Submitted by: semor
            Submitted on: Wednesday 10/07/2009 at 11:53
                Category: relax's source code
                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.3 line
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Hi,

I tried to compile the user manual using scons and got different problems
when trying to either get the pdf or html versions.

Here are the different error messages I got...



======================
scons user_manual_pdf
         OR
scons user_manual_html
======================

###############################################
# Fetching the relax user function docstrings #
###############################################


Function: 'align_tensor.copy'
Function: 'align_tensor.delete'
Function: 'align_tensor.display'
Function: 'align_tensor.init'
Function: 'align_tensor.matrix_angles'
Function: 'align_tensor.reduction'
Function: 'align_tensor.set_domain'
Function: 'align_tensor.svd'
Function: 'align_tensor'
scons: *** [fetch_docstrings] TypeError : arg is not a Python function
Traceback (most recent call last):
  File "/usr/lib/scons-1.2.0/SCons/Action.py", line 961, in execute
    result = self.execfunction(target=target, source=rsources, env=env)
  File "/home/semor/relax/relax-1.3/scons/manuals.py", line 397, in
fetch_docstrings
    Fetch_docstrings(env['LATEX_DIR'] + sep + 'docstring.tex')
  File "/home/semor/relax/relax-1.3/docs/latex/fetch_docstrings.py", line 82,
in __init__
    self.parse_docstring(name, object)
  File "/home/semor/relax/relax-1.3/docs/latex/fetch_docstrings.py", line
677, in parse_docstring
    args, varargs, varkw, defaults = getargspec(object)
  File "/usr/lib/python2.6/inspect.py", line 807, in getargspec
    raise TypeError('arg is not a Python function')
TypeError: arg is not a Python function
scons: building terminated because of errors.



=============================
scons user_manual_pdf_nofetch
=============================

 <<< Removing the PS file and shifting the PDF down a directory >>>



dummy(["user_manual_pdf_nofetch"], [])
scons: done building targets.
OSError: [Errno 2] No such file or directory: '.sconsign.dblite':
  File "/usr/lib/scons-1.2.0/SCons/Script/Main.py", line 1268:
    _exec_main(parser, values)
  File "/usr/lib/scons-1.2.0/SCons/Script/Main.py", line 1233:
    _main(parser)
  File "/usr/lib/scons-1.2.0/SCons/Script/Main.py", line 996:
    nodes = _build_targets(fs, options, targets, target_top)
  File "/usr/lib/scons-1.2.0/SCons/Script/Main.py", line 1189:
    jobs.run(postfunc = jobs_postfunc)
  File "/usr/lib/scons-1.2.0/SCons/Job.py", line 111:
    postfunc()
  File "/usr/lib/scons-1.2.0/SCons/Script/Main.py", line 1186:
    SCons.SConsign.write()
  File "/usr/lib/scons-1.2.0/SCons/SConsign.py", line 107:
    syncmethod()
  File "/usr/lib/scons-1.2.0/SCons/dblite.py", line 104:
    self._os_unlink(self._file_name)
Exception OSError: (2, 'No such file or directory', '.sconsign.dblite') in
<bound method dblite.__del__ of <SCons.dblite.dblite instance at 0x833742c>>
ignored



==============================
scons user_manual_html_nofetch
==============================

*********** WARNINGS ***********  
No implementation found for style `graphicx'
No implementation found for style `booktabs'
No implementation found for style `vmargin'
No implementation found for style `tocloft'
No implementation found for style `hyperref'

redefining command \theequation 

The relax.aux file was not found, so sections will not be numbered 
and cross-references will be shown as icons.

No number for "NOEplot"

No number for
"Aschematicofthemodel-freeoptimisationprotocolofMandeletal.,1995"

No number for "Model-freeanalysisusingthediffusionseededparadigm"

No number for "Aschematicofthenewmodel-freeoptimisationprotocol"

No number for "Theconstructionofthemodel-freegradient."

No number for "Themodel-freeHessiankite."

No number for
"<SPANCLASS="MATH">$chi^2$</SPAN>dependenciesofthevalues,gradients,andHessians."

No number for "Thecoredesignofrelax."

The bibliography file was not found.

Unknown commands: href bottomrule stretch theparentequation hypersetup
toprule midrule
Done.


dummy(["user_manual_html_nofetch"], [])
scons: done building targets.


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


This was reproducible on different Gentoo Linux machines...
In all cases, programs were python-2.6.2-r1 and scons-1.2.0-r1.

I tested on release 1.3.4 and, for 2 of the 4 different cases
(user_manual_pdf, user_manual_pdf_nofetch, user_manual_html), I got the same
error (the fetch error associated to Python, see above)... The html functions
(user_manual_html, user_manual_html_nofetch) yielded the same error as above
for user_manual_html_nofetch...

Any idea ?

Thank you !


Séb




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?14464>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/




Related Messages


Powered by MHonArc, Updated Wed Oct 07 22:40:14 2009