[GRASS-dev] i.segment.hierarchical make pb

Hi,

Please confirm this is expected, it is new from today on my Ubuntu machine.

thx,
Yann

yann@yann-ok:~/dev/grass-addons/grass7/imagery/i.segment.hierarchical$ make MODULE_TOPDIR=~/dev/grass_yann/
Makefile:17: warning: overriding recipe for target '/home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu/etc/i.segment.hierarchical'
/home/yann/dev/grass_yann//include/Make/ScriptRules.make:19: warning: ignoring old recipe for target '/home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu/etc/i.segment.hierarchical'
if [ "/home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu/scripts/i.segment.hierarchical" != "" ] ; then GISRC=/home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu/demolocation/.grassrc71 GISBASE=/home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu PATH="/home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu/bin:/home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu/bin:/home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu/scripts:$PATH" PYTHONPATH="/home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu/etc/python:/home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu/gui/wxpython:$PYTHONPATH" LD_LIBRARY_PATH="/home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu/bin:/home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu/bin:/home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu/scripts:/home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu/lib:/home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu/lib:" LC_ALL=C /home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu/scripts/i.segment.hierarchical --html-description < /dev/null | grep -v '</body>\|</html>' > i.segment.hierarchical.tmp.html ; fi
Traceback (most recent call last):
   File "/home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu/scripts/i.segment.hierarchical", line 153, in <module>
     set_path("i.segment.hierarchical")
   File "/home/yann/dev/grass_yann/dist.x86_64-pc-linux-gnu/etc/python/grass/pygrass/utils.py", line 306, in set_path
     return grasscore.set_path(modulename=modulename, dirname=dirname,
AttributeError: 'module' object has no attribute 'set_path'
/home/yann/dev/grass_yann//include/Make/Html.make:14: recipe for target 'i.segment.hierarchical.tmp.html' failed
make: *** [i.segment.hierarchical.tmp.html] Error 1
rm i.segment.hierarchical.tmp.html

--
-----
Yann Chemin
Address: 3 Toul Melin, 56400 Plumergat
Mobile: +33 (0)7 83 85 52 34

On Mon, Jan 25, 2016 at 3:43 PM, Yann <yann.chemin@gmail.com> wrote:

    return grasscore.set_path(modulename=modulename, dirname=dirname,
AttributeError: 'module' object has no attribute 'set_path'

Related to recent r67669. I will test here with i.segment.hierarchical.
Meanwhile make sure you have svn up on the whole lib/python.

https://trac.osgeo.org/grass/changeset/67669

will reload svn and get a manual clean before recompiling

On 25/01/2016 21:52, Vaclav Petras wrote:

On Mon, Jan 25, 2016 at 3:43 PM, Yann <yann.chemin@gmail.com> wrote:

     return grasscore.set_path(modulename=modulename, dirname=dirname,
AttributeError: 'module' object has no attribute 'set_path'

Related to recent r67669. I will test here with i.segment.hierarchical.
Meanwhile make sure you have svn up on the whole lib/python.

https://trac.osgeo.org/grass/changeset/67669

--
-----
Yann Chemin
Address: 3 Toul Melin, 56400 Plumergat
Mobile: +33 (0)7 83 85 52 34

On Mon, Jan 25, 2016 at 3:52 PM, Vaclav Petras <wenzeslaus@gmail.com> wrote:

On Mon, Jan 25, 2016 at 3:43 PM, Yann <yann.chemin@gmail.com> wrote:

    return grasscore.set_path(modulename=modulename, dirname=dirname,
AttributeError: 'module' object has no attribute 'set_path'

Related to recent r67669. I will test here with i.segment.hierarchical.

Sorry, my bad, got confused from the imports. Fixed in r67670.

all good now on this side indeed!

On 25/01/2016 21:58, Vaclav Petras wrote:

On Mon, Jan 25, 2016 at 3:52 PM, Vaclav Petras <wenzeslaus@gmail.com> wrote:

On Mon, Jan 25, 2016 at 3:43 PM, Yann <yann.chemin@gmail.com> wrote:

     return grasscore.set_path(modulename=modulename, dirname=dirname,
AttributeError: 'module' object has no attribute 'set_path'

Related to recent r67669. I will test here with i.segment.hierarchical.

Sorry, my bad, got confused from the imports. Fixed in r67670.

--
-----
Yann Chemin
Address: 3 Toul Melin, 56400 Plumergat
Mobile: +33 (0)7 83 85 52 34