-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
sextante plugin doesn't load anymore from build tree #16227
Comments
Author Name: Alexander Bruy (@alexbruy) Works fine here with latest master. Maybe this was related to missed directory in CMakeLists file, I've just fixed this |
Author Name: Sandro Santilli (@strk) Yes, /usr/local/share/qgis/python/plugins does look like a system wide location. I guess it would be useful to have a switch to request NOT to use system-wide plugins. I see that as something possibly useful (to determine compatibility of non-core plugins) but also possibly harmful (to test/debug new installs). Note that as long as you have old stuff in the system directories you would also not detect errors in the install procedure, as things would still work thanks to stale files... |
Author Name: Alexander Bruy (@alexbruy) After removing SEXTANTE folder from /usr/local/share/qgis/python/plugins I still can load SEXTANTE when running QGIS from build dir. And I checked, there are no other SEXTANTE copies in home or system-wide directories. |
Author Name: Sandro Santilli (@strk) I found and removed ~/.qgis/python/plugins/sextante and rebuilt from scratch (wiping out the whole build directory) but still have the same problem. Can it be you've something left in your build tree ? |
Author Name: Sandro Santilli (@strk) Oops, reading the backtrace may be useful... It ends with: ImportError: No module named matplotlib.pyplot Do you know how to fix that ? |
Author Name: Giovanni Manghi (@gioman) Sandro Santilli wrote:
try install python-matplotlib ? |
Author Name: Alexander Bruy (@alexbruy) I think this algs should be disabled because this introduces additional dependency from 3rd party Python module |
Author Name: Sandro Santilli (@strk) python-matplotlib took me a step forward, but isn't enough: ImportError: No module named tools Could algs be disabled at runtime when deps aren't found ? Ideally a user would be informed about the problem and ways to fix it. |
Author Name: Sandro Santilli (@strk) Confirmed
|
Author Name: Rudi von Staden (@rudivs) I had a similar bug with ImportError: no module named tools. I updated, and now I'm getting "ImportError: No module named psycopg2". I'm reopening the bug assuming it's the same issue. @couldn't load plugin 'sextante' from ['/home/rudi/apps/qgis/share/qgis/python', '/home/rudi/.qgis//python', '/home/rudi/.qgis//python/plugins', '/home/rudi/apps/qgis/share/qgis/python/plugins', '/usr/local/lib/python2.7/dist-packages/rst2pdf-0.92-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/Pygments-1.5-py2.7.egg', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-couch', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol', '/home/rudi/apps/qgis/share/qgis/python/plugins/fTools/tools'] Traceback (most recent call last): Python version: QGIS version: Python path: ['/home/rudi/apps/qgis/share/qgis/python', '/home/rudi/.qgis//python', '/home/rudi/.qgis//python/plugins', '/home/rudi/apps/qgis/share/qgis/python/plugins', '/usr/local/lib/python2.7/dist-packages/rst2pdf-0.92-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/Pygments-1.5-py2.7.egg', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-couch', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol', '/home/rudi/apps/qgis/share/qgis/python/plugins/fTools/tools']@
|
Author Name: Rudi von Staden (@rudivs) After '@sudo apt-get install python-psycopg2@', QGIS loaded fine. Not sure whether it's an appropriate dependency so leaving open for now. |
Author Name: maning sambale (maning sambale) Proposed for closure. |
Author Name: Simon Dedman (@SimonDedman) Apologies if this is seen as thread-jacking; I have a similar problem which may be related: "File "C:\OSGeo4W\apps\mapfish_framework-1.0\site-packages\psycopg2\init.py", line 55, in Python version: 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)] I saw this: http://lethain.com/when-psycopg2-can-t-import-tz/ but I don't think it's exactly the same problem, despite being similar... p.s. I'm using OSGeo4W. |
Author Name: Sandro Santilli (@strk)
Original Redmine Issue: 7176
Affected QGIS version: master
Couldn't load plugin 'sextante' from ['/home/strk/.qgis//python/plugins/pyarchinit/modules/gui', '/home/strk/.qgis//python/plugins/pyarchinit/modules/gis', '/home/strk/.qgis//python/plugins/pyarchinit/modules/db', '/home/strk/.qgis//python/plugins/pyarchinit/modules/utility', '/home/strk/.qgis//python/plugins/pyarchinit', '/usr/src/qgis/Quantum-GIS/b/output/python', '/home/strk/.qgis//python', '/home/strk/.qgis//python/plugins', '/usr/src/qgis/Quantum-GIS/b/output/python/plugins', '/usr/local/lib/python2.7/dist-packages/pip-1.2.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/nik2img-0.8.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/GDAL-1.9.2-py2.7-linux-x86_64.egg', '/usr/lib/python2.7/dist-packages/PIL', '/home/src/cartodb/cartodb/cartodb20/src/python-varnish', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', '/usr/src/qgis/Quantum-GIS/b/output/python/plugins/fTools/tools']
It used to work. The output build tree is /usr/src/qgis/Quantum-GIS/b/output
The text was updated successfully, but these errors were encountered: