Opened 11 years ago

Closed 9 years ago

Last modified 9 years ago

#2261 closed defect (fixed)

failed pygrass doctest

Reported by: lucadelu Owned by: grass-dev@…
Priority: major Milestone: 7.2.0
Component: Python Version: svn-trunk
Keywords: pygrass doctest Cc:
CPU: Unspecified Platform: All

Description

I spend a while to test the doctest of pygrass.

I fixed several, but there are still some broken. Please check the following files

modules/shortcuts.py
modules/grid/grid.py
raster/__init__.py
raster/abstract.py
raster/category.py
raster/history.py
vector/__init__.py
vector/find.py

When all the doctest will work we should backport to release branch 70

Change History (9)

comment:1 by lucadelu, 11 years ago

Please try with a trunk version major of r59907 and a clean nc basic location

comment:2 by neteler, 11 years ago

Also the Sphinx based documentation needs a fix:

cd lib/python/pygrass/docs/
make html
--> reference errors

in reply to:  2 comment:3 by neteler, 11 years ago

Replying to neteler:

Also the Sphinx based documentation needs a fix:

cd lib/python/pygrass/docs/
make html
--> reference errors

Fixed in r59943 and r59947 (respectively in relbr7).

in reply to:  2 comment:4 by neteler, 11 years ago

Replying to neteler:

Also the Sphinx based documentation needs a fix:

Solved also on grass.osgeo.org: The PyGRASS manual (Sphinx based) is now updated weekly:

http://grass.osgeo.org/programming7/pygrass/

Remains: test and update doctest.

in reply to:  description ; comment:5 by lucadelu, 10 years ago

Replying to lucadelu:

modules/shortcuts.py
modules/grid/grid.py
raster/__init__.py
raster/abstract.py
raster/category.py
raster/history.py
vector/__init__.py
vector/find.py

There are still some failures.

Pietro could you check them please?

in reply to:  5 ; comment:6 by zarch, 10 years ago

Replying to lucadelu:

Replying to lucadelu:

modules/shortcuts.py
modules/grid/grid.py
raster/__init__.py
raster/abstract.py
raster/category.py
raster/history.py
vector/__init__.py
vector/find.py

There are still some failures.

Pietro could you check them please?

Done in: r61874, r61875, r61876, r61878, r61879, r61883, r61884. Now they are working on my computer.

in reply to:  6 comment:7 by lucadelu, 10 years ago

Replying to zarch:

Done in: r61874, r61875, r61876, r61878, r61879, r61883, r61884. Now they are working on my computer.

There are still problems with raster 0 and grid 1.

I don't understand where is the error, nothing seems reported in the output of sphinx.

comment:8 by lucadelu, 9 years ago

Resolution: fixed
Status: newclosed

With r67836 all the problems seem solved. Backported in r67837. Closing it

Please reopen if needed

comment:9 by neteler, 9 years ago

Milestone: 7.1.07.2.0

Milestone renamed

Note: See TracTickets for help on using tickets.