Opened 6 years ago

Closed 4 years ago

Last modified 4 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 Changed 6 years ago by lucadelu

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

comment:2 Changed 6 years ago by neteler

Also the Sphinx based documentation needs a fix:

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

comment:3 in reply to:  2 Changed 6 years ago by neteler

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).

comment:4 in reply to:  2 Changed 6 years ago by neteler

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.

comment:5 in reply to:  description ; Changed 5 years ago by 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?

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

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.

comment:7 in reply to:  6 Changed 5 years ago by lucadelu

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 Changed 4 years ago by lucadelu

Resolution: fixed
Status: newclosed

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

Please reopen if needed

comment:9 Changed 4 years ago by neteler

Milestone: 7.1.07.2.0

Milestone renamed

Note: See TracTickets for help on using tickets.