[GRASS-dev] no grass plugin in qgis installed from osgeo4w

Hi devs,

me again, sorry…

So, this comes from the previous email, but it is a different issue…

I also got qgis stable (2.12) from osgeo4w 32bits installer and there seems to be NO grass plugin installed nor available in the plugin list.

There’s also NO grass tools in Processing and I have the latest version avilable. I guess I missed selecting some other things in the installation process, but don’t know what.

Any instruction is welcome! :slight_smile:

Cheers,
Vero

Hei Vero,

Did you go through the advanced install in OSGeo4W? There you should have the “qgis-grass-plugin7” (and probably also necessary “qgis-grass-plugin-common”) available.

For the shell issue you can have a look here:

https://lists.osgeo.org/pipermail/grass-dev/2014-October/071294.html

Is OSGeoLive DVD/USB an alternative for you? That may help to avoid a lot of trouble (esp. when prepared and provided by you), caused e.g. by user names with non-ascii characters, missing-dlls access rights…

Cheers

Stefan

···

Hi devs,

me again, sorry…

So, this comes from the previous email, but it is a different issue…

I also got qgis stable (2.12) from osgeo4w 32bits installer and there seems to be NO grass plugin installed nor available in the plugin list.

There’s also NO grass tools in Processing and I have the latest version avilable. I guess I missed selecting some other things in the installation process, but don’t know what.

Any instruction is welcome! :slight_smile:

Cheers,

Vero

Hi Veronica,

Did you install GRASS in OSGeo4W? Which version?
On Sunday I made an installation on Windows and I found a problem. GRASS 7.0.2RC is already available on OSGeo4W. However, the .bat file that is created for the use of GRASS7 with QGIS, does not work, because it points to the folder structure of GRASS 7.0.1.

I don’t know if this has been corrected since then, and whether this might be your problem. I am forwarding this thread also for QGIS mailing list.

Best regards,

Pedro Venâncio

···

2015-10-27 13:23 GMT+00:00 Veronica Andreo <veroandreo@gmail.com>:

Hi devs,

me again, sorry…

So, this comes from the previous email, but it is a different issue…

I also got qgis stable (2.12) from osgeo4w 32bits installer and there seems to be NO grass plugin installed nor available in the plugin list.

There’s also NO grass tools in Processing and I have the latest version avilable. I guess I missed selecting some other things in the installation process, but don’t know what.

Any instruction is welcome! :slight_smile:

Cheers,
Vero


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

Hi Pedro,

···

2015-10-27 11:53 GMT-03:00 Pedro Venâncio <pedrongvenancio@gmail.com>:

Hi Veronica,

Did you install GRASS in OSGeo4W? Which version?

Yes, i got grass stable (grass7.0.2RC) from OSGeo4W 32 bits

On Sunday I made an installation on Windows and I found a problem. GRASS 7.0.2RC is already available on OSGeo4W. However, the .bat file that is created for the use of GRASS7 with QGIS, does not work, because it points to the folder structure of GRASS 7.0.1.

I don’t know if this has been corrected since then, and whether this might be your problem. I am forwarding this thread also for QGIS mailing list.

Ah! So, this might be (one of) the problem(s)… je!
Thanks much!

Vero

Hi Veronica,

Veronica Andreo wrote

Hi devs,

me again, sorry...

So, this comes from the previous email, but it is a different issue...

I also got qgis stable (2.12) from osgeo4w 32bits installer and there
seems
to be NO grass plugin installed nor available in the plugin list.

There's also NO grass tools in Processing and I have the latest version
avilable. I guess I missed selecting some other things in the installation
process, but don't know what.

Any instruction is welcome! :slight_smile:

Cheers,
Vero

AFAIK grass plugin isn't installed by OSGeo4W default installation.

start the OSGeo4W-setup -> advanced install -> Libs:

activate there:

qgis-grass plugin (for grass64)
qgis-grass plugin common
qgis-grass plugin7 (for grass7)

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/no-grass-plugin-in-qgis-installed-from-osgeo4w-tp5232796p5232836.html
Sent from the Grass - Dev mailing list archive at Nabble.com.

Hi Stefan

···

2015-10-27 10:48 GMT-03:00 Blumentrath, Stefan <Stefan.Blumentrath@nina.no>:

Hei Vero,

Did you go through the advanced install in OSGeo4W? There you should have the “qgis-grass-plugin7” (and probably also necessary “qgis-grass-plugin-common”) available.

Yeah, advanced install… Meep! I forgot some some essential clicks, maybe… ouch! Will try again and go back with news…

For the shell issue you can have a look here:

https://lists.osgeo.org/pipermail/grass-dev/2014-October/071294.html

will try :slight_smile:

Is OSGeoLive DVD/USB an alternative for you? That may help to avoid a lot of trouble (esp. when prepared and provided by you), caused e.g. by user names with non-ascii characters, missing-dlls access rights…

I thought of it, but for the time being i’ll try stick to local installation of grass and qgis ()… I’d want/like them to learn grass and then use/include it in their usual workflows… and not that they have to start a virtual machine and change OS to use grass… they may do that for some time but then, I feel they would drop it… Let’s see how it goes :slight_smile:

Thanks much, Stefan!

Cheers,
Vero

On Tue, Oct 27, 2015 at 3:53 PM, Pedro Venâncio <pedrongvenancio@gmail.com> wrote:

Hi Veronica,

Did you install GRASS in OSGeo4W? Which version?
On Sunday I made an installation on Windows and I found a problem. GRASS
7.0.2RC is already available on OSGeo4W. However, the .bat file that is
created for the use of GRASS7 with QGIS, does not work, because it points to
the folder structure of GRASS 7.0.1.

Hi Pedro:
I’m not on the QGIS list, please forward to them that they would better use this approach to get the path rather than hardocing it:

grass70 --config path

If they need Python, they could use something like this:

https://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly#Python:_GRASS_GIS_7

# query GRASS 7 itself for its GISBASE
startcmd = [grass7bin, '--config', 'path']
 
p = subprocess.Popen(startcmd, shell=False,
                     stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = p.communicate()
if p.returncode != 0:
    print >>sys.stderr, "ERROR: Cannot find GRASS GIS 7 start script (%s)" % startcmd
    sys.exit(-1)
gisbase = out.strip('\n\r')
 
# Set GISBASE environment variable
os.environ['GISBASE'] = gisbase
# the following not needed with trunk
os.environ['PATH'] += os.pathsep + os.path.join(gisbase, 'extrabin')
# add path to GRASS addons
home = os.path.expanduser("~")
os.environ['PATH'] += os.pathsep + os.path.join(home, '.grass7', 'addons', 'scripts')

Best
Markus

Hi again :slight_smile:

···

2015-10-27 12:15 GMT-03:00 Helmut Kudrnovsky <hellik@web.de>:

AFAIK grass plugin isn’t installed by OSGeo4W default installation.

start the OSGeo4W-setup → advanced install → Libs:

activate there:

qgis-grass plugin (for grass64)
qgis-grass plugin common
qgis-grass plugin7 (for grass7)

So, i activated these libraries and now I get two different QGIS icons: one with grass6 and the other with grass7

The one with grass6 works fine, both grass plugin and grass tools through processing are there and seem to work

But, the one with grass7 does not have grass plugin installed nor in the available plugin list and, maybe because of that (?), grass tools through processing do not work and when trying to use any of them it opens a dialog box saying I need to configure grassgis7 folder… But there’s no GRASS item in Configuration → Options (maybe just because the grass plugin is not there), so I don’t know where or if i even can do that without the grass plugin… sorry for ignorant here :frowning:

Thanks so much all of you for your help!
Best,
Vero

Veronica Andreo wrote

Hi again :slight_smile:

2015-10-27 12:15 GMT-03:00 Helmut Kudrnovsky &lt;

hellik@

&gt;:

AFAIK grass plugin isn't installed by OSGeo4W default installation.

start the OSGeo4W-setup -> advanced install -> Libs:

activate there:

qgis-grass plugin (for grass64)
qgis-grass plugin common
qgis-grass plugin7 (for grass7)

So, i activated these libraries and now I get two different QGIS icons:
one
with grass6 and the other with grass7

The one with grass6 works fine, both grass plugin and grass tools through
processing are there and seem to work

But, the one with grass7 does not have grass plugin installed nor in the
available plugin list and, maybe because of that (?), grass tools through
processing do not work and when trying to use any of them it opens a
dialog
box saying I need to configure grassgis7 folder... But there's no GRASS
item in Configuration --> Options (maybe just because the grass plugin is
not there), so I don't know where or if i even can do that without the
grass plugin... sorry for ignorant here :frowning:

Thanks so much all of you for your help!
Best,
Vero

as maybe this is an packaging issue, so may better ask on the QGIS dev
and/or OSGeo4W ML (https://lists.osgeo.org/mailman/listinfo/osgeo4w-dev)

-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/no-grass-plugin-in-qgis-installed-from-osgeo4w-tp5232796p5232866.html
Sent from the Grass - Dev mailing list archive at Nabble.com.

On 27/10/15 17:12, Veronica Andreo wrote:

Hi again :slight_smile:

2015-10-27 12:15 GMT-03:00 Helmut Kudrnovsky <hellik@web.de
<mailto:hellik@web.de>>:

    AFAIK grass plugin isn't installed by OSGeo4W default installation.

    start the OSGeo4W-setup -> advanced install -> Libs:

    activate there:

    qgis-grass plugin (for grass64)
    qgis-grass plugin common
    qgis-grass plugin7 (for grass7)

So, i activated these libraries and now I get two different QGIS icons:
one with grass6 and the other with grass7

The one with grass6 works fine, both grass plugin and grass tools
through processing are there and seem to work

But, the one with grass7 does not have grass plugin installed nor in the
available plugin list and, maybe because of that (?), grass tools
through processing do not work and when trying to use any of them it
opens a dialog box saying I need to configure grassgis7 folder... But
there's no GRASS item in Configuration --> Options (maybe just because
the grass plugin is not there), so I don't know where or if i even can
do that without the grass plugin... sorry for ignorant here :frowning:

AFAIK, GRASS access via Processing does not depend on the grass plugin. However, you need to activate GRASS 7 in Processing->Options->Service providers->Grass 7.

Moritz

2015-10-27 13:22 GMT-03:00 Moritz Lennert <mlennert@club.worldonline.be>:

AFAIK, GRASS access via Processing does not depend on the grass plugin.

However, you need to activate GRASS 7 in Processing->Options->Service
providers->Grass 7.

Yes! Thanks much, Moritz! Was searching in the wrong place (hihihi). This

solved the issue with using grass tools through Processing.

Still grass plugin missing.

Thanks so much!
Vero

Veronica,

···

Can you please install GRASS 7.0.1-1 instead of 7.0.2RC1-1?

To do so, go to OSGeo4W → Advanced Install → Desktop

You should have something like

7.0.2RC1-1 Skip … grass: GRAS GIS - stable release

Please, click in “Skip” and you should get 7.0.1-1. Click Next, install this version and then try again GRASS plugin in QGIS (search for GRASS 7 in Plugins → Manage and Install Plugins).

As Moritz said, Processing GRASS is independent from GRASS Plugin.

Yes! Thanks much, Moritz! Was searching in the wrong place (hihihi). This solved the issue with using grass tools through Processing.

Still grass plugin missing.

Thanks,

Pedro

Hi Pedro

Can you please install GRASS 7.0.1-1 instead of 7.0.2RC1-1?

To do so, go to OSGeo4W -> Advanced Install -> Desktop

You should have something like

7.0.2RC1-1 Skip ... grass: GRAS GIS - stable release

Please, click in "Skip" and you should get 7.0.1-1. Click Next, install
this version and then try again GRASS plugin in QGIS (search for GRASS 7 in
Plugins -> Manage and Install Plugins).

I did that, and got GRASS 7.0.1-1...
Same issue, grass plugin still missing in the list

As Moritz said, Processing GRASS is independent from GRASS Plugin.

Yes, this works fine with both 7.0.1-1 and 7.0.2RC1-1

Thanks to you
Vero