[GRASS-dev] [GRASS GIS] #2701: Grass 7.0.0 installed from QGIS Repository

#2701: Grass 7.0.0 installed from QGIS Repository
-------------------------+-------------------------
Reporter: rjhale1971 | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.1
Component: Default | Version: 7.0.0
Keywords: linux, qgis | CPU: Unspecified
Platform: Linux |
-------------------------+-------------------------
Tried to add the isochrone extension and received an error.

Exception in thread Thread-63:
Traceback (most recent call last):
   File "/usr/lib/python2.7/threading.py", line 810, in
__bootstrap_inner
     self.run()
   File "/usr/lib/grass70/gui/wxpython/core/gthread.py", line
94, in run
     ret = vars()['callable'](*args, **kwds)
   File
"/usr/lib/grass70/gui/wxpython/modules/extensions.py", line
315, in Load
     raise GException(_("Unable to load extensions. %s") %
msg)
GException: Unable to load extensions. 'svn' required.
Please install 'svn' first.

I'm not sure is svn needs to be installed in python or ubuntu

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2701&gt;
GRASS GIS <http://grass.osgeo.org>

#2701: Grass 7.0.0 installed from QGIS Repository
--------------------------+-------------------------
  Reporter: rjhale1971 | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.1
Component: Default | Version: 7.0.0
Resolution: | Keywords: linux, qgis
       CPU: Unspecified | Platform: Linux
--------------------------+-------------------------

Comment (by wenzeslaus):

Replying to [ticket:2701 rjhale1971]:
> Tried to add the isochrone extension and received an error.
>
> {{{
> GException: Unable to load extensions. 'svn' required.
> Please install 'svn' first.
> }}}
>
> I'm not sure is svn needs to be installed in python or ubuntu

`svn` refers a command line tool for a //Subversion// revision control
system. So you need to install it to Ubuntu, not Python.

Do you have a suggestion how to change the wording, so it is more
understandable what to install? (We have somewhere else also the case when
the thing to install is a Python package (e.g., *matplotlib*) but it is
still usually installed as an Ubuntu package, although some people may
prefer to install it to using a Python way such as `pip`.)

About the QGIS repository, I think you would get same issue with any repo,
but I might be wrong about that. `svn` (//Subversion//) is not a
requirement, although it is necessary for installing addons (on unix-like
systems). So `svn` is an additional or recommend dependency.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2701#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2701: Grass 7.0.0 installed from QGIS Repository
--------------------------+-------------------------
  Reporter: rjhale1971 | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.1
Component: Default | Version: 7.0.0
Resolution: | Keywords: linux, qgis
       CPU: Unspecified | Platform: Linux
--------------------------+-------------------------

Comment (by mlennert):

Replying to [comment:1 wenzeslaus]:
> Replying to [ticket:2701 rjhale1971]:
> > Tried to add the isochrone extension and received an error.
> >
> > {{{
> > GException: Unable to load extensions. 'svn' required.
> > Please install 'svn' first.
> > }}}
> >
> > I'm not sure is svn needs to be installed in python or ubuntu
>
> `svn` refers a command line tool for a //Subversion// revision control
system. So you need to install it to Ubuntu, not Python.
>

Do we really have to depend on svn for g.extension ? AFAIK, trac can be
configured to allow download of tarballs of specific directories. How
about enabling this for the addons directory and then just have
g.extension download these tarballs ?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2701#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#2701: Grass 7.0.0 installed from QGIS Repository
--------------------------+-------------------------
  Reporter: rjhale1971 | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.1
Component: Default | Version: 7.0.0
Resolution: | Keywords: linux, qgis
       CPU: Unspecified | Platform: Linux
--------------------------+-------------------------

Comment (by martinl):

Replying to [comment:2 mlennert]:
> Do we really have to depend on svn for g.extension ? AFAIK, trac can be
configured to allow download of tarballs of specific directories. How
about enabling this for the addons directory and then just have
g.extension download these tarballs ?

Would be nice.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2701#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>