[GRASS-user] Problem in install Extensions from addons

Rebecca wrote:

Sorry to chip in but

thank you for doing so, the more feedback we have the more
obvious the problems and solutions will be.

I have been having trouble with add-ons in Ubuntu for ages -
Hamish's response to Carla's email inspired me to try again,
here's how far I get...

First up specs:
GRASS version: 6.4.3RC2

...

Platform: Linux-3.2.0-37-generic-pae-i686-with-Ubuntu-12.04-precise

So that I can replicate, what does 'dpkg -l grass' from a
Terminal window say about the exact package version? (i.e. is
the package from ubuntugis or grass ppa or ...?) You may need
to pull the terminal window very wide to avoid the end of the
version number from being chopped off.

I have the same error as Carla when installing through gui
so switched to terminal.

(I think the problem with the wxGUI python version is something
to do with MODULE_TOPDIR; am looking into it)

...

g.extension extension=r.out.kml svnurl=http://svn.osgeo.org
/grass/grass-addons/grass6 prefix=/home/becca/.grass6/addons

but this still ends in an error full export attached as txt
file.

looking at the build log, it seems that the module was installed
ok, just that the `man` version of the help page failed to
install for some reason, but that is a minor inconvenience.
-> Try running it, does it work? Does 'locate r.out.kml' show it
in your addons dir?

Hamish

Hi Hamish, thanks for your response

dpkg -l grass

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
++±==============-==============-============================================
ii grass 6.4.3rc2-2~pre Geographic Resources Analysis Support System

Checked add-ons menu in gui no sign of r.out.kml, no response from typing command in gui but locate says it’s there

GRASS 6.4.3RC2 (Deer_park):~ > locate r.out.kml
/home/becca/.grass6/addons/bin/docs/html/r.out.kml.html
/home/becca/.grass6/addons/bin/scripts/r.out.kml
/home/becca/.grass6/addons/docs/html/r.out.kml.html
/home/becca/.grass6/addons/scripts/r.out.kml

so I tried moving to the /home/becca/.grass6/addons/scripts/ and running (./r.out.kml) getting this message:

so close… :slight_smile:


From: Hamish hamish_b@yahoo.com
To:grass-user@lists.osgeo.orggrass-user@lists.osgeo.org; Rebecca Bennett rabennett@ymail.com
Sent: Saturday, 16 February 2013, 20:06
Subject: Re: [GRASS-user] Problem in install Extensions from addons

Rebecca wrote:

Sorry to chip in but

thank you for doing so, the more feedback we have the more
obvious the problems and solutions will be.

I have been having trouble with add-ons in Ubuntu for ages -
Hamish’s response to Carla’s email inspired me to try again,
here’s how far I get…

First up specs:
GRASS version: 6.4.3RC2

Platform: Linux-3.2.0-37-generic-pae-i686-with-Ubuntu-12.04-precise

So that I can replicate, what does ‘dpkg -l grass’ from a
Terminal window say about the exact package version? (i.e. is
the package from ubuntugis or grass ppa or …?) You may need
to pull the terminal window very wide to avoid the end of the
version number from being chopped off.

I have the same error as Carla when installing through gui
so switched to terminal.

(I think the problem with the wxGUI python version is something
to do with MODULE_TOPDIR; am looking into it)

g.extension extension=r.out.kml svnurl=http://svn.osgeo.org
/grass/grass-addons/grass6 prefix=/home/becca/.grass6/addons

but this still ends in an error full export attached as txt
file.

looking at the build log, it seems that the module was installed
ok, just that the man version of the help page failed to
install for some reason, but that is a minor inconvenience.
→ Try running it, does it work? Does ‘locate r.out.kml’ show it
in your addons dir?

Hamish

final error message (from terminal ./r.out.kml) didn’t come through on last email, sorry.


From: Rebecca Bennett rabennett@ymail.com
To: Hamish hamish_b@yahoo.com; “grass-user@lists.osgeo.orggrass-user@lists.osgeo.org
Sent: Sunday, 17 February 2013, 12:57
Subject: Re: [GRASS-user] Problem in install Extensions from addons

Hi Hamish, thanks for your response

dpkg -l grass

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
++±==============-==============-============================================
ii grass 6.4.3rc2-2~pre Geographic Resources Analysis Support System

Checked add-ons menu in gui no sign of r.out.kml, no response from typing command in gui but locate says it’s there

GRASS 6.4.3RC2 (Deer_park):~ > locate r.out.kml
/home/becca/.grass6/addons/bin/docs/html/r.out.kml.html
/home/becca/.grass6/addons/bin/scripts/r.out.kml
/home/becca/.grass6/addons/docs/html/r.out.kml.html
/home/becca/.grass6/addons/scripts/r.out.kml

so I tried moving to the /home/becca/.grass6/addons/scripts/ and running (./r.out.kml) getting this message:

so close… :slight_smile:


From: Hamish hamish_b@yahoo.com
To:grass-user@lists.osgeo.orggrass-user@lists.osgeo.org; Rebecca Bennett rabennett@ymail.com
Sent: Saturday, 16 February 2013, 20:06
Subject: Re: [GRASS-user] Problem in install Extensions from addons

Rebecca wrote:

Sorry to chip in but

thank you for doing so, the more feedback we have the more
obvious the problems and solutions will be.

I have been having trouble with add-ons in Ubuntu for ages -
Hamish’s response to Carla’s email inspired me to try again,
here’s how far I get…

First up specs:
GRASS version: 6.4.3RC2

Platform: Linux-3.2.0-37-generic-pae-i686-with-Ubuntu-12.04-precise

So that I can replicate, what does ‘dpkg -l grass’ from a
Terminal window say about the exact package version? (i.e. is
the package from ubuntugis or grass ppa or …?) You may need
to pull the terminal window very wide to avoid the end of the
version number from being chopped off.

I have the same error as Carla when installing through gui
so switched to terminal.

(I think the problem with the wxGUI python version is something
to do with MODULE_TOPDIR; am looking into it)

g.extension extension=r.out.kml svnurl=http://svn.osgeo.org
/grass/grass-addons/grass6 prefix=/home/becca/.grass6/addons

but this still ends in an error full export attached as txt
file.

looking at the build log, it seems that the module was installed
ok, just that the man version of the help page failed to
install for some reason, but that is a minor inconvenience.
→ Try running it, does it work? Does ‘locate r.out.kml’ show it
in your addons dir?

Hamish


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

(attachments)

routkml_error.png