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

Stores with spaces in their name fail when connecting #151

Open
mpericay opened this issue Oct 17, 2014 · 0 comments
Open

Stores with spaces in their name fail when connecting #151

mpericay opened this issue Oct 17, 2014 · 0 comments

Comments

@mpericay
Copy link

Tried to make a GET request to http://maps.bgeo.es/geoserver/rest/workspaces/Tecnicsassociats/wmsstores/WMS - ICC/wmslayers.xml but got a 505 status code: Traceback (most recent call last): File "C:/Users/Marti/.qgis2/python/plugins\opengeo\gui\explorer.py", line 118, in run command(*params) File "C:/Users/Marti/.qgis2/python/plugins\opengeo\gui\gsexploreritems.py", line 502, in populate self.workspacesItem.populate() File "C:/Users/Marti/.qgis2/python/plugins\opengeo\gui\gsexploreritems.py", line 384, in populate workspaceItem.populate() File "C:/Users/Marti/.qgis2/python/plugins\opengeo\gui\gsexploreritems.py", line 1115, in populate storeItem.populate() File "C:/Users/Marti/.qgis2/python/plugins\opengeo\gui\gsexploreritems.py", line 1190, in populate resources = self.element.get_resources() File "build\bdist.win32\egg\geoserver\store.py", line 193, in get_resources xml = self.catalog.get_xml(res_url) File "build\bdist.win32\egg\geoserver\catalog.py", line 187, in get_xml raise FailedRequestError("Tried to make a GET request to %s but got a %d status code: \n%s" % (rest_url, response.status, content)) FailedRequestError: Tried to make a GET request to http://maps.bgeo.es/geoserver/rest/workspaces/Tecnicsassociats/wmsstores/WMS - ICC/wmslayers.xml but got a 505 status code:

When querying http://maps.bgeo.es/geoserver/rest/workspaces/Tecnicsassociats/wmsstores/WMS - ICC/wmslayers.xml I get "No such wms store: Tecnicsassociats,WMS%20-%20ICC"
If removing the WMS - ICC" spaces, it works correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant