madi
October 10, 2016, 9:39am
1
Dear All,
when i try to use g.extension behind a proxy, it gives me the following error:
g.extension ext=i.segment.hierarchical proxy=“http://xx.xxx.xxx.xx :xxxx”
Traceback (most recent call last):
File “/usr/local/grass-7.3.svn/scripts/g.extension”, line 1730, in
sys.exit(main())
File “/usr/local/grass-7.3.svn/scripts/g.extension”, line 1675, in main
for ptype, purl in (p.split(‘=’) for p in options[‘proxy’].split(‘,’)):
ValueError: need more than 1 value to unpack
Does anybody have the same? Is that a bug or my misuse?
Thanks
···
Margherita Di Leo
Pietro2
October 10, 2016, 10:19am
2
Hi,
I'm not behaind a proxy, so I can not test by myself.
On Mon, Oct 10, 2016 at 11:39 AM, Margherita Di Leo <diregola@gmail.com> wrote:
g.extension ext=i.segment.hierarchical proxy="http://xx.xxx.xxx.xx :xxxx"
for ptype, purl in (p.split('=') for p in options['proxy'].split(',')):
Looking at manual and the code here it seems that you have t specify:
{{{
proxy="http=<value>,ftp=<value>"
}}}
so you should use:
{{{
g.extension ext=i.segment.hierarchical proxy="http=http://xx.xxx.xxx.xx :xxxx"
}}}
Let us know.
All the best
Pietro
madi
October 10, 2016, 1:05pm
4
On Mon, Oct 10, 2016 at 2:28 PM, Margherita Di Leo <diregola@gmail.com>
wrote:
Ciao Pietro,
On Mon, Oct 10, 2016 at 12:19 PM, Pietro <peter.zamb@gmail.com> wrote:
Looking at manual and the code here it seems that you have t specify:
{{{
proxy="http=<value>,ftp=<value>"
}}}
so you should use:
{{{
g.extension ext=i.segment.hierarchical proxy="http=http://xx.xxx.xxx .
xx:xxxx"
}}}
Let us know.
Right, so now I get:
Fetching <i.segment.hierarchical> from GRASS GIS Addons repository (be
patient)...
ERROR: Extension <i.segment.hierarchical> not found
Which is the same that I get if I don't use the proxy option. It seems to
me that the proxy in g.extension is not handled at all. If anyone can
confirm I will file a bug for this. Thanks
--
Margherita Di Leo
Ciao Madi, Pietro
Dunno if related or not at all, but I get the same error when trying to install db.join… No proxy involved, though. I just do:
g.extension db.join
However, I did install other add-on today without any problem (v.centerpoint).
No idea
Best,
Vero
···
El oct. 10, 2016 3:05 PM, “Margherita Di Leo” <diregola@gmail.com > escribió:
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user
On Mon, Oct 10, 2016 at 2:28 PM, Margherita Di Leo <diregola@gmail.com > wrote:
Ciao Pietro,
Which is the same that I get if I don’t use the proxy option. It seems to me that the proxy in g.extension is not handled at all. If anyone can confirm I will file a bug for this. Thanks
–
Margherita Di Leo
On Mon, Oct 10, 2016 at 12:19 PM, Pietro <peter.zamb@gmail.com > wrote:
Looking at manual and the code here it seems that you have t specify:
{{{
proxy=“http=,ftp=”
}}}
so you should use:
{{{
g.extension ext=i.segment.hierarchical proxy=“http=http://xx.xxx.xxx .xx:xxxx”
}}}
Let us know.
Right, so now I get:
Fetching <i.segment.hierarchical> from GRASS GIS Addons repository (be
patient)…
ERROR: Extension <i.segment.hierarchical> not found
On Tue, Jan 9, 2018 at 2:28 PM, Gra <graziaz@gmail.com> wrote:
any other comment?
I have the same problem
We need to have a bit more details:
- error message
- GRASS GIS version
- operating system
- Python version
Markus
Gra
January 10, 2018, 8:00am
9
Hi Markus
here the details:
the command line:
I tried:
g.extension extension=v.centerpoint operation=add proxy=“http://10.168.209.72:8012 ”
Traceback (most recent call last):
File “/usr/lib/grass72/scripts/g.extension”, line 1733, in
sys.exit(main())
File “/usr/lib/grass72/scripts/g.extension”, line 1678, in
main
for ptype, purl in (p.split(‘=’) for p in options[‘proxy’].split(‘,’)):
ValueError: need more than 1 value to unpack
Thanks Grazia
···
2018-01-09 18:29 GMT+01:00 Markus Neteler <neteler@osgeo.org >:
On Tue, Jan 9, 2018 at 2:28 PM, Gra <graziaz@gmail.com > wrote:
any other comment?
I have the same problem
We need to have a bit more details:
error message
GRASS GIS version
operating system
Python version
Markus
Gra
January 10, 2018, 8:48am
10
operating system
Ubuntu 16.04 xenial
ciao
···
2018-01-10 9:00 GMT+01:00 Gra <graziaz@gmail.com >:
Hi Markus
here the details:
the command line:
I tried:
g.extension extension=v.centerpoint operation=add proxy=“http://10.168.209.72:8012 ”
Traceback (most recent call last):
File “/usr/lib/grass72/scripts/g.extension”, line 1733, in
sys.exit(main())
File “/usr/lib/grass72/scripts/g.extension”, line 1678, in
main
for ptype, purl in (p.split(‘=’) for p in options[‘proxy’].split(‘,’)):
ValueError: need more than 1 value to unpack
Thanks Grazia
2018-01-09 18:29 GMT+01:00 Markus Neteler <neteler@osgeo.org >:
On Tue, Jan 9, 2018 at 2:28 PM, Gra <graziaz@gmail.com > wrote:
any other comment?
I have the same problem
We need to have a bit more details:
error message
GRASS GIS version
operating system
Python version
Markus
neteler
January 10, 2018, 10:26am
11
Hi Grazia,
On Wed, Jan 10, 2018 at 9:00 AM, Gra <graziaz@gmail.com> wrote:
Hi Markus
here the details:
the command line:
I tried:
g.extension extension=v.centerpoint operation=add
proxy="http://10.168.209.72:8012 "
- error message -
- GRASS GIS version - 7.2.1
- operating system
ubuntu (I have to ask which version is currently installed on the docker)
- Python version - 2.7
... could it be that docker doesn't pass on the connection to the
server in the internet?
ciao, Markus
neteler
January 10, 2018, 4:17pm
12
On Wed, Jan 10, 2018 at 11:26 AM, Markus Neteler <neteler@osgeo.org> wrote:
On Wed, Jan 10, 2018 at 9:00 AM, Gra <graziaz@gmail.com> wrote:
...
g.extension extension=v.centerpoint operation=add
proxy="http://10.168.209.72:8012 "
- error message -
In addition:
- sure it is not https?
- what about proxy authentication?
See
https://grass.osgeo.org/grass72/manuals/g.extension.html#download-and-install-of-an-extension-when-behind-a-proxy
ciao, Markus