Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRASS plug-in support is broken in QGIS 1.9.90 #14835

Closed
qgib opened this issue Feb 22, 2012 · 3 comments
Closed

GRASS plug-in support is broken in QGIS 1.9.90 #14835

qgib opened this issue Feb 22, 2012 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority

Comments

@qgib
Copy link
Contributor

qgib commented Feb 22, 2012

Author Name: zirneklitis - (zirneklitis -)
Original Redmine Issue: 5068
Affected QGIS version: master


It looks like there is something wrong with the GRASS plug-ins for 1.9.90 :

@2012-02-22T14:15:53 Failed to load C:/OSGeo4W/apps/qgis-dev/plugins/grassplugin.dll (Reason: Cannot load library C:/OSGeo4W/apps/qgis-dev/plugins/grassplugin.dll: The specified module could not be found.) 0
2012-02-22T14:15:53 Failed to load C:/OSGeo4W/apps/qgis-dev/plugins/grassprovider.dll (Reason: Cannot load library C:/OSGeo4W/apps/qgis-dev/plugins/grassprovider.dll: The specified module could not be found.) 0
2012-02-22T14:15:53 Failed to load C:/OSGeo4W/apps/qgis-dev/plugins/grassrasterprovider.dll (Reason: Cannot load library C:/OSGeo4W/apps/qgis-dev/plugins/grassrasterprovider.dll: The specified module could not be found.) 0
@

At the same time:

@Directory of C:\OSGeo4W\apps\qgis-dev\plugins
..
2012.02.15. 10:07 1˙730˙560 grassplugin.dll
2012.02.11. 18:14 245˙760 grassprovider.dll
2012.02.11. 18:16 116˙736 grassrasterprovider.dll
..
@

The same error on Linux (built from source):

@2012-02-22T21:42:35 Failed to load /usr/local/lib/qgis/plugins/libgrassplugin.so (Reason: Cannot load library /usr/local/lib/qgis/plugins/libgrassplugin.so: (libgrassprovider.so: cannot open shared object file: No such file or directory)) 0
2012-02-22T21:42:35 Failed to load /usr/local/lib/qgis/plugins/libgrassprovider.so (Reason: Cannot load library /usr/local/lib/qgis/plugins/libgrassprovider.so: (libgrass_gis.so: cannot open shared object file: No such file or directory)) 0
2012-02-22T21:42:35 Failed to load /usr/local/lib/qgis/plugins/libgrassrasterprovider.so (Reason: Cannot load library /usr/local/lib/qgis/plugins/libgrassrasterprovider.so: (libgrass_gis.so: cannot open shared object file: No such file or directory)) 0
@

Here comes the directory listing:

@[~]$ ls /usr/local/lib/qgis/plugins/grass
/usr/local/lib/qgis/plugins/libgrassplugin.so
/usr/local/lib/qgis/plugins/libgrassprovider.so
/usr/local/lib/qgis/plugins/libgrassrasterprovider.so
@

@qgib
Copy link
Contributor Author

qgib commented Feb 22, 2012

Author Name: Jürgen Fischer (@jef-n)


Two independant problems:

  1. On Linux: Add your GRASS library path to LD_LIBRARY_PATH or /etc/ld.so.conf
  2. On Windows you've apparently hit: "OSGeo4W # 269":http://trac.osgeo.org/osgeo4w/ticket/269

  • resolution was changed from to invalid
  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Feb 22, 2012

Author Name: zirneklitis - (zirneklitis -)


On Linux that's it.
But I am not sure about Windows case. Just upon start-up qgis and qgis-dev has identical PATH variables exept '@C:\OSGeo4W\apps\qgis\bin;@' / '@C:\OSGeo4W\apps\qgis-dev\bin;@'. GRASS plugin work fine from 1.7.4. but was not able to start in 1.9.90.

+--------------------------------------------------------------+

PATH just befor calling
start "Quantum GIS" /B "%OSGEO4W_ROOT%"\apps\qgis-dev\bin\qgis.exe %*
(split in rows for clarity)

PATH=
C:\OSGeo4W\apps\grass\grass-6.4.2\bin;
C:\OSGeo4W\apps\grass\grass-6.4.2\lib;
C:\OSGeo4W\apps\msys\bin;
C:\OSGeo4W\bin;
C:\PRG\GTK\bin;
C:\WINDOWS\Commands;
C:\PRG\Perl\bin;
C:\WINDOWS\system32;
C:\WINDOWS;
C:\WINDOWS\System32\Wbem;
C:\Program Files\Intel\DMIX;
C:\PRG\R\bin;
C:\PRG\ggobi;
C:\PRG\BCC55\Bin;
C:\Program Files\Multivide\QuickTime\QTSystem\;
C:\OSGeo4W\apps\msys\bin;
C:\OSGeo4W\apps\qgis-dev\bin;
C:\OSGeo4W\apps\grass\grass-6.4.2\lib

+--------------------------------------------------------------+

PATH just befor calling
start "Quantum GIS" /B "%OSGEO4W_ROOT%"\apps\qgis\bin\qgis.exe %*
(split in rows for clarity)

PATH=
C:\OSGeo4W\apps\grass\grass-6.4.2\bin;
C:\OSGeo4W\apps\grass\grass-6.4.2\lib;
C:\OSGeo4W\apps\msys\bin;
C:\OSGeo4W\bin;
C:\PRG\GTK\bin;
C:\WINDOWS\Commands;
C:\PRG\Perl\bin;
C:\WINDOWS\system32;
C:\WINDOWS;
C:\WINDOWS\System32\Wbem;
C:\Program Files\Intel\DMIX;
C:\PRG\R\bin;
C:\PRG\ggobi;
C:\PRG\BCC55\Bin;
C:\Program Files\Multivide\QuickTime\QTSystem\;
C:\OSGeo4W\apps\msys\bin;
C:\OSGeo4W\apps\qgis\bin;
C:\OSGeo4W\apps\grass\grass-6.4.2\lib

@qgib
Copy link
Contributor Author

qgib commented Feb 22, 2012

Author Name: zirneklitis - (zirneklitis -)


The latest build has solved the isue – OSGeo4W Quantum GIS 1.9.90-72 works as expected :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority
Projects
None yet
Development

No branches or pull requests

1 participant