Opened 9 years ago

Closed 9 years ago

#2701 closed defect (fixed)

Grass 7.0.0 installed from QGIS Repository

Reported by: rjhale1971 Owned by: grass-dev@…
Priority: normal Milestone: 7.0.2
Component: Default Version: 7.0.0
Keywords: linux, qgis Cc:
CPU: Unspecified Platform: Linux

Description

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

Change History (8)

in reply to:  description ; comment:1 by wenzeslaus, 9 years ago

Replying to 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.

in reply to:  1 ; comment:2 by mlennert, 9 years ago

Replying to wenzeslaus:

Replying to 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 ?

in reply to:  2 ; comment:3 by martinl, 9 years ago

Replying to 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.

comment:4 by neteler, 9 years ago

Milestone: 7.0.17.0.2

Ticket retargeted after 7.0.1 milestone closed

in reply to:  3 ; comment:5 by neteler, 9 years ago

Replying to martinl:

Replying to 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.

For the record: I have configured trac accordingly a month ago.

in reply to:  5 comment:6 by mlennert, 9 years ago

Replying to neteler:

Replying to martinl:

Replying to 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.

For the record: I have configured trac accordingly a month ago.

And Vaclav has implemented use of the zip archives in r65769, or ?

I tried:

apt-get remove subversion

and a few g.extension installations and everything seems to have worked fine.

Thanks for the work !

I propose to close this bug.

comment:7 by neteler, 9 years ago

Milestone: 7.0.27.0.3

Ticket retargeted after milestone closed

comment:8 by neteler, 9 years ago

Milestone: 7.0.37.0.2
Resolution: fixed
Status: newclosed

Closing as suggested.

Note: See TracTickets for help on using tickets.