Closed rful011 closed 10 years ago
This looks like it was fixed with: ff8a08c25551358d5c807b5f848d1ccb35fbc7e8
Yes. that was it.
I thought I posted this before but clearly I bungled it.
How do I install the plugin from git? I ended up patching by hand -- trivial for two line patch.
Installation from git outlined here: https://github.com/boundlessgeo/suite-qgis-plugin/blob/master/doc/source/developers.rst
Unfortunately, this is out of date now:
manual install
sectionThis assumes a fair amount of python knowledge and existing environment.
Let us know if you see something off.
Closing as a duplicate of #133
I'll keep that one open until a new plugin is released
1 down vote favorite I have a project in QGIS that I am trying to publish using GeoServer via the plugin.
When I try and publish a layer I get:
global name 'provider' is not defined Traceback (most recent call last): File "/Users/rful011/.qgis2/python/plugins/opengeo/gui/explorer.py", line 118, in run command(*params) File "/Users/rful011/.qgis2/python/plugins/opengeo/gui/confirm.py", line 18, in publishLayer catalog.publishLayer(layer, workspace, overwrite, name) File "/Users/rful011/.qgis2/python/plugins/opengeo/qgis/catalog.py", line 379, in publishLayer self.upload(layer, workspace, overwrite, title) File "/Users/rful011/.qgis2/python/plugins/opengeo/qgis/catalog.py", line 245, in upload self._publishExisting(layer, workspace, overwrite) File "/Users/rful011/.qgis2/python/plugins/opengeo/qgis/catalog.py", line 171, in _publishExisting uri = QgsDataSourceURI(provider.dataSourceUri()) NameError: global name 'provider' is not defined I have looked at the plugin code and can not find any references to ‘provider’ before the fateful reference that fails.
Any ideas what is wrong?