← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 813740] [NEW] linking to docstrings in the source code broken

 

Public bug reported:

Hello,

While trying to build the doc according to the info presented in the
file documentation_process, the process fails in both cases:

$ PYTHONPATH=/home/bstanciu/workspace/server-trunk/openerp make html

mkdir -p build/html build/doctrees
sphinx-build -b html -d build/doctrees   source build/html
Running Sphinx v1.0.7
loading pickled environment... not yet created
building [html]: targets for 996 source files that are out of date
updating environment: 996 added, 0 changed, 0 removed
reading sources... 
[  4%] book/1/1_2_Guided_Tour/1_2_Guided_Tour_install_functionalireading sources... 
[ 15%] book/7/7_23_Managementsystem/7_23_Managementsystem_nonconf
Usage: sphinx-build [options]eloper/2_5_Objects_Fields_Methods/methods              

sphinx-build: error: no such option: -b
make: *** [html] Error 2

if I try without the pythonpath, there is obviously the "not found"
error:

$ make html

mkdir -p build/html build/doctrees
sphinx-build -b html -d build/doctrees   source build/html
Running Sphinx v1.0.7
loading pickled environment... done
building [html]: targets for 996 source files that are out of date
updating environment: 0 added, 3 changed, 0 removed
Traceback (most recent call last):r/2_5_Objects_Fields_Methods/methods              
  File "/usr/local/lib/python2.7/dist-packages/Sphinx-1.0.7-py2.7.egg/sphinx/ext/autodoc.py", line 329, in import_object
    __import__(self.modname)
ImportError: No module named osv.osv

/home/user/workspace/openobject-
doc/source/developer/2_5_Objects_Fields_Methods/methods.rst:23:
(WARNING/2) autodoc can't import/find class 'osv.osv.osv', it reported
error: "No module named osv.osv", please check your spelling and
sys.path

looking for now-outdated files... none found
... 

and it goes till the end, with a few WARNINGS...
...

Build finished. The HTML pages are in build/html.

thank you!
Bogdan

** Affects: openobject-doc
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/813740

Title:
  linking to docstrings in the source code broken

Status in OpenERP Documentation:
  New

Bug description:
  Hello,

  While trying to build the doc according to the info presented in the
  file documentation_process, the process fails in both cases:

  $ PYTHONPATH=/home/bstanciu/workspace/server-trunk/openerp make html

  mkdir -p build/html build/doctrees
  sphinx-build -b html -d build/doctrees   source build/html
  Running Sphinx v1.0.7
  loading pickled environment... not yet created
  building [html]: targets for 996 source files that are out of date
  updating environment: 996 added, 0 changed, 0 removed
  reading sources... 
  [  4%] book/1/1_2_Guided_Tour/1_2_Guided_Tour_install_functionalireading sources... 
  [ 15%] book/7/7_23_Managementsystem/7_23_Managementsystem_nonconf
  Usage: sphinx-build [options]eloper/2_5_Objects_Fields_Methods/methods              

  sphinx-build: error: no such option: -b
  make: *** [html] Error 2

  if I try without the pythonpath, there is obviously the "not found"
  error:

  $ make html

  mkdir -p build/html build/doctrees
  sphinx-build -b html -d build/doctrees   source build/html
  Running Sphinx v1.0.7
  loading pickled environment... done
  building [html]: targets for 996 source files that are out of date
  updating environment: 0 added, 3 changed, 0 removed
  Traceback (most recent call last):r/2_5_Objects_Fields_Methods/methods              
    File "/usr/local/lib/python2.7/dist-packages/Sphinx-1.0.7-py2.7.egg/sphinx/ext/autodoc.py", line 329, in import_object
      __import__(self.modname)
  ImportError: No module named osv.osv

  /home/user/workspace/openobject-
  doc/source/developer/2_5_Objects_Fields_Methods/methods.rst:23:
  (WARNING/2) autodoc can't import/find class 'osv.osv.osv', it reported
  error: "No module named osv.osv", please check your spelling and
  sys.path

  looking for now-outdated files... none found
  ... 

  and it goes till the end, with a few WARNINGS...
  ...

  Build finished. The HTML pages are in build/html.

  thank you!
  Bogdan

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-doc/+bug/813740/+subscriptions


Follow ups

References