[GRASS-dev] g.extension does not find any extension to install

Hi,

No add-on seems to9 be available to my system when trying to use the
g.extension command:

GRASS 7.0.svn (NZTM2000):~ > g.extension -l
svnurl=https://svn.osgeo.org/grass/grass-addons
Fetching list of modules from GRASS-Addons SVN (be patient)...
GRASS 7.0.svn (NZTM2000):~ >

Therefore, it is not possible to install any:

GRASS 7.0.svn (NZTM2000):~ > g.extension -s
svnurl=https://svn.osgeo.org/grass/grass-addons extension=wx.psmap
Fetching 'wx.psmap' from GRASS-Addons SVN (be patient)...
svn: URL 'https://svn.osgeo.org/grass/grass-addons/wx/wx.psmap’ doesn't exist
ERROR: GRASS Addons 'wx.psmap' not found in repository
GRASS 7.0.svn (NZTM2000):~ >

If that's of any use, I'm running the last grass70 SVN version, on a
Linux x86_64 platform. But I suspect this is related to the proxy of
my institute, despite I got it specified in the HTTP_PROXY envvar, and
in my ~/.subversion/servers file.

Cheers,

Pierre

--
Scientist
Landcare Research, New Zealand

On Wed, Mar 30, 2011 at 3:13 AM, Pierre Roudier
<pierre.roudier@gmail.com> wrote:

Hi,

No add-on seems to9 be available to my system when trying to use the
g.extension command:

GRASS 7.0.svn (NZTM2000):~ > g.extension -l
svnurl=https://svn.osgeo.org/grass/grass-addons
Fetching list of modules from GRASS-Addons SVN (be patient)...
GRASS 7.0.svn (NZTM2000):~ >

Therefore, it is not possible to install any:

GRASS 7.0.svn (NZTM2000):~ > g.extension -s
svnurl=https://svn.osgeo.org/grass/grass-addons extension=wx.psmap
Fetching 'wx.psmap' from GRASS-Addons SVN (be patient)...
svn: URL 'https://svn.osgeo.org/grass/grass-addons/wx/wx.psmap’ doesn't exist
ERROR: GRASS Addons 'wx.psmap' not found in repository
GRASS 7.0.svn (NZTM2000):~ >

If that's of any use, I'm running the last grass70 SVN version, on a
Linux x86_64 platform. But I suspect this is related to the proxy of
my institute, despite I got it specified in the HTTP_PROXY envvar, and
in my ~/.subversion/servers file.

I think that you also need to set the HTTPS proxy variable:

https_proxy=http://username:password@host:port/
export https_proxy

Markus

Thanks Markus,

Unfortunately, I still have the same behaviour after exporting my
proxy settings to the HTTPS_PROXY envvar:

GRASS 7.0.svn (NZTM2000):~ > g.extension -l
svnurl=https://svn.osgeo.org/grass/grass-addons
Fetching list of modules from GRASS-Addons SVN (be patient)...
GRASS 7.0.svn (NZTM2000):~ >

I'm wondering if I have to specify something special for https in my
subversion conf file?

Pierre

2011/3/30 Markus Neteler <neteler@osgeo.org>:

On Wed, Mar 30, 2011 at 3:13 AM, Pierre Roudier
<pierre.roudier@gmail.com> wrote:

Hi,

No add-on seems to9 be available to my system when trying to use the
g.extension command:

GRASS 7.0.svn (NZTM2000):~ > g.extension -l
svnurl=https://svn.osgeo.org/grass/grass-addons
Fetching list of modules from GRASS-Addons SVN (be patient)...
GRASS 7.0.svn (NZTM2000):~ >

Therefore, it is not possible to install any:

GRASS 7.0.svn (NZTM2000):~ > g.extension -s
svnurl=https://svn.osgeo.org/grass/grass-addons extension=wx.psmap
Fetching 'wx.psmap' from GRASS-Addons SVN (be patient)...
svn: URL 'https://svn.osgeo.org/grass/grass-addons/wx/wx.psmap’ doesn't exist
ERROR: GRASS Addons 'wx.psmap' not found in repository
GRASS 7.0.svn (NZTM2000):~ >

If that's of any use, I'm running the last grass70 SVN version, on a
Linux x86_64 platform. But I suspect this is related to the proxy of
my institute, despite I got it specified in the HTTP_PROXY envvar, and
in my ~/.subversion/servers file.

I think that you also need to set the HTTPS proxy variable:

https_proxy=http://username:password@host:port/
export https_proxy

Markus

--
Scientist
Landcare Research, New Zealand

On Thu, Mar 31, 2011 at 1:27 AM, Pierre Roudier
<pierre.roudier@gmail.com> wrote:

Thanks Markus,

Unfortunately, I still have the same behaviour after exporting my
proxy settings to the HTTPS_PROXY envvar:

GRASS 7.0.svn (NZTM2000):~ > g.extension -l
svnurl=https://svn.osgeo.org/grass/grass-addons
Fetching list of modules from GRASS-Addons SVN (be patient)...
GRASS 7.0.svn (NZTM2000):~ >

I'm wondering if I have to specify something special for https in my
subversion conf file?

.. no idea about subversion conf but I suspect that the g.extension
program may ignore the proxy envvar?

Markus

Well, I think this is the case if svn is used.

What is surprising though is that:
svn co https://svn.osgeo.org/grass/grass-addons
is working well.

Should I fill a bug?

Pierre

2011/3/31 Markus Neteler <neteler@osgeo.org>:

On Thu, Mar 31, 2011 at 1:27 AM, Pierre Roudier
<pierre.roudier@gmail.com> wrote:

Thanks Markus,

Unfortunately, I still have the same behaviour after exporting my
proxy settings to the HTTPS_PROXY envvar:

GRASS 7.0.svn (NZTM2000):~ > g.extension -l
svnurl=https://svn.osgeo.org/grass/grass-addons
Fetching list of modules from GRASS-Addons SVN (be patient)...
GRASS 7.0.svn (NZTM2000):~ >

I'm wondering if I have to specify something special for https in my
subversion conf file?

.. no idea about subversion conf but I suspect that the g.extension
program may ignore the proxy envvar?

Markus

--
Scientist
Landcare Research, New Zealand

On Thu, Mar 31, 2011 at 3:07 AM, Pierre Roudier
<pierre.roudier@gmail.com> wrote:

Well, I think this is the case if svn is used.

What is surprising though is that:
svn co https://svn.osgeo.org/grass/grass-addons
is working well.

Should I fill a bug?

Yes please.

Sorry for the problem,
Markus

Markus,

Should I fill a bug?

Yes please.

Just filled http://trac.osgeo.org/grass/ticket/1341

Sorry for the problem,

No worries - thanks for making GRASS awesome :slight_smile:

Pierre