Opened 8 years ago

Closed 8 years ago

#52440 closed defect (fixed)

QGIS @2.16.2_0+postgresql95+qt4: add py27-requests dependency

Reported by: info@… Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: QGIS

Description

With fresh install, I'm getting the following error in the QGIS log panel at startup.

The error disappears when I install py27-requests manually.

2016-09-28T09:53:35	1	Traceback (most recent call last):
			  File "/Applications/MacPorts/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 333, in startPlugin
			    plugins[packageName] = package.classFactory(iface)
			  File "/Applications/MacPorts/QGIS.app/Contents/MacOS/../Resources/python/plugins/MetaSearch/__init__.py", line 29, in classFactory
			    from MetaSearch.plugin import MetaSearchPlugin
			  File "/Applications/MacPorts/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 607, in _import
			    mod = _builtin_import(name, globals, locals, fromlist, level)
			  File "/Applications/MacPorts/QGIS.app/Contents/MacOS/../Resources/python/plugins/MetaSearch/plugin.py", line 33, in <module>
			    from MetaSearch.dialogs.maindialog import MetaSearchDialog
			  File "/Applications/MacPorts/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 607, in _import
			    mod = _builtin_import(name, globals, locals, fromlist, level)
			  File "/Applications/MacPorts/QGIS.app/Contents/MacOS/../Resources/python/plugins/MetaSearch/dialogs/maindialog.py", line 43, in <module>
			    from owslib.csw import CatalogueServiceWeb
			  File "/Applications/MacPorts/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 607, in _import
			    mod = _builtin_import(name, globals, locals, fromlist, level)
			  File "/Applications/MacPorts/QGIS.app/Contents/MacOS/../Resources/python/owslib/csw.py", line 27, in <module>
			    from owslib.util import OrderedDict
			  File "/Applications/MacPorts/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 607, in _import
			    mod = _builtin_import(name, globals, locals, fromlist, level)
			  File "/Applications/MacPorts/QGIS.app/Contents/MacOS/../Resources/python/owslib/util.py", line 35, in <module>
			    import requests
			  File "/Applications/MacPorts/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 607, in _import
			    mod = _builtin_import(name, globals, locals, fromlist, level)
			ImportError: No module named requests

Attachments (1)

Portfile-qgis.diff (401 bytes) - added by info@… 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by info@…

Attachment: Portfile-qgis.diff added

comment:1 Changed 8 years ago by larryv (Lawrence Velázquez)

Cc: vince@… removed
Owner: changed from macports-tickets@… to vince@…
Version: 2.3.4

comment:2 Changed 8 years ago by Veence (Vincent)

Resolution: fixed
Status: newclosed

Thanks. Done in r153351.

Note: See TracTickets for help on using tickets.