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

importing point layer with svg style stopped to work #68

Closed
gioman opened this issue Mar 23, 2017 · 4 comments
Closed

importing point layer with svg style stopped to work #68

gioman opened this issue Mar 23, 2017 · 4 comments
Labels

Comments

@gioman
Copy link
Contributor

gioman commented Mar 23, 2017

or maybe we just missing something in the testing endpoint?

Error uploading SVG icon to GeoServer: 401 Client Error: Unauthorized for url: http://suite.boundless.test:8080/geoserver/rest/resource/styles/camera_-394321632825054421.svg 
Traceback (most recent call last):
  File "/home/giovanni/.qgis2/python/plugins/geoserverexplorer/gui/explorer.py", line 101, in run
    command(*params)
  File "/home/giovanni/.qgis2/python/plugins/geoserverexplorer/gui/confirm.py", line 20, in publishLayer
    catalog.publishLayer(layer, workspace, True, name)
  File "/home/giovanni/.qgis2/python/plugins/geoserverexplorer/qgis/catalog.py", line 503, in publishLayer
    sld = self.publishStyle(layer, overwrite, name) if style is None else None
  File "/home/giovanni/.qgis2/python/plugins/geoserverexplorer/qgis/catalog.py", line 171, in publishStyle
    self.uploadIcons(icons)
  File "/home/giovanni/.qgis2/python/plugins/geoserverexplorer/qgis/catalog.py", line 187, in uploadIcons
    raise Exception ("Error uploading SVG icon to GeoServer:\n" + str(e))
Exception: Error uploading SVG icon to GeoServer:
401 Client Error: Unauthorized for url: http://suite.boundless.test:8080/geoserver/rest/resource/styles/camera_-394321632825054421.svg
@volaya
Copy link
Contributor

volaya commented Apr 26, 2017

Does the endopoint support SVG upload?

Maybe the error is related to this? f4ea569

We were using a suite-only method for uploading svgs, but now we use standard geoserver endpoints. @gioman Can you confirm it also fails on a local standard instllation of a recent geoserver?

@gioman
Copy link
Contributor Author

gioman commented Apr 27, 2017

@volaya it works ok with plugin installed from dev repo and a stock geoserver 2.11 instance. Other than that such layers are always loaded as wfs from the geoserver explorer, so this > #55 still true.

@volaya
Copy link
Contributor

volaya commented Apr 28, 2017

mm, then i guess this issue can be closed?

@gioman
Copy link
Contributor Author

gioman commented Apr 28, 2017

@volaya Suite shipping Geoserver 2.11 is due soon, so I think it can be closed. A new version of the plugin should be made available at the same time or shortly after.

@gioman gioman closed this as completed Apr 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants